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

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. Vendors: OpenStack, 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
    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

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.