{"id":"CVE-2025-58713","aliases":["CVE-2025-58713"],"related":[],"kind":"vulnerability","state":"published","title":"Rhpam: privilege escalation via excessive /etc/passwd permissions","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"Se encontró una falla de escalada de privilegios en un contenedor en ciertas imágenes de Red Hat Process Automation Manager. Este problema se origina en que el archivo /etc/p4ssd se crea con permisos de escritura para el grupo durante la fase de construcción. En ciertas condiciones, un atacante que puede ejecutar comandos dentro de un contenedor afectado, incluso como un usuario no-root, puede aprovechar su pertenencia al grupo root para modificar el archivo /etc/p4ssd. Esto podría permitir al atacante añadir un nuevo usuario con cualquier UID arbitrario, incluyendo el UID 0, resultando en privilegios de root completos dentro del contenedor.","source":"nvd"}],"published":"2026-04-08T13:55:11.428Z","modified":"2026-11-05T17:17:14.883Z","severity":{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H","score":6.4,"rating":"MEDIUM"},"severities":[{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H","score":6.4,"rating":"MEDIUM"}],"cwes":["CWE-276"],"affected":[{"ranges":[],"vendor":"Red Hat","product":"Red Hat Process Automation 7","package":"rhpam-businesscentral-monitoring-rhel8","cpe":"cpe:/a:redhat:jboss_bpms:7","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Process Automation 7","package":"rhpam-businesscentral-rhel8","cpe":"cpe:/a:redhat:jboss_bpms:7","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Process Automation 7","package":"rhpam-controller-rhel8","cpe":"cpe:/a:redhat:jboss_bpms:7","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Process Automation 7","package":"rhpam-dashbuilder-rhel8","cpe":"cpe:/a:redhat:jboss_bpms:7","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Process Automation 7","package":"rhpam-kieserver-rhel8","cpe":"cpe:/a:redhat:jboss_bpms:7","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Process Automation 7","package":"rhpam-process-migration-rhel8","cpe":"cpe:/a:redhat:jboss_bpms:7","source":"cvelist"},{"ranges":[{"status":"affected","version":"7.0"}],"vendor":"redhat","product":"process_automation_manager","cpe":"cpe:2.3:a:redhat:process_automation_manager:7.0:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://access.redhat.com/security/cve/CVE-2025-58713","tags":["vdb-entry","vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2394419","tags":["issue-tracking","vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]}],"credits":["Red Hat would like to thank Antony Di Scala and Michael Whale for reporting this issue."],"assigner":"redhat","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-04-08T14:28:06.782Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-58713","url":"https://www.cve.org/CVERecord?id=CVE-2025-58713","licence":"CVE Terms of Use","modified":"2026-11-05T16:33:29.612Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-58713","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-58713","licence":"Public domain","modified":"2026-11-05T17:17:14.883Z"}],"updatedAt":"2026-11-25T22:59:12.049Z","epss":{"score":0.00154,"percentile":0.04806,"date":"2026-12-01T12:00:22.000Z"}}