Back to the CVE list
CVE-2025-7195

Operator-sdk: privilege escalation due to incorrect permissions of /etc/passwd

CVSS score

6.4

EPSS probability

%0.2

Risk score

0.0

Published

1 y ago

Patch status has not yet been verified

Resmî kaynaklarda yeterli kanıt bulunamadı. Bu sonuç “yama yok” anlamına gelmez.

Impact on My Inventory

Only the personal products you have added to your account are assessed; an organisation's inventory does not appear here.

Checking session…

Vulnerability description

DayBreach CVE AI Research

CVE-2025-7195 has vendor, distribution, patch and security-source records on file. We can compare them and prepare an explanation linked to the evidence.

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.

IMPACT: Affected Products and Software

Affected Products

The following products are affected by CVE-2025-7195 vulnerability. Where our threat engine knows the exact affected versions, they are listed below.

IDVENDORPRODUCTACTION
1operator-frameworkoperator-sdk View
2Red HatRHEL-9-CNV-4.17 View
3Red HatRHEL-9-CNV-4.18 View
4Red HatRHEL-9-CNV-4.20 View
5Red Hatmulticluster engine for Kubernetes 2.6 View
6Red Hatmulticluster engine for Kubernetes 2.7 View
7Red Hatmulticluster engine for Kubernetes 2.8 View
8Red Hatmulticluster engine for Kubernetes 2.8 View
9Red Hatmulticluster engine for Kubernetes 2.8 View
10Red Hatmulticluster engine for Kubernetes 2.8 View
11Red Hatmulticluster engine for Kubernetes 2.8 View
12Red Hatmulticluster engine for Kubernetes 2.8 View
13Red Hatmulticluster engine for Kubernetes 2.8 View
14Red Hatmulticluster engine for Kubernetes 2.8 View
15Red Hatmulticluster engine for Kubernetes 2.9 View
16Red HatOpenShift Compliance Operator 1 View
17Red HatOpenShift Compliance Operator 1 View
18Red HatOpenShift File Integrity Operator - FIO 1 View
19Red HatRed Hat Advanced Cluster Management for Kubernetes 2.11 View
20Red HatRed Hat Advanced Cluster Management for Kubernetes 2.12 View
21Red HatRed Hat Advanced Cluster Management for Kubernetes 2.12 View
22Red HatRed Hat Advanced Cluster Management for Kubernetes 2.12 View
23Red HatRed Hat Advanced Cluster Management for Kubernetes 2.12 View
24Red HatRed Hat Advanced Cluster Management for Kubernetes 2.12 View
25Red HatRed Hat Advanced Cluster Management for Kubernetes 2.12 View
26Red HatRed Hat Advanced Cluster Management for Kubernetes 2.13 View
27Red HatRed Hat Advanced Cluster Management for Kubernetes 2.13 View
28Red HatRed Hat Advanced Cluster Management for Kubernetes 2.13 View
29Red HatRed Hat Advanced Cluster Management for Kubernetes 2.14 View
30Red HatRed Hat Advanced Cluster Management for Kubernetes 2.14 View
31Red HatRed Hat Advanced Cluster Management for Kubernetes 2.14 View
32Red HatRed Hat Advanced Cluster Management for Kubernetes 2.14 View
33Red HatRed Hat Advanced Cluster Management for Kubernetes 2.14 View
34Red HatRed Hat Openshift Data Foundation 4.14 View
35Red HatRed Hat Openshift Data Foundation 4.14 View
36Red HatRed Hat Openshift Data Foundation 4.14 View
37Red HatRed Hat Openshift Data Foundation 4.14 View
38Red HatRed Hat Openshift Data Foundation 4.14 View
39Red HatRed Hat Openshift Data Foundation 4.14 View
40Red HatRed Hat Openshift Data Foundation 4.14 View
41Red HatRed Hat Openshift Data Foundation 4.14 View
42Red HatRed Hat Openshift Data Foundation 4.14 View
43Red HatRed Hat Openshift Data Foundation 4.14 View
44Red HatRed Hat Openshift Data Foundation 4.14 View
45Red HatRed Hat Openshift Data Foundation 4.14 View
46Red HatRed Hat Openshift Data Foundation 4.14 View
47Red HatRed Hat Openshift Data Foundation 4.14 View
48Red HatRed Hat Openshift Data Foundation 4.14 View
49Red HatRed Hat Openshift Data Foundation 4.14 View
50Red HatRed Hat Openshift Data Foundation 4.14 View
51Red HatRed Hat Openshift Data Foundation 4.15 View
52Red HatRed Hat Openshift Data Foundation 4.15 View
53Red HatRed Hat Openshift Data Foundation 4.15 View
54Red HatRed Hat Openshift Data Foundation 4.15 View
55Red HatRed Hat Openshift Data Foundation 4.15 View
56Red HatRed Hat Openshift Data Foundation 4.15 View
57Red HatRed Hat Openshift Data Foundation 4.15 View
58Red HatRed Hat Openshift Data Foundation 4.15 View
59Red HatRed Hat Openshift Data Foundation 4.15 View
60Red HatRed Hat Openshift Data Foundation 4.15 View
61Red HatRed Hat Openshift Data Foundation 4.15 View
62Red HatRed Hat Openshift Data Foundation 4.15 View
63Red HatRed Hat Openshift Data Foundation 4.15 View
64Red HatRed Hat Openshift Data Foundation 4.15 View
65Red HatRed Hat Openshift Data Foundation 4.15 View
66Red HatRed Hat Openshift Data Foundation 4.15 View
67Red HatRed Hat Openshift Data Foundation 4.15 View
68Red HatRed Hat Openshift Data Foundation 4.16 View
69Red HatRed Hat Openshift Data Foundation 4.16 View
70Red HatRed Hat Openshift Data Foundation 4.16 View
71Red HatRed Hat Openshift Data Foundation 4.16 View
72Red HatRed Hat Openshift Data Foundation 4.16 View
73Red HatRed Hat Openshift Data Foundation 4.16 View
74Red HatRed Hat Openshift Data Foundation 4.16 View
75Red HatRed Hat Openshift Data Foundation 4.16 View
76Red HatRed Hat Openshift Data Foundation 4.16 View
77Red HatRed Hat Openshift Data Foundation 4.16 View
78Red HatRed Hat Openshift Data Foundation 4.16 View
79Red HatRed Hat Openshift Data Foundation 4.16 View
80Red HatRed Hat Openshift Data Foundation 4.16 View
81Red HatRed Hat Openshift Data Foundation 4.16 View
82Red HatRed Hat Openshift Data Foundation 4.16 View
83Red HatRed Hat Openshift Data Foundation 4.16 View
84Red HatRed Hat Openshift Data Foundation 4.16 View
85Red HatRed Hat Openshift Data Foundation 4.16 View
86Red HatRed Hat Openshift Data Foundation 4.17 View
87Red HatRed Hat Openshift Data Foundation 4.17 View
88Red HatRed Hat Openshift Data Foundation 4.17 View
89Red HatRed Hat Openshift Data Foundation 4.17 View
90Red HatRed Hat Openshift Data Foundation 4.17 View
91Red HatRed Hat Openshift Data Foundation 4.17 View
92Red HatRed Hat Openshift Data Foundation 4.17 View
93Red HatRed Hat Openshift Data Foundation 4.17 View
94Red HatRed Hat Openshift Data Foundation 4.17 View
95Red HatRed Hat Openshift Data Foundation 4.17 View
96Red HatRed Hat Openshift Data Foundation 4.17 View
97Red HatRed Hat Openshift Data Foundation 4.17 View
98Red HatRed Hat Openshift Data Foundation 4.17 View
99Red HatRed Hat Openshift Data Foundation 4.17 View
100Red HatRed Hat Openshift Data Foundation 4.17 View
101Red HatRed Hat Openshift Data Foundation 4.17 View
102Red HatRed Hat Openshift Data Foundation 4.17 View
103Red HatRed Hat Openshift Data Foundation 4.17 View
104Red HatRed Hat Openshift Data Foundation 4.18 View
105Red HatRed Hat Openshift Data Foundation 4.18 View
106Red HatRed Hat Openshift Data Foundation 4.18 View
107Red HatRed Hat Openshift Data Foundation 4.18 View
108Red HatRed Hat Openshift Data Foundation 4.18 View
109Red HatRed Hat Openshift Data Foundation 4.18 View
110Red HatRed Hat Openshift Data Foundation 4.18 View
111Red HatRed Hat Openshift Data Foundation 4.18 View
112Red HatRed Hat Openshift Data Foundation 4.18 View
113Red HatRed Hat Openshift Data Foundation 4.18 View
114Red HatRed Hat Openshift Data Foundation 4.18 View
115Red HatRed Hat Openshift Data Foundation 4.18 View
116Red HatRed Hat Openshift Data Foundation 4.18 View
117Red HatRed Hat Openshift Data Foundation 4.18 View
118Red HatRed Hat Openshift Data Foundation 4.18 View
119Red HatRed Hat Openshift Data Foundation 4.18 View
120Red HatRed Hat Openshift Data Foundation 4.18 View
121Red HatRed Hat Openshift Data Foundation 4.18 View
122Red HatMulticluster Engine for Kubernetes View
123Red HatMulticluster Global Hub View
124Red HatRed Hat Advanced Cluster Management for Kubernetes 2 View
125Red HatRed Hat Advanced Cluster Security 4 View
126Red HatRed Hat build of Apicurio Registry 2 View
127Red HatRed Hat build of Apicurio Registry 3 View
128Red HatRed Hat Fuse 7 View
129Red HatRed Hat OpenShift Container Platform 4 View
130Red HatRed Hat OpenShift Virtualization 4 View
131Red HatRed Hat Web Terminal View
Total affected vendors: 2|Products: 131

RED HAT CSAF/VEX: Product Impact Check

Red Hat has not yet published a CSAF/VEX impact record for this CVE. This does not mean “not affected”.

SCORING: CVSS from Multiple Sources

CVSS Scores

The Common Vulnerability Scoring System is a standardised framework for assessing the severity of vulnerabilities in software and systems. We collect and display CVSS scores from several sources for each CVE.

SCOREVERSIONSEVERITYVECTORSOURCE
6.4CVSS V31MEDIUMCVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:HNVD
6.4CVSS V3_1MEDIUMCVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:HCVE CNA

Patch and Remediation Guide

Solution & Remediation Advisory

Patch status unknown

İncelenen resmî kaynaklarda yama durumu doğrulanamadı. Bu sonuç “yama yok” anlamına gelmez.

Confirm the affected product and version against the source evidence above.
Restrict access to internet-facing services and apply network segmentation.
Until a patch is confirmed, follow the vendor advisory; do not read an unknown status as “no patch”.
Monitor server logs and network endpoints for signs of anomalous execution.

Public exploit and active exploitation status

Verified exploit intelligence

No verified public PoC, exploit repository or Metasploit module has been found for this CVE yet.

Weakness Classification and Attack Patterns (CWE & CAPEC)

CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorises the common flaws or weaknesses that can lead to vulnerabilities. CVE-2025-7195 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2025-7195 weaknesses.

Attack Vector and Accessibility

ExposureYerel erişim
PermissionsHigh
UserGerekmiyor

Official Sources and Advisories

CVSS Vector Radar Chart

6.4 / 10
Attack VectorLocalComplexityHighPrivilegesHighUser Interact.NoneConfidentialityHighIntegrityNoneAvailabilityHigh

Vulnerability Scoring Details

CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
Attack VectorLocal
Attack ComplexityHigh
Privileges RequiredHigh privileges
User InteractionNone required
Confidentiality (Gizlilik)High
Integrity (Bütünlük)None
Availability (Erişilebilirlik)High

Yama durumu bilinmiyor

İncelenen resmî kaynaklarda yama durumu doğrulanamadı. Bu sonuç “yama yok” anlamına gelmez.

Follow the vendor

Weakness Type (CWE & CAPEC)

Similar Vulnerabilities

Get this vulnerability through the API

Affected products, version ranges, exploitation status and patch information in a single request, with a free key.

curl -H "x-api-key: $DAYBREACH_API_KEY" \
  "https://api.daybreach.dev/api/v1/intel/cves/CVE-2025-7195"