# CVE-2026-42997: OpenStack Ironic Credential Forwarding in iDRAC Configuration Molds

Source: https://junglewise.ai/threats/cve-2026-42997-openstack-ironic-credential-forwarding-in-idrac-configuration  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-05-05. Updated: 2026-06-18  
License: CC BY 4.0 with a link back

CVE-2026-42997 · Severity: high · CVSS 7.7 · Published 2026-05-05

A vulnerability exists in OpenStack Ironic, a service used to manage and provision bare metal servers. An authenticated user with permissions to perform deployment tasks can trick the system into sending sensitive login credentials to a server they control. This could allow an attacker to gain unauthorized access to other OpenStack services and data that the Ironic service is permitted to manage.

Technologies: [OpenStack Ironic](https://junglewise.ai/threats/technologies/ironic). Vendors: [OpenStack](https://junglewise.ai/threats/vendors/openstack), [PyPI](https://junglewise.ai/threats/vendors/pypi).

## Quick answers

**Is CVE-2026-42997 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-42997 being exploited in the wild.

**How severe is CVE-2026-42997?** High severity, with a CVSS score of 7.7, published 5 May 2026.

**Which products and versions are affected?** OpenStack Ironic >=17.0.0 <26.1.6, >=27.0.0 <29.0.5, >=30.0.0 <32.0.1, >=33.0.0 <35.0.1; ironic-python-agent (PyPI) ECOSYSTEM:introduced=0,fixed=26.1.6,introduced=27.0.0,fixed=29.0.5,introduced=30.0.0,fixed=32.0.1,introduced=33.0.0,fixed=35.0.1, ECOSYSTEM:introduced=33.0.0,fixed=35.0.1.

**Is there a fix for CVE-2026-42997?** Yes. ironic-python-agent (PyPI): upgrade to 35.0.1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-42997 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2026-42997?** Check whether you run OpenStack Ironic or ironic-python-agent (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- ironic-python-agent (PyPI): upgrade to 35.0.1 or later

  ```sh
  pip install "ironic-python-agent>=35.0.1"
  ```


## Technical details

A vulnerability in OpenStack Ironic's iDRAC configuration mold import code (CWE-669) allows for credential forwarding to arbitrary endpoints. When a user invokes the 'molds' feature to import a configuration, they can specify a user-controlled URL for the authorization request. Ironic fails to validate this URL, causing it to forward either a time-limited Keystone token or basic storage credentials to the remote endpoint. An attacker must be authenticated with sufficient privileges to execute clean or deploy steps. Successful exploitation grants the attacker a token with the same access level as the Ironic service itself across the OpenStack environment. The feature was deprecated in version 2024.1 and removed in 2026.2; patches are available for supported versions.

## Affected products

- OpenStack Ironic >=17.0.0 <26.1.6, >=27.0.0 <29.0.5, >=30.0.0 <32.0.1, >=33.0.0 <35.0.1

## Identifiers

- CVE-2026-42997
- GHSA-54w4-233h-x86g
- PYSEC-2026-2526

## Timeline

- 2026-05-05: disclosed: Vulnerability reported by Metal3.io Security Team
- 2026-05-05: advisory
- 2026-05-05: patched

## References

- [https://security.openstack.org/ossa/OSSA-2026-010.html](https://security.openstack.org/ossa/OSSA-2026-010.html)
- [https://www.openwall.com/lists/oss-security/2026/05/05/10](https://www.openwall.com/lists/oss-security/2026/05/05/10)
- [http://www.openwall.com/lists/oss-security/2026/05/05/10](http://www.openwall.com/lists/oss-security/2026/05/05/10)

## Related threats

- [OpenStack Ironic path injection in Redfish vendor_passthru](https://junglewise.ai/threats/cve-2026-90458-openstack-ironic-before-39-0-1-allows-delete-and-get-via-vendor)
- [OpenStack Ironic authorization bypass in node maintenance setting](https://junglewise.ai/threats/cve-2026-89419-openstack-ironic-before-39-0-1-sometimes-allows-a-user-to-change)
- [OpenStack Ironic denial of service via gzip bomb in configdrive](https://junglewise.ai/threats/cve-2026-115638-openstack-ironic-through-39-0-1-allows-a-denial-of-service-via-a)
- [OpenStack Ironic credential leakage in HTTP Basic Authentication](https://junglewise.ai/threats/cve-2026-90461-openstack-ironic-credential-leakage-in-http-basic-authentication)
- [OpenStack Ironic autodetect deploy interface cleaning bypass](https://junglewise.ai/threats/cve-2026-74250-openstack-ironic-autodetect-deploy-interface-cleaning-bypass)
