Skip to main content
CVE Radar
MEDIUM

CVE-2025-7195

CVE-2025-7195 — Operator-sdk: privilege escalation due to incorrect permissions of /etc/passwd

Early versions of Operator-SDK provided an insecure method to allow operator containers to run in environments that used a random UID. Operator-SDK before 0.15.2 provided a script, user_setup, which modifies the permissions of the /etc/passwd file to 664 during build time. Developers who used Operator-SDK before 0.15.2 to scaffold their operator may still be impacted by this if the insecure user_setup script is still being used to build new container images. In affected images, the /etc/passwd file is created during build time with group-writable permissions and a group ownership of root (gid=0). 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…

Published Updated Sources: cvelistV5, redhat

Triage

Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.

Exploitation

Unreported

no source claims exploitation

EPSS

<1%

chance of exploitation in 30 days

Affects

Operator Framework

29 products listed

CVSS base

6.4

MEDIUM

CISA SSVC assessment

Three decision points CISA publishes for the CVEs it assesses · SSVC 2.0.3. A stakeholder decision, not a severity score.

CISA

Exploitation

None

none · proof-of-concept · active

Automatable

No

can an attacker script all four kill-chain steps

Technical impact

Partial

partial · total control of the vulnerable component

Affected scope

The catalog records vendors and products as separate lists, not pairs, so which product belongs to which vendor is not something this page can say.

Products (29)

operator sdkrhel 9 cnv 4 17rhel 9 cnv 4 18rhel 9 cnv 4 20multicluster engine for kubernetes 2 6multicluster engine for kubernetes 2 7multicluster engine for kubernetes 2 8multicluster engine for kubernetes 2 9openshift compliance operator 1openshift file integrity operator fio 1red hat advanced cluster management for kubernetes 2 11red hat advanced cluster management for kubernetes 2 12red hat advanced cluster management for kubernetes 2 13red hat advanced cluster management for kubernetes 2 14red hat openshift data foundation 4 14red hat openshift data foundation 4 15red hat openshift data foundation 4 16red hat openshift data foundation 4 17red hat openshift data foundation 4 18multicluster engine for kubernetesmulticluster global hubred hat advanced cluster management for kubernetes 2red hat advanced cluster security 4red hat build of apicurio registry 2red hat build of apicurio registry 3red hat fuse 7red hat openshift container platform 4red hat openshift virtualization 4red hat web terminal

Every base score collected

Sources score independently and disagree; each row says who scored it and under which version.

Every CVSS base score collected, by source and version
ScoreVersionSeverityExpl.ImpactSource
6.4CVSS 3.1MEDIUMn/an/acvelistV5

Weakness & attack patterns

  • CWE-276

Attack patterns reported against this CVE. The ATT&CK techniques below are inferred from its weakness class.

  • T1574.010Hijack Execution Flow: ServicesFile Permissions Weakness
  • T1083File and Directory Discovery

Detection

Read off the CVSS vector and the weakness class. Starting points, not rules we have tested.

  • Search application, proxy, and WAF logs for requests touching /etc/passwd.

References

25 on the record

Related CVEs

Same product first, then the same weakness or threat actor.

Elsewhere on this site

Not in any source we poll

Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.

  • No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
  • No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
  • No exploit packet captures, log samples, or incident case IDs supplied.