Read the docs
TI-2025-36372 Aliases CVE-2025-58712GHSA-r36m-fwrr-9f4g

Amq: privilege escalation via excessive /etc/passwd permissions

Priority LOW 30CWE-276Published · Updated

Key facts

Attack vector
Local
Privileges required
High
User interaction
None
Attack complexity
High
Impact type
—
Confidentiality · integrity · availability
High · High · High
Fix status
Partial Red Hat: 1 fixed, 1 without a fix

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and Red Hat.

Summary

A 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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00205 10th percentileScored 2026-11-07
Fix Partial Red Hat: 1 advisoryRed Hat: 1 fixed, 1 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
Red HatRHEL-9 based Middleware Containers—7.13.2-1Patch availableCNA
Red HatRHEL-9 based Middleware Containers—7.13.2-1Patch availableCNA
Red HatRHEL-9 based Middleware Containers—7.13.2-1Patch availableCNA
Red HatRHEL-9 based Middleware Containers—7.13.2-1Patch availableCNA
Red HatRHEL-9 based Middleware Containers—7.13.2-1Patch availableCNA
Red HatRHEL-9 based Middleware Containers—7.13.2-1Patch availableCNA
Red HatRed Hat AMQ Broker 7——No fix listedCNA
Red HatRed Hat AMQ Broker 7——No fix listedCNA
Red HatRed Hat AMQ Broker 7——No fix listedCNA
Red HatRed Hat AMQ Broker 7——No fix listedCNA
  • RHEL-9 based Middleware Containers VendorRed Hat Affected — Fixed in 7.13.2-1 Patch available CNA
  • RHEL-9 based Middleware Containers VendorRed Hat Affected — Fixed in 7.13.2-1 Patch available CNA
  • RHEL-9 based Middleware Containers VendorRed Hat Affected — Fixed in 7.13.2-1 Patch available CNA
  • RHEL-9 based Middleware Containers VendorRed Hat Affected — Fixed in 7.13.2-1 Patch available CNA
  • RHEL-9 based Middleware Containers VendorRed Hat Affected — Fixed in 7.13.2-1 Patch available CNA
  • RHEL-9 based Middleware Containers VendorRed Hat Affected — Fixed in 7.13.2-1 Patch available CNA
  • Red Hat AMQ Broker 7 VendorRed Hat Affected — Fixed in — No fix listed CNA
  • Red Hat AMQ Broker 7 VendorRed Hat Affected — Fixed in — No fix listed CNA
  • Red Hat AMQ Broker 7 VendorRed Hat Affected — Fixed in — No fix listed CNA
  • Red Hat AMQ Broker 7 VendorRed Hat Affected — Fixed in — No fix listed CNA

CPE names CNA · 2

CPEVersionsRoleVendor
cpe:/a:redhat:rhosemc:1.0::el91.0—Red Hat
cpe:/a:redhat:amq_broker:77—Red Hat
  • cpe:/a:redhat:rhosemc:1.0::el9 Versions 1.0 — ·Red Hat
  • cpe:/a:redhat:amq_broker:7 Versions 7 — ·Red Hat

Remediation

Red Hat 1 advisory

  • RHSA-2025:17562 Released 2025-10-08 · Red Hat rating Moderate
    AMQ Broker 7.13.2.OPR.1.GA Container Images release and security update
    • Middleware Containers for Openshift amq7-tech-preview/amq-broker-console-plugin-rhel9, amq7-tech-preview/amq-broker-jolokia-api-server-rhel9, amq7/amq-broker-init-rhel9 +3

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat AMQ Broker 7AffectedNo fix yet
Middleware Containers for OpenshiftFixed RHSA-2025:17562

Timeline

  1. 2026-10-02 Threatist record created from CVE-2025-58712
  2. 2026-10-03 Alias added: GHSA-r36m-fwrr-9f4g

References

  • TI-2025-18529 Apache Tomcat: Potential RCE and/or information disclosure and/or information corruption with partial PUT KEVCVSS 3.1CRITICAL 10.0
  • TI-2024-30292 Apache OFBiz: Confused controller-view authorization logic (forced browsing) KEVCVSS 3.1CRITICAL 9.8
  • TI-2024-26062 Apache OFBiz: Unauthenticated endpoint could allow execution of screen rendering code KEVCVSS 3.1CRITICAL 9.8
  • TI-2024-21190 Apache OFBiz: Path traversal leading to RCE KEVCVSS 3.1CRITICAL 9.8
  • TI-2024-18186 Apache HugeGraph-Server: Command execution in gremlin KEVCVSS 3.1CRITICAL 9.8
  • TI-2023-25106 Deserialization of untrusted data in Apache ActiveMQ KEVCVSS 3.1CRITICAL 10.0
See all 4053 →

Sources