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
This flaw can let someone who already has command execution inside an affected Red Hat ODF container become root inside that container. It is not a remote break-in by itself, but it can worsen an existing container compromise or insider misuse.
Executive priority
Treat as a focused container hardening and patching item, not an internet-scale emergency. Prioritize clusters where many administrators, CI jobs, or operators can execute commands inside ODF containers.
Technical view
Affected Multi-Cloud Object Gateway Core-related Red Hat ODF 4.22 images created /etc/passwd with group-writable permissions. A non-root process in the root group could modify passwd and add a UID 0 account, gaining root privileges within the container.
Likely exposure
Exposure is likely limited to Red Hat OpenShift Data Foundation 4.22 environments using the affected odf4 RHEL9 container packages listed by Red Hat, including mcg-core-rhel9 and related ODF components.
Exploitation context
The CVSS vector is local, high complexity, and high privileges required. The bundle does not indicate KEV listing or active exploitation. An attacker first needs command execution inside an affected container under the right group conditions.
Researcher notes
The key condition is writable /etc/passwd by a non-root process with root-group membership. Evidence provided names affected Red Hat ODF 4.22 container packages, but does not include exact fixed versions or exploitation in the wild.
Mitigation direction
Review RHSA-2026:37387 and Red Hat CVE guidance for fixed ODF images.
Update affected Red Hat ODF 4.22 container images when vendor-fixed builds are available.
Restrict who can exec into ODF and MCG pods or administer workloads.
Redeploy affected workloads after image updates so corrected containers are running.
Monitor affected containers for unexpected passwd changes or UID 0 accounts.
Validation and detection
Inventory Red Hat ODF 4.22 clusters and compare image versions against the affected list.
Confirm whether mcg-core-rhel9 or related odf4 RHEL9 images are deployed.
Check affected running containers for group-writable /etc/passwd permissions.
Review Kubernetes RBAC for users allowed to run commands in ODF pods.
Verify updated containers no longer have group-writable passwd permissions.
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.