Container Privilege Escalation Vulnerability in AMQ Broker
CVE-2025-58712

6.4MEDIUM

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

Other Apache vulnerabilities we have analysed in depth, newest first.

Key Exchange Vulnerability in Apache Tomcat Products by Apache

CVE-2026-133325
ApacheApache Tomcat😄👾9.8CRITICAL

Improper Exception Management in Apache Tomcat Affects Multiple Versions

CVE-2026-116561
ApacheApache Tomcat😄9.1CRITICAL

Deserialization Vulnerability in Apache Roller Affects Multiple Versions

CVE-2026-129448
ApacheApache Roller😄👾9.8CRITICAL

Improper Synchronization Vulnerability in Apache HTTP Server's mod_http2

CVE-2026-119618
ApacheApache Http Server😄👾8.1HIGH

Deserialization Vulnerability in Apache Axis 1.x Allows Remote Code Execution

CVE-2026-90436
ApacheApache Axis 1.x (eol)👾9.8CRITICAL

Path Traversal Vulnerability in Apache Juneau

CVE-2026-121489
ApacheApache Juneau10CRITICAL

Remote Code Execution Vulnerability in Apache MINA Codec Module

CVE-2026-118636
ApacheApache Mina9.8CRITICAL

SQL Injection Vulnerability in Apache Fineract Affecting Specific API Endpoint

CVE-2026-64618
ApacheApache Fineract😄9.8CRITICAL

CVSS V3.1

Score:
6.4
Severity:
MEDIUM
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Local
Attack Complexity:
High
Privileges Required:
High
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

Red Hat would like to thank Antony Di Scala and Mike Whale for reporting this issue.
.