CVE-2025-8766: Noobaa-core: excessive permissions of /etc could lead to escalation of privilege in the noobaa-core container
A container privilege escalation flaw was found in certain Multi-Cloud Object Gateway Core images. This issue stems from the /etc/passwd file being created with group-writable permissions during build time. In certain conditions, an attacker who can execute commands within an affected container, even as a non-root user, can 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
Security readout for executives and security teams
Plain-English summary
CVE-2025-8766 is a container privilege escalation issue in certain Red Hat OpenShift Data Foundation 4.22 images. If an attacker already can run commands inside an affected container, they may be able to become root within that container because /etc/passwd was built with unsafe group-writable permissions.
Executive priority
Treat as a moderate-priority container hardening and update issue. It is serious after container access is obtained, but the provided evidence requires existing in-container execution and does not show active exploitation.
Technical view
The flaw is CWE-276: incorrect default permissions. During image build, /etc/passwd can be group-writable. Under specific conditions, a non-root user in the root group could modify /etc/passwd and create a UID 0 account, gaining full root privileges inside the container.
Likely exposure
Exposure appears limited to organizations running the listed Red Hat OpenShift Data Foundation 4.22 container packages and versions, especially MCG/Noobaa-related images. The attacker must already have command execution inside an affected container.
Exploitation context
The CVSS vector is local, high attack complexity, and high privileges required. The bundle marks KEV as false and provides no evidence of active exploitation. The sources do not establish host escape or remote unauthenticated exploitation.
Researcher notes
The source bundle identifies Red Hat ODF 4.22 packages and CVSS 6.4. It does not provide fixed image digests, exploit-in-the-wild evidence, or proof of host compromise. Keep analysis bounded to in-container privilege escalation.
Mitigation direction
Review RHSA-2026:37387 and Red Hat CVE guidance for supported updates.
Inventory OpenShift Data Foundation 4.22 images against the affected package/version list.
Limit who can execute commands inside ODF and MCG containers.
Review pod security controls that reduce unnecessary container group privileges.
Monitor Red Hat advisories for fixed image versions or additional mitigations.
Validation and detection
Confirm whether deployed ODF images match the affected package names and versions.
Inspect affected container images for group-writable /etc/passwd permissions.
Review container user and group membership for root-group exposure.
Check cluster audit logs for unusual exec activity into ODF or MCG pods.
Track remediation status against RHSA-2026:37387 and Red Hat CVE records.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · low confidence lookup
CWE-276: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
The CVE wording references privilege impact, so privilege escalation and authorization behavior review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
The affected technology mentions containers, so container-specific ATT&CK technique review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
2CVSS vectors
7Timeline events
2ADP providers
5Source links
SSVC decision data
CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: noTechnical Impact: total
CVSS vector scores
2 official scores
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-276 · source CWE mapping
Incorrect Default Permissions
Incorrect Default Permissions represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.