Skip to main content
No exploitation reportedFix available

CVE-2025-7195

No exploitation reported by the sources we read.

  • Published2025-08-07
  • Fixed in0.15.2
  • WeaknessCWE-276

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2025-08-0719:15CVE publishedNVD

Versions per branch

OSV
operator-framework/operator-sdk
BranchAffectedFixed in
0.15< 0.15.20.15.2

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA100 products

As redhat, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

94 more products in the CVE record.

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2026-09-21

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • govulncheck-vulndbSUSE:Linux Enterprise Module for Package Hub 15 SP6all versions · fixed in 0.0.20250814T182633-150000.1.98.1
  • govulncheck-vulndbopenSUSE:Tumbleweedall versions · fixed in 0.0.20250811T192933-1.1
  • govulncheck-vulndbopenSUSE:Leap 15.6all versions · fixed in 0.0.20250814T182633-150000.1.98.1

Vendor advisories

  • RHSA-2026:5633 Red Hat Product Security20 products fixed

    Red Hat Security Advisory: Red Hat Advanced Cluster Management for Kubernetes v2.12.8 security update

  • RHSA-2026:2572 Red Hat Product Security16 products fixed

    Red Hat Security Advisory: Red Hat Advanced Cluster Management for Kubernetes v2.14.2 security update

  • RHSA-2026:0722 Red Hat Product Security32 products fixed

    Red Hat Security Advisory: multicluster engine for Kubernetes v2.8.4 security update

  • RHSA-2026:0718 Red Hat Product Security12 products fixed

    Red Hat Security Advisory: Moderate: Red Hat Advanced Cluster Management for Kubernetes v2.13.5 security update

  • RHSA-2026:0627 Red Hat Product Security8 products fixed

    Red Hat Security Advisory: Red Hat Advanced Cluster Management for Kubernetes v2.13.5 security update

  • RHSA-2025:23529 Red Hat Product Security16 products fixed

    Red Hat Security Advisory: Red Hat Advanced Cluster Management for Kubernetes 2.11.9 security update

11 more advisories

Full record on NVD

Fix

  1. Update operator-framework/operator-sdk to 0.15.2
  2. Vendor fix Red Hat Product Security RHSA-2026:5633 · 20 productsBefore you apply this update, make sure all previously released errata that are relevant to your system are applied. For details on how to apply this update, refer to: https://access.redhat.com/articles/11258
  3. Vendor fix Red Hat Product Security RHSA-2026:0722 · 32 productsFor multicluster engine for Kubernetes, see the following documentation for details on how to install the images: https://access.redhat.com/documentation/en-us/red_hat_advanced_cluster_management_for_kubernetes/2.13/html/clusters/cluster_mce_overview#mce-install-intro
  4. Vendor fix Red Hat Product Security RHSA-2025:23528 · 28 productsFor multicluster engine for Kubernetes, see the following documentation for details on how to install the images: https://access.redhat.com/documentation/en-us/red_hat_advanced_cluster_management_for_kubernetes/2.11/html/clusters/cluster_mce_overview#mce-install-intro
  5. Vendor fix Red Hat Product Security RHSA-2025:22683 · 32 productsFor multicluster engine for Kubernetes, see the following documentation for details on how to install the images: https://access.redhat.com/documentation/en-us/red_hat_advanced_cluster_management_for_kubernetes/2.12/html/clusters/cluster_mce_overview#mce-install-intro
  6. Vendor fix Red Hat Product Security RHSA-2025:22420 · 64 productsBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://docs.redhat.com/en/documentation/red_hat_openshift_data_foundation/4.14/html/updating_openshift_data_foundation/updating-ocs-…
  7. Vendor fix Red Hat Product Security RHSA-2025:22418 · 64 productsBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://docs.redhat.com/en/documentation/red_hat_openshift_data_foundation/4.15/html/updating_openshift_data_foundation/updating-ocs-…

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

  • NVDCVE recordread 2026-10-23
  • CISA-ADPSSVC decisionnone2025-08-07
  • CNACVSS 3.16.4known since 2026-10-23
  • CNAweakness (CWE)CWE-276known since 2026-10-23
  • FIRST EPSSEPSS score0.3 %2026-11-09
  • OSVaffected packages—
  • GitHub AdvisoriesadvisoryMODERATE2025-08-07

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
Published
2025-08-07
Last Modified
2026-09-21
NVD status
Deferred
GitHub Advisory
GHSA-856v-8qm2-9wjv

Frequently asked questions

What is CVE-2025-7195?

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.

Is CVE-2025-7195 actively exploited?

Active exploitation of CVE-2025-7195 has not been confirmed. Its EPSS score was 0.3% on 2026-11-09, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2025-7195?

CVE-2025-7195 has a CVSS v3 base score of 6.4 (MEDIUM severity), with vector string CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H.

Running operator-framework/operator-sdk? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record