CVE-2025-58712
MEDIUM 6.4CVSS 3.1A container privilege escalation flaw was found in certain AMQ Broker 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.
- Published
- 22 Oct 2025
- Last modified
- 18 Oct 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Deferred
- Weakness
- CWE-276
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | secalert@redhat.com (Secondary) | CVSS 3.1 | MEDIUM 6.4 | CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H |
References
- https://access.redhat.com/errata/RHSA-2025:17562
- https://access.redhat.com/security/cve/CVE-2025-58712
- https://bugzilla.redhat.com/show_bug.cgi?id=2394418
History
- 25 Nov 2026 20:59 UTC ยท NVD: first stored (published 22 Oct 2025)