CVE-2025-7195 in Containers products
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.1...
Affects 0 products from 4 vendors. Facts below cite their sources.
Requires local access, high complexity, high privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Containers | — | — |
| Full | — | — |
| Passwd | — | — |
| Script | — | — |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
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 privileges within the container.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2025-7195 |
|---|---|
| BreachSpider ID | BS-2025-GLOBAL-252004-M |
| CVSS vector | CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H |
| Published | 2025-08-07 |
| Last modified | 2026-09-21 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-276: Incorrect Default Permissions
Software sets overly permissive default access rights during installation or resource creation.
Related attack patterns (CAPEC)
CAPEC-81 Web Server Logs Tampering via CWE-276
CAPEC-127 Directory Indexing via CWE-276
CAPEC-1 Accessing Functionality Not Properly Constrained by ACLs via CWE-276
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
CVE-2025-7195 affects early versions of Operator-SDK, where the user_setup script modifies the permissions of the /etc/passwd file to 664, potentially allowing unauthorized access or modification.
An attacker with access to the build environment could exploit this vulnerability to modify the /etc/passwd file, leading to unauthorized access or privilege escalation.
Questions
What is CVE-2025-7195?
CVE-2025-7195 affects early versions of Operator-SDK, where the user_setup script modifies the permissions of the /etc/passwd file to 664, potentially allowing unauthorized access or modification.
What is the CVSS score for CVE-2025-7195?
CVE-2025-7195 has CVSS 6.4 (Medium). Vector: CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H. EPSS: 0.3%.
Is CVE-2025-7195 actively exploited?
No confirmed active exploitation of CVE-2025-7195 as of 2026-09-25.
How do I remediate CVE-2025-7195?
Priority: HIGH.
What systems are affected by CVE-2025-7195?
CVE-2025-7195 affects Containers; Full; Passwd; Script.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Containers","product":"EDS-518A","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-09-21.