CVE-2025-7195 Details
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.
A privilege escalation vulnerability has been identified in early versions of Operator-SDK, specifically those prior to 0.15.2. The issue arises from the 'user_setup' script, which modifies the '/etc/passwd' file permissions to 664 during the build process, making it group-writable. This vulnerability affects operator containers running in environments with random UID assignments. An attacker with command execution capabilities in the container, even as a non-root user, could exploit their membership in the root group to alter the '/etc/passwd' file. This manipulation could involve adding a new user with an arbitrary UID, including UID 0, thereby gaining full root privileges within the container.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Aug 7, 2025CISA-ADP
Assessed Aug 7, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-276 | Incorrect Default Permissions | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Red Hat Operator-SDK | All versions |
CPE
Remediation
| |
Change History
57 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Sep 21, 2026 | CVE Modified | [email protected] |
| Sep 8, 2026 | CVE Modified | [email protected] |
| Sep 7, 2026 | CVE Modified | [email protected] |
| Sep 6, 2026 | CVE Modified | [email protected] |
| Aug 25, 2026 | CVE Modified | [email protected] |
| Aug 25, 2026 | CVE Modified | [email protected] |
| Aug 24, 2026 | CVE Modified | [email protected] |
| Aug 23, 2026 | CVE Modified | [email protected] |
| Aug 23, 2026 | CVE Modified | [email protected] |
| Aug 22, 2026 | CVE Modified | [email protected] |
| Aug 18, 2026 | CVE Modified | [email protected] |
| Aug 17, 2026 | CVE Modified | [email protected] |
| Aug 16, 2026 | CVE Modified | [email protected] |
| Aug 16, 2026 | CVE Modified | [email protected] |
| Aug 13, 2026 | CVE Modified | [email protected] |
| Aug 13, 2026 | CVE Modified | [email protected] |
| Aug 11, 2026 | CVE Modified | [email protected] |
| Aug 9, 2026 | CVE Modified | [email protected] |
| Aug 8, 2026 | CVE Modified | [email protected] |
| Aug 2, 2026 | CVE Modified | [email protected] |
| Aug 1, 2026 | CVE Modified | [email protected] |
| Jul 26, 2026 | CVE Modified | [email protected] |
| Jul 26, 2026 | CVE Modified | [email protected] |
| Jul 26, 2026 | CVE Modified | [email protected] |
| Jul 21, 2026 | CVE Modified | [email protected] |
| Jul 20, 2026 | CVE Modified | [email protected] |
| Jul 20, 2026 | CVE Modified | [email protected] |
| Jul 19, 2026 | CVE Modified | [email protected] |
| Jul 19, 2026 | CVE Modified | [email protected] |
| Jun 26, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Mar 24, 2026 | CVE Modified | [email protected] |
| Mar 6, 2026 | CVE Modified | [email protected] |
| Feb 11, 2026 | CVE Modified | [email protected] |
| Jan 16, 2026 | CVE Modified | [email protected] |
| Jan 15, 2026 | CVE Modified | [email protected] |
| Jan 15, 2026 | CVE Modified | [email protected] |
| Jan 14, 2026 | CVE Modified | [email protected] |
| Jan 9, 2026 | CVE Modified | [email protected] |
| Jan 6, 2026 | CVE Modified | [email protected] |
| Dec 17, 2025 | CVE Modified | [email protected] |
| Dec 17, 2025 | CVE Modified | [email protected] |
| Dec 17, 2025 | CVE Modified | [email protected] |
| Dec 9, 2025 | CVE Modified | [email protected] |
| Dec 8, 2025 | CVE Modified | [email protected] |
| Dec 4, 2025 | CVE Modified | [email protected] |
| Dec 3, 2025 | CVE Modified | [email protected] |
| Dec 1, 2025 | CVE Modified | [email protected] |
| Dec 1, 2025 | CVE Modified | [email protected] |
| Nov 20, 2025 | CVE Modified | [email protected] |
| Nov 13, 2025 | CVE Modified | [email protected] |
| Nov 10, 2025 | CVE Modified | [email protected] |
| Nov 7, 2025 | CVE Modified | [email protected] |
| Oct 30, 2025 | CVE Modified | [email protected] |
| Aug 8, 2025 | CVE Modified | [email protected] |
| Aug 7, 2025 | New CVE Received | [email protected] |
Volerion