CVE-2025-57849

Fuse: privilege escalation via excessive /etc/passwd permissions

Published Mar 13, 2026 CVSS 3.1 · 6.4 Medium EPSS < 1% KEV · Not listed
Description
A container privilege escalation flaw was found in certain Fuse 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.

Analysis

AI-generated

Technical impact

A container privilege escalation flaw exists in certain Red Hat Fuse 7 images. The build process creates /etc/passwd with group-writable permissions (CWE-276). As a result, a non-root user who can execute commands inside the container and belongs to the root group can modify /etc/passwd. By creating a new entry with an arbitrary UID, the attacker can add a UID 0 account and thereby gain full root privileges within the container, compromising confidentiality, integrity, and availability.

Affected Systems

The vulnerability affects Red Hat Fuse 7 container images, identified by the CPE cpe:/a:redhat:jboss_fuse:7. No specific version numbers were supplied, so any Fuse 7 image built from the indicated sources is potentially vulnerable. Red Hat publishes advisories at https://access.redhat.com/security/cve/CVE-2025-57849.

Risk and Exploitability

The CVSS base score is 6.4, indicating moderate risk. The EPSS score is reported as less than 1%, signifying low exploitation probability. The vulnerability is not listed in CISA’s KEV catalog. Exploitation requires an attacker who can execute code inside the container and is a member of the root group; the likely attack vector is local container privilege escalation. Once the attacker creates a UID 0 entry, they can run arbitrary commands with root privileges within the container, potentially affecting the host if privileged containers or breakout is feasible.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update affected Red Hat Fuse 7 images to a patched version where /etc/passwd is created with non-group-writable permissions.
  • Verify that new or restored images do not set group-writable permissions on /etc/passwd.
  • Restrict membership in the root group within containers or the host to trusted users only.
  • Monitor container runtimes for the creation of new UID 0 accounts and for changes to root group membership.
  • Consider using image signing and integrity checks to prevent deployment of untrusted or modified images.

Generated by OpenCVE AI on March 19, 2026 at 14:43 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
CPEs cpe:2.3:a:redhat:fuse:7.0.0:*:*:*:*:*:*:*
Type Values Removed Values Added
First Time appeared Redhat fuse
Vendors & Products Redhat fuse
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description A container privilege escalation flaw was found in certain Fuse 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.
Title Fuse: privilege escalation via excessive /etc/passwd permissions
First Time appeared Redhat
Redhat jboss Fuse
Weaknesses CWE-276
CPEs cpe:/a:redhat:jboss_fuse:7
Vendors & Products Redhat
Redhat jboss Fuse
References
Metrics cvssV3_1

{'score': 6.4, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H'}

Weaknesses
  • CWE-276

    Incorrect Default Permissions

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Mar 13, 2026, 2:13 PM
Reserved
Aug 21, 2025, 2:40 PM
Status
Analyzed
Published
Mar 13, 2026, 7:53 PM
Modified
Jun 17, 2026, 9:43 AM
Severity
Moderate
Public date
Mar 13, 2026, 2:52 AM