CVE-2025-29781
Last modified
CVE-2025-29781 is a medium-severity vulnerability rated 6.5/10 on the CVSS scale. The Bare Metal Operator (BMO) implements a Kubernetes API for managing bare metal hosts in Metal3. Baremetal Operator enables users to load Secret from arbitrary namespaces upon deployment of the namespace scoped Custom Resource `BMCEventSubscription`. EPSS estimates a 0.17% chance of exploitation in the next 30 days.
Description
The Bare Metal Operator (BMO) implements a Kubernetes API for managing bare metal hosts in Metal3. Baremetal Operator enables users to load Secret from arbitrary namespaces upon deployment of the namespace scoped Custom Resource `BMCEventSubscription`. Prior to versions 0.8.1 and 0.9.1, an adversary Kubernetes account with only namespace level roles (e.g. a tenant controlling a namespace) may create a `BMCEventSubscription` in his authorized namespace and then load Secrets from his unauthorized namespaces to his authorized namespace via the Baremetal Operator, causing Secret Leakage. The patch makes BMO refuse to read Secrets from other namespace than where the corresponding BMH resource is. The patch does not change the `BMCEventSubscription` API in BMO, but stricter validation will fail the request at admission time. It will also prevent the controller reading such Secrets, in case the BMCES CR has already been deployed. The issue exists for all versions of BMO, and is patched in BMO releases v0.9.1 and v0.8.1. Prior upgrading to patched BMO version, duplicate any existing Secret pointed to by `BMCEventSubscription`'s `httpHeadersRef` to the same namespace where the corresponding BMH exists. After upgrade, remove the old Secrets. As a workaround, the operator can configure BMO RBAC to be namespace scoped, instead of cluster scoped, to prevent BMO from accessing Secrets from other namespaces, and/or use `WATCH_NAMESPACE` configuration option to limit BMO to single namespace.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2025-29781?
How severe is CVE-2025-29781?
How do I fix CVE-2025-29781?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-29775xml-crypto is an XML digital signature and encryption librar…9.3
- CVE-2025-29776Azle is a WebAssembly runtime for TypeScript and JavaScript …8.7
- CVE-2025-29778Kyverno is a policy engine designed for cloud native platfor…8
- CVE-2025-29779Post-Quantum Secure Feldman's Verifiable Secret Sharing prov…5.4
- CVE-2025-2978A vulnerability was found in WCMS 11. It has been rated as c…9.8
- CVE-2025-29780Post-Quantum Secure Feldman's Verifiable Secret Sharing prov…5.8
- CVE-2025-29782WeGIA is Web manager for charitable institutions A Stored Cr…5.4
- CVE-2025-29783vLLM is a high-throughput and memory-efficient inference and…9
- CVE-2025-29784NamelessMC is a free, easy to use & powerful website softwar…7.5
- CVE-2025-29785quic-go is an implementation of the QUIC protocol in Go. The…7.5
- CVE-2025-29786Expr is an expression language and expression evaluation for…7.5
- CVE-2025-29787`zip` is a zip library for rust which supports reading and w…7.3
Are you affected by CVE-2025-29781?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
