CVE-2025-58712CWE-276

CVE-2025-58712

Medium · published October 22, 2025

CVSS v3.1
6.4
EPSS
0%
Percentile
9.9
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
6.4 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00205 · 9.9th percentile
Weakness
CWE-276 · Incorrect Default Permissions
Published
2025-10-22T23:15Z
References (3)
EPSS history
Timeline
  • 22 OCT 18:19Z
    Amq: privilege escalation via excessive /etc/passwd permissions
    cvelistv5