CVE-2025-7195

MediumCVSS 6.4/10Last modified Sep 21, 2026

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.

Metrics

CVSS 3.1 6.4/10CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H

Weakness enumeration

Affected software

VendorProductVersions
operator-frameworkoperator-sdk< 0.15.2
Red HatRHEL-9-CNV-4.17—
Red HatRHEL-9-CNV-4.18—
Red HatRHEL-9-CNV-4.20—
Red Hatmulticluster engine for Kubernetes 2.6—
Red Hatmulticluster engine for Kubernetes 2.6—
Red Hatmulticluster engine for Kubernetes 2.6—
Red Hatmulticluster engine for Kubernetes 2.6—
Red Hatmulticluster engine for Kubernetes 2.6—
Red Hatmulticluster engine for Kubernetes 2.6—
Red Hatmulticluster engine for Kubernetes 2.6—
Red Hatmulticluster engine for Kubernetes 2.7—
Red Hatmulticluster engine for Kubernetes 2.7—
Red Hatmulticluster engine for Kubernetes 2.7—
Red Hatmulticluster engine for Kubernetes 2.7—
Red Hatmulticluster engine for Kubernetes 2.7—
Red Hatmulticluster engine for Kubernetes 2.7—
Red Hatmulticluster engine for Kubernetes 2.7—
Red Hatmulticluster engine for Kubernetes 2.7—
Red Hatmulticluster engine for Kubernetes 2.7—
Red Hatmulticluster engine for Kubernetes 2.7—
Red Hatmulticluster engine for Kubernetes 2.7—
Red Hatmulticluster engine for Kubernetes 2.7—
Red Hatmulticluster engine for Kubernetes 2.7—
Red Hatmulticluster engine for Kubernetes 2.7—
Red Hatmulticluster engine for Kubernetes 2.7—
Red Hatmulticluster engine for Kubernetes 2.7—
Red Hatmulticluster engine for Kubernetes 2.8—
Red Hatmulticluster engine for Kubernetes 2.8—
Red Hatmulticluster engine for Kubernetes 2.8—
Red Hatmulticluster engine for Kubernetes 2.8—
Red Hatmulticluster engine for Kubernetes 2.8—
Red Hatmulticluster engine for Kubernetes 2.8—
Red Hatmulticluster engine for Kubernetes 2.8—
Red Hatmulticluster engine for Kubernetes 2.8—
Red Hatmulticluster engine for Kubernetes 2.9—
Red Hatmulticluster engine for Kubernetes 2.9—
Red Hatmulticluster engine for Kubernetes 2.9—
Red Hatmulticluster engine for Kubernetes 2.9—
Red Hatmulticluster engine for Kubernetes 2.9—
Red Hatmulticluster engine for Kubernetes 2.9—
Red Hatmulticluster engine for Kubernetes 2.9—
Red Hatmulticluster engine for Kubernetes 2.9—
Red HatOpenShift Compliance Operator 1—
Red HatOpenShift Compliance Operator 1—
Red HatOpenShift File Integrity Operator - FIO 1—
Red HatRed Hat Advanced Cluster Management for Kubernetes 2.11—
Red HatRed Hat Advanced Cluster Management for Kubernetes 2.11—
Red HatRed Hat Advanced Cluster Management for Kubernetes 2.11—
Red HatRed Hat Advanced Cluster Management for Kubernetes 2.11—

References

Timeline

Published
Aug 7, 2025
Last modified
Sep 21, 2026
NVD status
Deferred

Related CVEs from 2025

CVE-2025-71969.8A vulnerability was found in code-projects Jonnys Liquor 1.0. It has been rated as critical. Affected by this issue is some unknown functionCVE-2025-71979.8A vulnerability classified as critical has been found in code-projects Jonnys Liquor 1.0. This affects an unknown part of the file /admin/deCVE-2025-71989.8A vulnerability classified as critical was found in code-projects Jonnys Liquor 1.0. This vulnerability affects unknown code of the file /adCVE-2025-71999.8A vulnerability, which was classified as critical, has been found in code-projects Library System 1.0. This issue affects some unknown proceCVE-2025-72009.8A vulnerability, which was classified as critical, was found in krishna9772 Pharmacy Management System up to a2efc8442931ec9308f3b4cf4778e57CVE-2025-72025.1A Cross-Site Request Forgery (CSRF) in Elgato's Key Lights and related light products allows an attacker to host a malicious webpage that reCVE-2025-72034.9The Management Console and product files expose sensitive data, including remote log server credentials, truststore passwords, and keystore CVE-2025-72046.5In ConnectWise PSA versions older than 2025.9, a vulnerability exists where authenticated users could gain access to sensitive user informatCVE-2025-72055.4The GiveWP – Donation Plugin and Fundraising Platform plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the donor notes CVE-2025-72069.8A vulnerability, which was classified as critical, has been found in D-Link DIR-825 2.10. This issue affects the function sub_410DDC of the CVE-2025-72075.5A vulnerability, which was classified as problematic, was found in mruby up to 3.4.0-rc2. Affected is the function scope_new of the file mrbCVE-2025-72089.8A vulnerability was found in 9fans plan9port up to 9da5b44. It has been classified as critical. This affects the function edump in the libra