# CVE-2025-58713: Rhpam: privilege escalation via excessive /etc/passwd permissions

- Priority: **Routine**
- Reason: Not severe (CVSS 6.4, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-04-08 · Modified: 2026-11-05
- Record: https://cvemate.com/vulnerability/CVE-2025-58713 · JSON: https://cvemate.com/vulnerability/CVE-2025-58713/json

## Description

```text
A container privilege escalation flaw was found in certain Red Hat Process Automation Manager images. This issue stems from the /etc/passwd file being created with group-writable permissions during build time. In certain conditions, an attacker who can execute commands within an affected container, even as a non-root user, can leverage their membership in the root group to modify the /etc/passwd file. This could allow the attacker to add a new user with any arbitrary UID, including UID 0, leading to full root privileges within the container.
```

## Signals

- CVSS: 6.4 medium (v3.1, CVE.org) CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.164%, percentile 5.775%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- redhat process\_automation\_manager: 7.0

## References

- <https://access.redhat.com/security/cve/CVE-2025-58713>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2394419>

---

Data as of 2026-12-05T04:17:50.259Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
