Home / apache / activemq-artemis / CVE-2025-58712
CVE-2025-58712: is it exploited, and which versions of apache activemq-artemis are affected and fixed?
CVE-2025-58712 is an insecure default permissions vulnerability in apache activemq-artemis. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 13:38 UTC). Affected: Red Hat AMQ Broker 7 all versions (the record names no range) (CVE record by redhat). Fixed in 7.13.2-1 (CVE record by redhat). Severity: Medium (6.4, CVSS 3.1, from redhat).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 13:38 UTC, CVE record November 28, 2026, 17:35 UTC and NVD November 19, 2026, 07:16 UTC.
What is CVE-2025-58712?
Amq: privilege escalation via excessive /etc/passwd permissions
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.
From the CVE record by redhat, last updated March 6, 2026, 23:45 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| apache | activemq-artemis | not stated | |
| Red Hat | RHEL-9 based Middleware Containers amq7/amq-broker-init-rhel9 | all versions (default) | 7.13.2-1 |
| Red Hat | RHEL-9 based Middleware Containers amq7/amq-broker-rhel9 | all versions (default) | 7.13.2-1 |
| Red Hat | RHEL-9 based Middleware Containers amq7/amq-broker-rhel9-operator | all versions (default) | 7.13.2-1 |
| Red Hat | RHEL-9 based Middleware Containers amq7/amq-broker-rhel9-operator-bundle | all versions (default) | 7.13.2-1 |
| Red Hat | RHEL-9 based Middleware Containers amq7-tech-preview/amq-broker-console-plugin-rhel9 | all versions (default) | 7.13.2-1 |
| Red Hat | RHEL-9 based Middleware Containers amq7-tech-preview/amq-broker-jolokia-api-server-rhel9 | all versions (default) | 7.13.2-1 |
| Red Hat | Red Hat AMQ Broker 7 amq-broker-init-rhel8 | all versions (the record names no range) | |
| Red Hat | Red Hat AMQ Broker 7 amq-broker-init-rhel9 | all versions (the record names no range) | |
| Red Hat | Red Hat AMQ Broker 7 amq-broker-rhel8 | all versions (the record names no range) | |
| Red Hat | Red Hat AMQ Broker 7 amq-broker-rhel9 | all versions (the record names no range) |
As the CVE record by redhat states it, last updated March 6, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
How severe is CVE-2025-58712?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.4 | CVSS 3.1 | CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H | redhat |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2025-58712 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: total (CISA ADP, October 22, 2025)
- EPSS
- 0.20% probability of exploitation activity in the next 30 days, percentile 10.9 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-276 Incorrect Default Permissions
Where are the vendor advisories and references?
- RHSA-2025:17562 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2025-58712 vdb-entry, x_refsource_REDHAT
- RHBZ#2394418 issue-tracking, x_refsource_REDHAT
Who found and reported it?
- Red Hat would like to thank Antony Di Scala and Mike Whale for reporting this issue. (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- September 3, 2025
- Published
- October 22, 2025, 18:19 UTC
- CVE record updated
- March 6, 2026, 23:45 UTC by redhat
- NVD
- Deferred, last modified October 18, 2026, 21:10 UTC
- Last checked
- CVE list November 28, 2026, 17:35 UTC; NVD November 19, 2026, 07:16 UTC; KEV December 3, 2026, 13:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
Questions about CVE-2025-58712
Is CVE-2025-58712 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 13:38 UTC. FIRST's EPSS gives it a 0.20% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of apache activemq-artemis are affected by CVE-2025-58712?
Red Hat AMQ Broker 7 all versions (the record names no range), per the CVE record by redhat. The tables above give every range the sources list.
Which version fixes CVE-2025-58712?
7.13.2-1, per the CVE record by redhat. Check the vendor's advisory before you rely on it.
How severe is CVE-2025-58712?
Medium (6.4, CVSS 3.1, from redhat). The severity table above shows each score with its source.
Where is the official record of CVE-2025-58712?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.