Home / metal3-io / baremetal-operator / CVE-2025-29781
CVE-2025-29781: is it exploited, and which versions of metal3-io baremetal-operator are affected and fixed?
CVE-2025-29781 is an information disclosure vulnerability in metal3-io baremetal-operator. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 15:39 UTC). Affected: github.com/metal3-io/baremetal-operator/apis from 0.9.0 before 0.9.1 and github.com/metal3-io/baremetal-operator/apis before 0.8.1 (GitHub advisory GHSA-c98h-7hp9-v9hq). Fixed in 0.9.1 and 0.8.1 (GitHub advisory GHSA-c98h-7hp9-v9hq). Severity: Medium (6.5, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 15:39 UTC, CVE record November 19, 2026, 07:09 UTC and NVD November 19, 2026, 07:22 UTC.
What is CVE-2025-29781?
Bare Metal Operator (BMO) can expose any secret from other namespaces via BMCEventSubscription CRD
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.
From the CVE record by GitHub_M, last updated March 18, 2025, 14:10 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| metal3-io | baremetal-operator | = 0.9.0 < 0.8.1 |
As the CVE record by GitHub_M states it, last updated March 18, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Go | github.com/metal3-io/baremetal-operator/apis | >= 0.9.0, < 0.9.1 | 0.9.1 | GHSA-c98h-7hp9-v9hq |
| Go | github.com/metal3-io/baremetal-operator/apis | < 0.8.1 | 0.8.1 | GHSA-c98h-7hp9-v9hq |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated March 19, 2025. Summary: Bare Metal Operator (BMO) can expose any secret from other namespaces via BMCEventSubscription CRD.
How severe is CVE-2025-29781?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.5 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N | GitHub_M |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2025-29781 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: partial (CISA ADP, March 18, 2025)
- EPSS
- 0.28% probability of exploitation activity in the next 30 days, percentile 21.6 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
- CWE-653 Improper Isolation or Compartmentalization
Where are the vendor advisories and references?
- https://github.com/metal3-io/baremetal-operator/security/advisories/GHSA-c98h-7hp9-v9hq x_refsource_CONFIRM
- https://github.com/metal3-io/baremetal-operator/pull/2321 x_refsource_MISC
- https://github.com/metal3-io/baremetal-operator/pull/2322 x_refsource_MISC
- https://github.com/metal3-io/baremetal-operator/commit/19f8443b1fe182f76dd81b43122e8dd102f8b94c x_refsource_MISC
- https://github.com/metal3-io/metal3-docs/blob/main/design/baremetal-operator/bmc-events.md x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- March 11, 2025
- Published
- March 17, 2025, 21:37 UTC
- CVE record updated
- March 18, 2025, 14:10 UTC by GitHub_M
- NVD
- Deferred, last modified June 17, 2026, 09:05 UTC
- Last checked
- CVE list November 19, 2026, 07:09 UTC; NVD November 19, 2026, 07:22 UTC; KEV December 3, 2026, 15:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect baremetal-operator?
- Sep 3, 2024CVE-2024-43803 metal3-io baremetal-operator: information disclosure
- Apr 26, 2023CVE-2023-30841 metal3-io baremetal-operator: information disclosure
Every CVE in baremetal-operator
Questions about CVE-2025-29781
Is CVE-2025-29781 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 15:39 UTC. FIRST's EPSS gives it a 0.28% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of metal3-io baremetal-operator are affected by CVE-2025-29781?
github.com/metal3-io/baremetal-operator/apis from 0.9.0 before 0.9.1 and github.com/metal3-io/baremetal-operator/apis before 0.8.1, per the GitHub advisory GHSA-c98h-7hp9-v9hq. The tables above give every range the sources list.
Which version fixes CVE-2025-29781?
0.9.1 and 0.8.1, per the GitHub advisory GHSA-c98h-7hp9-v9hq. Check the vendor's advisory before you rely on it.
How severe is CVE-2025-29781?
Medium (6.5, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2025-29781?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.