CVE-2025-7195

MEDIUM CVSS 3.1: 6.4 EPSS 0.26%
Updated Sep 21, 2026
Red Hat
Parameter Value
CVSS 6.4 (MEDIUM)
Affected Versions before 0.15.2
Type CWE-276
Vendor Red Hat
Public PoC No

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.

Attack Parameters

Attack Vector
Local
Requires local access
Attack Complexity
High
Difficult to exploit
Privileges Required
High
Admin privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
High
Complete data modification
Availability
High
Complete denial of service

CVSS Vector v3.1

Weakness Type (CWE)

Vulnerable Products

red hat:multicluster engine for kubernetes 2.9 red hat:red hat openshift data foundation 4.14 red hat:red hat build of apicurio registry 2 red hat:red hat advanced cluster management for kubernetes 2.11 red hat:multicluster engine for kubernetes 2.6 red hat:red hat openshift data foundation 4.17 red hat:red hat openshift data foundation 4.18 red hat:rhel-9-cnv-4.20 red hat:multicluster engine for kubernetes red hat:rhel-9-cnv-4.18 red hat:red hat advanced cluster management for kubernetes 2 red hat:multicluster engine for kubernetes 2.7 red hat:red hat openshift data foundation 4.15 red hat:red hat advanced cluster management for kubernetes 2.12 red hat:red hat web terminal red hat:compliance operator 1 red hat:multicluster engine for kubernetes 2.8 red hat:red hat advanced cluster security 4 red hat:red hat openshift container platform 4 red hat:multicluster global hub red hat:red hat openshift virtualization 4 red hat:red hat advanced cluster management for kubernetes 2.14 red hat:red hat openshift data foundation 4.16 red hat:red hat fuse 7 operator-framework:operator-sdk red hat:file integrity operator 1 red hat:red hat advanced cluster management for kubernetes 2.13 red hat:rhel-9-cnv-4.17 red hat:red hat build of apicurio registry 3

References 26

https://access.redhat.com/errata/RHEA-2025:23406
RHEA-2025:23406
https://access.redhat.com/errata/RHEA-2025:23478
RHEA-2025:23478
https://access.redhat.com/errata/RHEA-2026:0129
RHEA-2026:0129
https://access.redhat.com/errata/RHSA-2025:19332
RHSA-2025:19332
https://access.redhat.com/errata/RHSA-2025:19335
RHSA-2025:19335
https://access.redhat.com/errata/RHSA-2025:19958
RHSA-2025:19958
https://access.redhat.com/errata/RHSA-2025:19961
RHSA-2025:19961
https://access.redhat.com/errata/RHSA-2025:21368
RHSA-2025:21368
https://access.redhat.com/errata/RHSA-2025:21885
RHSA-2025:21885
https://access.redhat.com/errata/RHSA-2025:22415
RHSA-2025:22415
https://access.redhat.com/errata/RHSA-2025:22416
RHSA-2025:22416
https://access.redhat.com/errata/RHSA-2025:22418
RHSA-2025:22418
https://access.redhat.com/errata/RHSA-2025:22420
RHSA-2025:22420
https://access.redhat.com/errata/RHSA-2025:22683
RHSA-2025:22683
https://access.redhat.com/errata/RHSA-2025:22684
RHSA-2025:22684
https://access.redhat.com/errata/RHSA-2025:23528
RHSA-2025:23528
https://access.redhat.com/errata/RHSA-2025:23529
RHSA-2025:23529
https://access.redhat.com/errata/RHSA-2025:23542
RHSA-2025:23542
https://access.redhat.com/errata/RHSA-2026:0627
RHSA-2026:0627
https://access.redhat.com/errata/RHSA-2026:0718
RHSA-2026:0718
https://access.redhat.com/errata/RHSA-2026:0722
RHSA-2026:0722
https://access.redhat.com/errata/RHSA-2026:0737
RHSA-2026:0737
https://access.redhat.com/errata/RHSA-2026:2572
RHSA-2026:2572
https://access.redhat.com/security/cve/CVE-2025-7195
NVD
https://bugzilla.redhat.com/show_bug.cgi?id=2376300
RHBZ#2376300
https://access.redhat.com/errata/RHSA-2026:5633
secalert@redhat.com