CVE-2025-58712

Medium

Description

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.

SeverityMedium
CVSS6.4
Exploit probability—
ProductRhosemc 1.0
PublishedOct 22, 2025
First seenOct 22, 2025
Weakness typeCWE-276CWE-276

How to fix

Affected products

ProductAffected versionsFixed in
rhosemc 1.0No range specified—
Red Hat Red Hat AMQ Broker 7No range specified—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.