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
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.
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.
Vendors (2)
Products (29)
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 6.4 | CVSS 3.1 | MEDIUM | n/a | n/a | cvelistV5 |
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
- access.redhat.com/errata/RHEA-2025:23406
vendor-advisory, x_refsource_REDHAT
- access.redhat.com/errata/RHEA-2025:23478
vendor-advisory, x_refsource_REDHAT
- access.redhat.com/errata/RHEA-2026:0129
vendor-advisory, x_refsource_REDHAT
- access.redhat.com/errata/RHSA-2025:19332
vendor-advisory, x_refsource_REDHAT
- access.redhat.com/errata/RHSA-2025:19335
vendor-advisory, x_refsource_REDHAT
- access.redhat.com/errata/RHSA-2025:19958
vendor-advisory, x_refsource_REDHAT
- access.redhat.com/errata/RHSA-2025:19961
vendor-advisory, x_refsource_REDHAT
- access.redhat.com/errata/RHSA-2025:21368
vendor-advisory, x_refsource_REDHAT
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2026-140094 Openshift-apiserver: openshift: unauthorized templateinstance spec.requester.groups privilege escalationCVSS 9.9
- CVE-2026-71471 Acm-search-v2-rhel9: search-v2-operator: hub search cr collector.imageoverride propagated to every spoke as arbitrary container imageCVSS 9.0
- CVE-2026-93834 Qemu-kvm: 9pfs: use-after-free race in tlcreate/twalk allows vm guest escapeCVSS 8.8
- CVE-2026-13622 Kubevirt: virt-handler-rhel9: kubevirt: virt-handler migration proxy follows symlinks allowing container escape to hostCVSS 8.8
- CVE-2026-136125 Cluster-ingress-operator: operator clusterrole grants wildcard verbs on secrets, serviceaccounts, namespaces and rbac cluster-wideCVSS 8.7
- CVE-2026-66784 Submariner: submariner: shared cluster-set ipsec psk with self-asserted ike identities enables cross-cluster traffic interceptionCVSS 8.7
Elsewhere on this site
- Operator Frameworkevery CVE for this vendor
- Red Hatevery CVE for this vendor
- CWE-276other pages naming this weakness
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.