CVE-2025-57852CWE-276

Openshift-ai: privilege escalation via excessive /etc/passwd permissions

Medium · published September 30, 2025

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

A container privilege escalation flaw was found in KServe ModelMesh container 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.00157 · 4.4th percentile
Weakness
CWE-276 · Incorrect Default Permissions
Published
2025-09-30T14:37Z
EPSS history
Timeline
  • 30 SEP 14:37Z
    Openshift-ai: privilege escalation via excessive /etc/passwd permissions
    cvelistv5