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

Published Aug 8, 2025
·
Updated

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

Other sources

noobaa-core sets the entire /etc dir to 664. Allowing a user in the container to modify system files, including /etc/passwd. This could lead to an exscalation of privilege within the container or impact the integrity of processes within the container.

https://github.com/noobaa/noobaa-core/blame/23e67498e7f72f220c9aec8c1c671bff07d38d13/src/deploy/NVAbuild/setupplatform.sh#L115

Red Hat

Affected Software

2 affected components
noobaa-core
redhat Openshift Data Foundation=4.0

Event History

Aug 8, 2025
Data Sourced
via Red Hat·04:12 PM
DescriptionSeverityAffected Software
Mar 13, 2026
CVE Published
via MITRE·02:48 AM
Data Sourced
via MITRE·02:48 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·07:53 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-8766?

The severity of CVE-2025-8766 is rated as medium with a score of 6.4.

2

How do I fix CVE-2025-8766?

To fix CVE-2025-8766, ensure that the /etc/passwd file in the noobaa-core container does not have group-writable permissions during the build process.

3

What does CVE-2025-8766 exploit?

CVE-2025-8766 exploits excessive permissions on the /etc directory, which could lead to privilege escalation within the noobaa-core container.

4

What software is affected by CVE-2025-8766?

CVE-2025-8766 affects certain Multi-Cloud Object Gateway Core images in the noobaa-core software.

5

What conditions are necessary for CVE-2025-8766 to be exploited?

An attacker must have the ability to execute commands within the affected noobaa-core container to exploit CVE-2025-8766.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203