CVE-2025-8766

CVE-2025-8766 is a medium-severity vulnerability in Redhat Openshift Data Foundation with a CVSS 3.x base score of 6.4. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-276.

Key facts

Description

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

Frequently asked questions

What is CVE-2025-8766?
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
How severe is CVE-2025-8766?
CVE-2025-8766 has a CVSS 3.x base score of 6.4, rated medium severity. It is exploitable over local access with high attack complexity, requires high privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
Is CVE-2025-8766 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (6th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2025-8766?
CVE-2025-8766 affects Redhat Openshift Data Foundation. See the affected-products list for the exact vulnerable versions.
How do I fix CVE-2025-8766?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
Does CVE-2025-8766 have an EU (EUVD) identifier?
Yes. CVE-2025-8766 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2025-208625.
When was CVE-2025-8766 published?
CVE-2025-8766 was published on 2026-03-13 and last updated on 2026-06-30.

References

Affected products (1)

More vulnerabilities in Redhat Openshift Data Foundation

All CVEs affecting Redhat Openshift Data Foundation →

Other CWE-276 (Incorrect Default Permissions) vulnerabilities

Browse all CWE-276 (Incorrect Default Permissions) vulnerabilities →