cve.bz

CVE-2025-8766 Noobaa-core: excessive permissions of /etc could lead to escalation of privilege in the noobaa-core container

6.4 mediumEPSS 0.2%Fix available

Medium (6.4) in redhat openshift data foundation. EPSS 0.2% estimated probability of exploitation activity in the next 30 days.

On this page
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

Severity

CVSS 3.1

6.4 medium
CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
EPSS
0.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 8th percentile. Scored 2026-11-23. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2026-03-13. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-276 Incorrect Default Permissions
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
Assigned by
redhat (CNA)
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

  • Red Hat Red Hat Openshift Data Foundation 4.22: fixed in 1782932114
  • Red Hat Red Hat Openshift Data Foundation 4.22: fixed in 1782931768
  • Red Hat Red Hat Openshift Data Foundation 4.22: fixed in 1782932104
  • Red Hat Red Hat Openshift Data Foundation 4.22: fixed in 1783536000
  • Red Hat Red Hat Openshift Data Foundation 4.22: fixed in 1783535989
  • Red Hat Red Hat Openshift Data Foundation 4.22: fixed in 1783536515
  • Red Hat Red Hat Openshift Data Foundation 4.22: fixed in 1782932521
  • Red Hat Red Hat Openshift Data Foundation 4.22: fixed in 1783018461

Ask an AI about this CVE

Show the promptExplain CVE-2025-8766 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-8766?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-8766?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-8766 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

Fixed in

ProductFixed in
Red Hat Openshift Data Foundation 4.221782932114
Red Hat Openshift Data Foundation 4.221782931768
Red Hat Openshift Data Foundation 4.221782932104
Red Hat Openshift Data Foundation 4.221783536000
Red Hat Openshift Data Foundation 4.221783535989
Red Hat Openshift Data Foundation 4.221783536515
Red Hat Openshift Data Foundation 4.221782932521
Red Hat Openshift Data Foundation 4.221783018461
Red Hat Openshift Data Foundation 4.221783018421
Red Hat Openshift Data Foundation 4.221782932812
Red Hat Openshift Data Foundation 4.221783537001
Red Hat Openshift Data Foundation 4.221782932919
Red Hat Openshift Data Foundation 4.221783537586
Red Hat Openshift Data Foundation 4.221782932969
Red Hat Openshift Data Foundation 4.221782933015
Red Hat Openshift Data Foundation 4.221782933042
Red Hat Openshift Data Foundation 4.221783537392
Red Hat Openshift Data Foundation 4.221782933235
Red Hat Openshift Data Foundation 4.221782933251
Red Hat Openshift Data Foundation 4.221783537955
Red Hat Openshift Data Foundation 4.221782933417
Red Hat Openshift Data Foundation 4.221783537742
Red Hat Openshift Data Foundation 4.221782933602
Red Hat Openshift Data Foundation 4.221783019377
Red Hat Openshift Data Foundation 4.221782934054
Red Hat Openshift Data Foundation 4.221782934036
Red Hat Openshift Data Foundation 4.221782934284
Red Hat Openshift Data Foundation 5.01795073870
Red Hat Openshift Data Foundation 5.01795073546
Red Hat Openshift Data Foundation 5.01795073967
Red Hat Openshift Data Foundation 5.01795074158
Red Hat Openshift Data Foundation 5.01795074167
Red Hat Openshift Data Foundation 5.01795074655
Red Hat Openshift Data Foundation 5.01795074170
Red Hat Openshift Data Foundation 5.01795074383
Red Hat Openshift Data Foundation 5.01795074368
Red Hat Openshift Data Foundation 5.01795074330
Red Hat Openshift Data Foundation 5.01795074438
Red Hat Openshift Data Foundation 5.01795074371
Red Hat Openshift Data Foundation 5.01795074803
Red Hat Openshift Data Foundation 5.01795074454
Red Hat Openshift Data Foundation 5.01795074485
Red Hat Openshift Data Foundation 5.01795074572
Red Hat Openshift Data Foundation 5.01795074668
Red Hat Openshift Data Foundation 5.01795074674
Red Hat Openshift Data Foundation 5.01795074723
Red Hat Openshift Data Foundation 5.01795074744
Red Hat Openshift Data Foundation 5.01795075063
Red Hat Openshift Data Foundation 5.01795074810
Red Hat Openshift Data Foundation 5.01795074944
Red Hat Openshift Data Foundation 5.01795074987
Red Hat Openshift Data Foundation 5.01795074981
Red Hat Openshift Data Foundation 5.01795075376
Red Hat Openshift Data Foundation 5.01795075367
Red Hat Openshift Data Foundation 5.01795075598

Red Hat

Red Hat rates this Important.

Red Hat's statement

Red Hat Product Security has rated this vulnerability as moderate severity for affected products which run on OpenShift. The vulnerability allows for potential privilege escalation within a container, but OpenShift's default, multi-layered security posture effectively mitigates this risk.

The primary controls include the default Security Context Constraints (SCC), which severely limit a container's permissions from the start, and SELinux, which enforces mandatory access control to ensure strict isolation. While other container runtime environments may have different controls available and require case-by-case analysis, OpenShift's built-in defenses are designed to prevent this type of attack.

Out of Box RHEL configuration isolates a single process inside a container. Unless multiple processes are packaged inside a single container, that defeats the principle behind containerization, this bug can not be used to meaningfully escalate privileges.

Also, RHEL, and any common linux distributions do NOT add any additional users to the root group. The presence of the root group is strictly due to conformance with POSIX permission management requirements and can be considered to be an artifact of filesystem permission limitations.

ProductPackageStateAdvisory
Red Hat Openshift Data Foundation 4.22odf4/cephcsi-rhel9:1782932114Fixed 2026-07-09RHSA-2026:37387
Red Hat Openshift Data Foundation 4.22odf4/cephcsi-rhel9-operator:1782931768Fixed 2026-07-09RHSA-2026:37387
Red Hat Openshift Data Foundation 4.22odf4/devicefinder-rhel9:1782932104Fixed 2026-07-09RHSA-2026:37387
Red Hat Openshift Data Foundation 4.22odf4/mcg-core-rhel9:1783536000Fixed 2026-07-09RHSA-2026:37387
Red Hat Openshift Data Foundation 4.22odf4/mcg-rhel9-operator:1783535989Fixed 2026-07-09RHSA-2026:37387
Red Hat Openshift Data Foundation 4.22odf4/ocs-client-console-rhel9:1783536515Fixed 2026-07-09RHSA-2026:37387
Red Hat Openshift Data Foundation 4.22odf4/ocs-client-rhel9-operator:1782932521Fixed 2026-07-09RHSA-2026:37387
Red Hat Openshift Data Foundation 4.22odf4/ocs-metrics-exporter-rhel9:1783018461Fixed 2026-07-09RHSA-2026:37387
Red Hat Openshift Data Foundation 4.22odf4/ocs-rhel9-operator:1783018421Fixed 2026-07-09RHSA-2026:37387
Red Hat Openshift Data Foundation 4.22odf4/odf-blackbox-exporter-rhel9:1782932812Fixed 2026-07-09RHSA-2026:37387
Red Hat Openshift Data Foundation 4.22odf4/odf-cli-rhel9:1783537001Fixed 2026-07-09RHSA-2026:37387
Red Hat Openshift Data Foundation 4.22odf4/odf-cloudnative-pg-rhel9-operator:1782932919Fixed 2026-07-09RHSA-2026:37387
Red Hat Openshift Data Foundation 4.22odf4/odf-console-rhel9:1783537586Fixed 2026-07-09RHSA-2026:37387
Red Hat Openshift Data Foundation 4.22odf4/odf-cosi-sidecar-rhel9:1782932969Fixed 2026-07-09RHSA-2026:37387
Red Hat Openshift Data Foundation 4.22odf4/odf-csi-addons-rhel9-operator:1782933015Fixed 2026-07-09RHSA-2026:37387
Red Hat Openshift Data Foundation 4.22odf4/odf-csi-addons-sidecar-rhel9:1782933042Fixed 2026-07-09RHSA-2026:37387
Red Hat Openshift Data Foundation 4.22odf4/odf-drbd-rhel9:1783537392Fixed 2026-07-09RHSA-2026:37387
Red Hat Openshift Data Foundation 4.22odf4/odf-external-snapshotter-rhel9-operator:1782933235Fixed 2026-07-09RHSA-2026:37387
Red Hat Openshift Data Foundation 4.22odf4/odf-external-snapshotter-sidecar-rhel9:1782933251Fixed 2026-07-09RHSA-2026:37387
Red Hat Openshift Data Foundation 4.22odf4/odf-multicluster-console-rhel9:1783537955Fixed 2026-07-09RHSA-2026:37387
7 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-8766.

Attack patterns (CAPEC)

  • CAPEC-1 Accessing Functionality Not Properly Constrained by ACLs Likelihood: High · Severity: High
  • CAPEC-81 Web Server Logs Tampering Likelihood: Medium · Severity: High
  • CAPEC-127 Directory Indexing Likelihood: High · Severity: Medium

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON