CVE-2025-57854

Osus-operator: privilege escalation via excessive /etc/passwd permissions

Published Apr 8, 2026 CVSS 3.1 · 6.4 Medium EPSS < 1% KEV · Not listed
Description
A container privilege escalation flaw was found in certain OpenShift Update Service (OSUS) 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, may be able to 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

The flaw allows a non‑root user that can execute commands in an affected OpenShift Update Service image to exploit a group‑writable /etc/passwd file. By modifying this file the attacker can create a user with UID 0 and gain full root privileges inside the container, compromising confidentiality, integrity, and availability of the workloads running in that container. This vulnerability is a classic permission‑to‑grant escalation described by CWE‑276.

Affected Systems

The issue affects Red Hat OpenShift Update Service version 5, as identified by the vendor. Containers built from this image are vulnerable unless the /etc/passwd file is secured. No additional vendor or product variations are listed.

Risk and Exploitability

The CVSS score of 6.4 indicates medium severity, and the lack of an EPSS score suggests there is no current widespread exploitation data. The flaw requires that the attacker already has the ability to run commands inside the container, which is a non‑remote scenario. However, once inside, the attacker can elevate to root, making the impact severe for the affected namespace. Since the vulnerability is not listed in the CISA KEV catalog, it is likely not actively exploited yet, but the potential for full container compromise warrants prompt attention.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest Red Hat OpenShift Update Service patch that removes group write permissions from /etc/passwd.
  • Verify that new container images no longer ship /etc/passwd with group‑write permissions.
  • Re‑launched any existing containers with the patched image to eliminate the vulnerability.
  • If a patch is not yet available, limit container users to the non‑root group and remove root group membership to mitigate the escalation risk.

Generated by OpenCVE AI on April 8, 2026 at 15:21 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:openshift_update_service:-:*:*:*:*:*:*:*
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 OpenShift Update Service (OSUS) 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, may be able to 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 Osus-operator: privilege escalation via excessive /etc/passwd permissions
First Time appeared Redhat
Redhat openshift Update Service
Weaknesses CWE-276
CPEs cpe:/a:redhat:openshift_update_service:5
Vendors & Products Redhat
Redhat openshift Update Service
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
Apr 8, 2026, 2:42 PM
Reserved
Aug 21, 2025, 2:40 PM
Status
Analyzed
Published
Apr 8, 2026, 2:16 PM
Modified
Jul 24, 2026, 8:10 PM
Severity
Moderate
Public date
Apr 8, 2026, 1:45 PM