Operator-sdk: privilege escalation due to incorrect permissions of /etc/passwd
cve-program · CVE-2025-7195
PublishedEarly 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.
Read the publisher's advisoryeuvd · EUVD-2025-23951
PublishedEarly 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.
Read the publisher's advisorynvd · CVE-2025-7195
PublishedEarly 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.
Read the publisher's advisoryosv · GHSA-856v-8qm2-9wjv
PublishedEarly 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 was 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.
Read the publisher's advisoryosv · GO-2025-3852
Publishedoperator-sdk: privilege escalation due to incorrect permissions of /etc/passwd in github.com/operator-framework/operator-sdk
Read the publisher's advisoryAffected versions, risk and source history
Exploitation and risk
Source statusCISA KEV lists vulnerabilities known to be exploited. FIRST EPSS estimates the likelihood of exploitation in the next 30 days. An unavailable score does not mean zero risk.
Which CVEs have scores here?
This view includes predictions for CVE identifiers explicitly listed in public NuGet advisories. Microsoft release pages have their own prediction coverage. Check source status for the scope and latest checks.
No exploitation or prediction data is available here for these CVEs. This does not mean they are safe or unlikely to be exploited.
cve-program · CVE-2025-7195
PublishedOperator-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 privileges within the container.
- Source published
- 7 Aug 2025 19:05:08 UTC
- Source modified
- 21 Sep 2026 17:17:42 UTC
- Saved here
- 23 Oct 2026 15:48:27 UTC
- Source terms
- CVE Program Terms of Use
Original source record · Cite this exact observation · Complete original publisher JSON
Source: cve-program · CVE Program Terms of Use. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.
CVSS 3.1 · 6.4 CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
euvd · EUVD-2025-23951
PublishedEarly 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/pass…
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.
Additional publisher context
EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON.
Original publisher date fields
datePublished: Aug 7, 2025, 7:05:08 PM
dateUpdated: Sep 21, 2026, 5:17:42 PM
27 related source bulletins · separate from aliases
RHEA-2025:23406: Red Hat Enhancement Advisory: OpenShift Virtualization 4.20.3 Images
CVE-2025-7195
RHSA-2025:22416: Red Hat Security Advisory: Red Hat OpenShift Data Foundation 4.16 security, enhancement & bug fix update
CVE-2022-0155 · CVE-2022-0536 · CVE-2025-5889 · CVE-2025-7195
RHSA-2025:19958: Red Hat Security Advisory: multicluster engine for Kubernetes v2.7.7 security update
CVE-2025-7195
RHSA-2025:22415: Red Hat Security Advisory: Red Hat OpenShift Data Foundation 4.17 security, enhancement & bug fix update
CVE-2022-0155 · CVE-2022-0536 · CVE-2025-5889 · CVE-2025-7195
RHSA-2025:22420: Red Hat Security Advisory: Red Hat OpenShift Data Foundation 4.14 security, enhancement & bug fix update
CVE-2022-0155 · CVE-2022-0536 · CVE-2025-5889 · CVE-2025-7195
RHSA-2025:23528: Red Hat Security Advisory: multicluster engine for Kubernetes 2.6 security update
CVE-2022-21698 · CVE-2023-44487 · CVE-2025-7195 · CVE-2025-7783 · CVE-2025-9287 · CVE-2025-9288
RHEA-2026:0129: Red Hat Enhancement Advisory: OpenShift Virtualization 4.17.39 Images
CVE-2025-7195
RHSA-2026:0718: Red Hat Security Advisory: Moderate: Red Hat Advanced Cluster Management for Kubernetes v2.13.5 security update
CVE-2025-7195 · CVE-2025-9288 · CVE-2025-47907 · CVE-2025-58183 · CVE-2025-58754
openSUSE-SU-2025:15434-1: govulncheck-vulndb-0.0.20250811T192933-1.1 on GA media
CVE-2021-21411 · CVE-2025-44779 · CVE-2025-50738 · CVE-2025-53534 · CVE-2025-53942 · CVE-2025-54386 · CVE-2025-54388 · CVE-2025-54410 · CVE-2025-54424 · CVE-2025-54576 · CVE-2025-54799 · CVE-2025-54801 · CVE-2025-54996 · CVE-2025-54997 · CVE-2025-54998 · CVE-2025-54999 · CVE-2025-55000 · CVE-2025-55001 · CVE-2025-55003 · CVE-2025-5999 · CVE-2025-6000 · CVE-2025-6004 · CVE-2025-6011 · CVE-2025-6013 · CVE-2025-6014 · CVE-2025-6015 · CVE-2025-6037 · CVE-2025-7195 · CVE-2025-8341
RHBA-2024:11569: Red Hat Bug Fix Advisory: Red Hat build of Apicurio Registry 3.0.6 Beta OpenShift images
CVE-2025-7195
RHSA-2025:19961: Red Hat Security Advisory: Red Hat Advanced Cluster Management for Kubernetes 2.12.6 security update
CVE-2025-7195 · CVE-2025-47907 · CVE-2025-53547 · CVE-2025-58754
RHSA-2025:19335: Red Hat Security Advisory: Red Hat Advanced Cluster Management for Kubernetes 2.14.1 security update
CVE-2025-7195 · CVE-2025-7783 · CVE-2025-9287 · CVE-2025-9288 · CVE-2025-47907 · CVE-2025-53547 · CVE-2025-58754
RHSA-2025:22684: Red Hat Security Advisory: Red Hat Advanced Cluster Management for Kubernetes 2.12.6 security update
CVE-2022-21698 · CVE-2024-24786 · CVE-2025-7195 · CVE-2025-27144 · CVE-2025-47907 · CVE-2025-53547 · CVE-2025-58754
RHSA-2025:23529: Red Hat Security Advisory: Red Hat Advanced Cluster Management for Kubernetes 2.11.9 security update
CVE-2023-44487 · CVE-2025-7195 · CVE-2025-7783 · CVE-2025-9287 · CVE-2025-9288
RHSA-2026:0722: Red Hat Security Advisory: multicluster engine for Kubernetes v2.8.4 security update
CVE-2022-21698 · CVE-2023-44487 · CVE-2024-24786 · CVE-2025-7195 · CVE-2025-9287 · CVE-2025-9288 · CVE-2025-30204 · CVE-2025-47907 · CVE-2025-58183
RHSA-2026:5633: Red Hat Security Advisory: Red Hat Advanced Cluster Management for Kubernetes v2.12.8 security update
CVE-2025-7195 · CVE-2025-13465 · CVE-2025-47907 · CVE-2025-58183 · CVE-2026-21721 · CVE-2026-22029 · CVE-2026-25639
RHSA-2025:23542: Red Hat Security Advisory: OpenShift File Integrity Operator bug fix and enhancement update
CVE-2025-7195
RHSA-2025:22683: Red Hat Security Advisory: multicluster engine for Kubernetes v2.7.7 security update
CVE-2022-21698 · CVE-2024-24786 · CVE-2025-7195 · CVE-2025-22871
RHSA-2025:21885: Red Hat Security Advisory: OpenShift Compliance Operator bug fix and enhancement update
CVE-2024-12085 · CVE-2025-5914 · CVE-2025-6020 · CVE-2025-6965 · CVE-2025-7195 · CVE-2025-7425 · CVE-2025-8941
RHSA-2025:21368: Red Hat Security Advisory: Red Hat OpenShift Data Foundation 4.18 security, enhancement & bug fix update
CVE-2022-0155 · CVE-2022-0536 · CVE-2025-5889 · CVE-2025-7195 · CVE-2025-22150
WID-SEC-W-2025-2533: RedHat Multicluster Engine for Kubernetes: Schwachstelle ermöglicht Privilegieneskalation
CVE-2025-7195
RHSA-2026:2572: Red Hat Security Advisory: Red Hat Advanced Cluster Management for Kubernetes v2.14.2 security update
CVE-2025-7195 · CVE-2025-47907 · CVE-2025-53547 · CVE-2025-58183 · CVE-2025-61729 · CVE-2025-68156 · CVE-2026-22029
RHSA-2025:22418: Red Hat Security Advisory: Red Hat OpenShift Data Foundation 4.15 security, enhancement & bug fix update
CVE-2022-0155 · CVE-2022-0536 · CVE-2025-5889 · CVE-2025-7195
RHEA-2025:23478: Red Hat Enhancement Advisory: OpenShift Virtualization 4.18.25 Images
CVE-2025-7195
RHSA-2026:0627: Red Hat Security Advisory: Red Hat Advanced Cluster Management for Kubernetes v2.13.5 security update
CVE-2025-7195 · CVE-2025-9287 · CVE-2025-9288 · CVE-2025-27144 · CVE-2025-47907 · CVE-2025-58183 · CVE-2025-58754
RHSA-2025:19332: Red Hat Security Advisory: multicluster engine for Kubernetes 2.9.1 security update
CVE-2025-7195 · CVE-2025-7783 · CVE-2025-9287 · CVE-2025-9288 · CVE-2025-47907
RHSA-2026:0737: Red Hat Security Advisory: OpenShift Compliance Operator bug fix and enhancement update
CVE-2025-7195
- Source published
- Aug 7, 2025, 7:05:08 PM (timezone not stated)
- Source modified
- Sep 21, 2026, 5:17:42 PM (timezone not stated)
- Saved here
- 11 Nov 2026 04:38:08 UTC
- Source terms
- ENISA EUVD · source terms and attribution apply
Original source record · Cite this exact observation · Complete original publisher JSON
Source: euvd · ENISA EUVD · source terms and attribution apply. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.
EUVD CVSS 3.1 · 6.4 CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
nvd · CVE-2025-7195
PublishedEarly 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/pass…
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.
Additional publisher context
NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON.
Source analysis status: Deferred
Weakness classifications: CWE-276
Original publisher date fields
published: 2025-08-07T19:15:29.367
lastModified: 2026-09-21T18:17:06.530
- Source published
- 7 Aug 2025 19:15:29 UTC
- Source modified
- 21 Sep 2026 18:17:06 UTC
- Saved here
- 25 Oct 2026 04:17:18 UTC
- Source terms
- NIST NVD usage terms; underlying source attribution retained
Original source record · Cite this exact observation · Complete original publisher JSON
Source: nvd · NIST NVD usage terms; underlying source attribution retained. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.
CVSS 3.1 · [email protected] · Secondary · 6.4 CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
osv · GHSA-856v-8qm2-9wjv
Publishedoperator-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 was 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 published
- 7 Aug 2025 21:31:08 UTC
- Source modified
- 24 Mar 2026 15:47:03 UTC
- Saved here
- 24 Oct 2026 13:19:41 UTC
- Source terms
- GitHub Advisory Database · CC-BY-4.0
Original source record · Cite this exact observation · Complete original publisher JSON
Source: osv · GitHub Advisory Database · CC-BY-4.0. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.
CVSS_V3 · CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:L/I:H/A:L
Publisher rating · MODERATE
osv · GO-2025-3852
Publishedoperator-sdk: privilege escalation due to incorrect permissions of /etc/passwd in github.com/operator-framework/operator-sdk
operator-sdk: privilege escalation due to incorrect permissions of /etc/passwd in github.com/operator-framework/operator-sdk
- Source published
- 11 Aug 2025 17:59:12 UTC
- Source modified
- 3 Mar 2026 04:57:25 UTC
- Saved here
- 24 Oct 2026 13:19:41 UTC
- Source terms
- OSV · upstream source license applies
Original source record · Cite this exact observation · Complete original publisher JSON
Source: osv · OSV · upstream source license applies. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.