Home / operator-framework / operator-sdk / CVE-2025-7195
CVE-2025-7195: is it exploited, and which versions of operator-framework operator-sdk are affected and fixed?
CVE-2025-7195 is an insecure default permissions vulnerability in operator-framework operator-sdk. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 14:38 UTC). Affected: github.com/operator-framework/operator-sdk before 0.15.2 (GitHub advisory GHSA-856v-8qm2-9wjv). Fixed in 0.15.2 (GitHub advisory GHSA-856v-8qm2-9wjv). Severity: Medium (6.4, CVSS 3.1, from redhat).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 14:38 UTC, CVE record November 19, 2026, 07:10 UTC and NVD November 19, 2026, 07:18 UTC.
What is CVE-2025-7195?
Operator-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.
From the CVE record by redhat, last updated September 21, 2026, 17:17 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| operator-framework | operator-sdk | before 0.15.2 | 0.15.2 |
| Red Hat | RHEL-9-CNV-4.17 container-native-virtualization/cluster-network-addons-operator-rhel9 | all versions (default) | v4.17.39-2 |
| Red Hat | RHEL-9-CNV-4.18 container-native-virtualization/cluster-network-addons-operator-rhel9 | all versions (default) | v4.18.25-3 |
| Red Hat | RHEL-9-CNV-4.20 container-native-virtualization/cluster-network-addons-operator-rhel9 | all versions (default) | v4.20.3-3 |
| Red Hat | multicluster engine for Kubernetes 2.6 multicluster-engine/addon-manager-rhel9 | all versions (default) | v2.6 |
| Red Hat | multicluster engine for Kubernetes 2.6 multicluster-engine/clusterlifecycle-state-metrics-rhel9 | all versions (default) | v2.6 |
| Red Hat | multicluster engine for Kubernetes 2.6 multicluster-engine/discovery-rhel9 | all versions (default) | v2.6 |
| Red Hat | multicluster engine for Kubernetes 2.6 multicluster-engine/placement-rhel9 | all versions (default) | v2.6 |
| Red Hat | multicluster engine for Kubernetes 2.6 multicluster-engine/registration-operator-rhel9 | all versions (default) | v2.6 |
| Red Hat | multicluster engine for Kubernetes 2.6 multicluster-engine/registration-rhel9 | all versions (default) | v2.6 |
| Red Hat | multicluster engine for Kubernetes 2.6 multicluster-engine/work-rhel9 | all versions (default) | v2.6 |
| Red Hat | multicluster engine for Kubernetes 2.7 multicluster-engine/addon-manager-rhel9 | all versions (default) | v2.7 |
| Red Hat | multicluster engine for Kubernetes 2.7 multicluster-engine/clusterlifecycle-state-metrics-rhel9 | all versions (default) | v2.7 |
| Red Hat | multicluster engine for Kubernetes 2.7 multicluster-engine/discovery-rhel9 | all versions (default) | v2.7 |
| Red Hat | multicluster engine for Kubernetes 2.7 multicluster-engine/managedcluster-import-controller-rhel9 | all versions (default) | v2.7 |
| Red Hat | multicluster engine for Kubernetes 2.7 multicluster-engine/placement-rhel9 | all versions (default) | v2.7 |
| Red Hat | multicluster engine for Kubernetes 2.7 multicluster-engine/registration-operator-rhel9 | all versions (default) | v2.7 |
| Red Hat | multicluster engine for Kubernetes 2.7 multicluster-engine/registration-rhel9 | all versions (default) | v2.7 |
| Red Hat | multicluster engine for Kubernetes 2.7 multicluster-engine/work-rhel9 | all versions (default) | v2.7 |
| Red Hat | multicluster engine for Kubernetes 2.7 multicluster-engine/addon-manager-rhel9 | all versions (default) | v2.7 |
| Red Hat | multicluster engine for Kubernetes 2.7 multicluster-engine/clusterlifecycle-state-metrics-rhel9 | all versions (default) | v2.7 |
| Red Hat | multicluster engine for Kubernetes 2.7 multicluster-engine/discovery-rhel9 | all versions (default) | v2.7 |
| Red Hat | multicluster engine for Kubernetes 2.7 multicluster-engine/managedcluster-import-controller-rhel9 | all versions (default) | v2.7 |
| Red Hat | multicluster engine for Kubernetes 2.7 multicluster-engine/placement-rhel9 | all versions (default) | v2.7 |
| Red Hat | multicluster engine for Kubernetes 2.7 multicluster-engine/registration-operator-rhel9 | all versions (default) | v2.7 |
| Red Hat | multicluster engine for Kubernetes 2.7 multicluster-engine/registration-rhel9 | all versions (default) | v2.7 |
| Red Hat | multicluster engine for Kubernetes 2.7 multicluster-engine/work-rhel9 | all versions (default) | v2.7 |
| Red Hat | multicluster engine for Kubernetes 2.8 multicluster-engine/addon-manager-rhel9 | all versions (default) | 1765872406 |
| Red Hat | multicluster engine for Kubernetes 2.8 multicluster-engine/clusterlifecycle-state-metrics-rhel9 | all versions (default) | 1766360304 |
| Red Hat | multicluster engine for Kubernetes 2.8 multicluster-engine/discovery-rhel9 | all versions (default) | 1765669648 |
| Red Hat | multicluster engine for Kubernetes 2.8 multicluster-engine/managedcluster-import-controller-rhel9 | all versions (default) | 1765866268 |
| Red Hat | multicluster engine for Kubernetes 2.8 multicluster-engine/placement-rhel9 | all versions (default) | 1765872399 |
| Red Hat | multicluster engine for Kubernetes 2.8 multicluster-engine/registration-operator-rhel9 | all versions (default) | 1765872402 |
| Red Hat | multicluster engine for Kubernetes 2.8 multicluster-engine/registration-rhel9 | all versions (default) | 1765872398 |
| Red Hat | multicluster engine for Kubernetes 2.8 multicluster-engine/work-rhel9 | all versions (default) | 1765872400 |
| Red Hat | multicluster engine for Kubernetes 2.9 multicluster-engine/addon-manager-rhel9 | all versions (default) | v2.9 |
| Red Hat | multicluster engine for Kubernetes 2.9 multicluster-engine/clusterlifecycle-state-metrics-rhel9 | all versions (default) | v2.9 |
| Red Hat | multicluster engine for Kubernetes 2.9 multicluster-engine/discovery-rhel9 | all versions (default) | v2.9 |
| Red Hat | multicluster engine for Kubernetes 2.9 multicluster-engine/managedcluster-import-controller-rhel9 | all versions (default) | v2.9 |
| Red Hat | multicluster engine for Kubernetes 2.9 multicluster-engine/placement-rhel9 | all versions (default) | v2.9 |
As the CVE record by redhat states it, last updated September 21, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Go | github.com/operator-framework/operator-sdk | < 0.15.2 | 0.15.2 | GHSA-856v-8qm2-9wjv |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated March 24, 2026. Summary: operator-sdk: privilege escalation due to incorrect permissions of /etc/passwd.
How severe is CVE-2025-7195?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.4 | CVSS 3.1 | CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H | redhat |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2025-7195 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, August 7, 2025)
- EPSS
- 0.26% probability of exploitation activity in the next 30 days, percentile 19.1 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-276 Incorrect Default Permissions
Is there a workaround? (from the CVE record)
In Red Hat OpenShift Container Platform, the following default configurations reduce the impact of this vulnerability. Security Context Constraints (SCCs): The default SCC, Restricted-v2, applies several crucial security settings to containers. Capabilities: drop: ALL removes all Linux capabilities, including SETUID and SETGID. This prevents a process from changing its user or group ID, a common step in privilege escalation attacks. The SETUID and SETGID capabilities can also be dropped explicitly if other capabilities are still required. allowPrivilegeEscalation: false ensures that a process cannot gain more privileges than its parent process. This blocks attempts by a compromised container process to grant itself additional capabilities. SELinux Mandatory Access Control (MAC): Pods are required to run with a pre-allocated Multi-Category Security (MCS) label. This SELinux feature provides a strong layer of isolation between containers and from the host system. A properly configured SELinux policy can prevent a container escape, even if an attacker gains elevated permissions within the container itself. Filesystem Hardening: While not a default setting, a common security practice is to set readOnlyRootFilesystem: true in a container's security context. In this specific scenario, this configuration would prevent an attacker from modifying critical files like /etc/passwd, even if they managed to gain file-level write permissions.
Where are the vendor advisories and references?
- RHEA-2025:23406 vendor-advisory, x_refsource_REDHAT
- RHEA-2025:23478 vendor-advisory, x_refsource_REDHAT
- RHEA-2026:0129 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:19332 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:19335 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:19958 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:19961 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:21368 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:21885 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:22415 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:22416 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:22418 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:22420 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:22683 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:22684 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:23528 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:23529 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:23542 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:0627 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:0718 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:0722 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:0737 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:2572 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:5633 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2025-7195 vdb-entry, x_refsource_REDHAT
- RHBZ#2376300 issue-tracking, x_refsource_REDHAT
Who found and reported it?
- Red Hat would like to thank Antony Di Scala, James Force, and Michael Whale for reporting this issue. (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- July 7, 2025
- Published
- August 7, 2025, 19:05 UTC
- CVE record updated
- September 21, 2026, 17:17 UTC by redhat
- NVD
- Deferred, last modified September 21, 2026, 18:17 UTC
- Last checked
- CVE list November 19, 2026, 07:10 UTC; NVD November 19, 2026, 07:18 UTC; KEV December 3, 2026, 14:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
Questions about CVE-2025-7195
Is CVE-2025-7195 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 14:38 UTC. FIRST's EPSS gives it a 0.26% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of operator-framework operator-sdk are affected by CVE-2025-7195?
github.com/operator-framework/operator-sdk before 0.15.2, per the GitHub advisory GHSA-856v-8qm2-9wjv. The tables above give every range the sources list.
Which version fixes CVE-2025-7195?
0.15.2, per the GitHub advisory GHSA-856v-8qm2-9wjv. Check the vendor's advisory before you rely on it.
How severe is CVE-2025-7195?
Medium (6.4, CVSS 3.1, from redhat). The severity table above shows each score with its source.
Where is the official record of CVE-2025-7195?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.