{"cve":"CVE-2025-7195","nvd":{"published":"2025-08-07T19:15:29.367","modified":"2026-09-21T18:17:06.530","status":"Deferred","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. \n\nIn 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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H","score":6.4},"cwes":["CWE-276"],"references":["https://access.redhat.com/errata/RHEA-2025:23406","https://access.redhat.com/errata/RHEA-2025:23478","https://access.redhat.com/errata/RHEA-2026:0129","https://access.redhat.com/errata/RHSA-2025:19332","https://access.redhat.com/errata/RHSA-2025:19335"],"products":[],"source":"nvd","synced_at":"2026-10-19T22:06:45.861874017+00:00"},"epss":{"cve":"CVE-2025-7195","score":0.00243,"percentile":0.15555,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-856v-8qm2-9wjv","url":"https://osv.dev/vulnerability/GHSA-856v-8qm2-9wjv","summary":"operator-sdk: privilege escalation due to incorrect permissions of /etc/passwd","modified":"2026-03-24T15:47:03.928520Z","packages":[{"ecosystem":"Go","name":"github.com/operator-framework/operator-sdk","purl":"pkg:golang/github.com/operator-framework/operator-sdk","ranges":["<0.15.2"],"fixed":["0.15.2"]}]},{"id":"GO-2025-3852","url":"https://osv.dev/vulnerability/GO-2025-3852","summary":"operator-sdk: privilege escalation due to incorrect permissions of /etc/passwd in github.com/operator-framework/operator-sdk","modified":"2026-03-03T04:57:25.078744Z","packages":[{"ecosystem":"Go","name":"github.com/operator-framework/operator-sdk","purl":"pkg:golang/github.com/operator-framework/operator-sdk","ranges":["<0.15.2"],"fixed":["0.15.2"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}