Container Privilege Escalation Vulnerability in AMQ Broker
CVE-2025-58712
Key Information:
- Vendor
Apache
- Vendor
- CVE Published:
- 22 October 2025
Key facts
CVE-2025-58712 is a medium severity (CVSS 6.4) vulnerability in Apache activemq-artemis and RHEL-9 based Middleware Containers. No exploitation in the wild or public proof-of-concept has been recorded so far. Its EPSS score is 0.2%, the estimated probability of exploitation in the next 30 days.
- Severity
- 6.4MEDIUM
- CVSS base score
- EPSS
- 0.2%
- Chance of exploitation in 30 days
- Exploited
- Not observed
- CISA KEV
- Not listed
- Proof of concept
- None public
- Ransomware
- Not observed
What is CVE-2025-58712?
A privilege escalation vulnerability exists in specific AMQ Broker images due to the creation of the /etc/passwd file with group-writable permissions during the build process. Under particular conditions, an attacker with command execution ability within an affected container, even as a non-root user, could exploit their group membership to manipulate the /etc/passwd file. This exploitation may facilitate the addition of a user with arbitrary UID, including UID 0, granting the attacker full root access within the container environment.
Affected Version(s)
activemq-artemis 0
RHEL-9 based Middleware Containers 7.13.2-1
RHEL-9 based Middleware Containers 7.13.2-1
References
More Apache Vulnerabilities
Other Apache vulnerabilities we have analysed in depth, newest first.
Key Exchange Vulnerability in Apache Tomcat Products by Apache
Improper Exception Management in Apache Tomcat Affects Multiple Versions
Deserialization Vulnerability in Apache Roller Affects Multiple Versions
Improper Synchronization Vulnerability in Apache HTTP Server's mod_http2
Deserialization Vulnerability in Apache Axis 1.x Allows Remote Code Execution
Path Traversal Vulnerability in Apache Juneau
Remote Code Execution Vulnerability in Apache MINA Codec Module
SQL Injection Vulnerability in Apache Fineract Affecting Specific API Endpoint
CVSS V3.1
Timeline
Vulnerability published
Vulnerability Reserved