CVE-2026-42997: Ironic python agent Remote Code Execution Vulnerability
HIGHCVE-2026-42997 is a HIGH (CVSS 7.7) remote code execution vulnerability (CWE-669: Incorrect Resource Transfer Between Spheres) affecting Ironic python agent libraries in the PyPI ecosystem. The issue involves openstack ironic has an incorrect resource transfer between spheres. Remediation is available by upgrading affected packages to version 35.0.1, 32.0.1, 29.0.5, 26.1.6.
CVE-2026-42997 at a Glance
Security Impact
CVSS: 7.7
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N).
How to Fix CVE-2026-42997
To remediate this vulnerability, upgrade all affected Ironic python agent dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install ironic-python-agent>=35.0.1
pip install ironic-python-agent>=32.0.1
pip install ironic-python-agent>=29.0.5
pip install ironic-python-agent>=26.1.6
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show ironic-python-agent
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2026-42997, inspect your installed packages using pip:
pip show ironic-python-agent
Analyze the terminal output to locate any version of Ironic python agent in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 35.0.1), your application is affected.
Note: The pip show ironic-python-agent command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-669: Incorrect Resource Transfer Between Spheres, where the product does not properly transfer a resource/behavior to another sphere, or improperly imports a resource/behavior from another sphere, in a manner that provides unintended control over that resource. In Ironic python agent, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-42997 Affected Ironic python agent Versions
4 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
ironic-python-agent
|
PyPI |
≥ 33.0.0
< 35.0.1
|
35.0.1
|
|
ironic-python-agent
|
PyPI |
≥ 30.0.0
< 32.0.1
|
32.0.1
|
|
ironic-python-agent
|
PyPI |
≥ 27.0.0
< 29.0.5
|
29.0.5
|
|
ironic-python-agent
|
PyPI |
< 26.1.6
|
26.1.6
|
References
Frequently Asked Questions
What is CVE-2026-42997?
Which Ironic python agent versions are affected?
What version fixes CVE-2026-42997?
Is ironic-python-agent affected?
What is the CVSS score of CVE-2026-42997?
What CWE is associated with CVE-2026-42997?
How can I check PyPI dependencies for CVE-2026-42997?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-54w4-233h-x86g",
"modified" : "2026-05-08T23:07:56Z",
"published" : "2026-05-05T21:31:31Z",
"aliases" : [ "CVE-2026-42997" ],
"summary" : "OpenStack Ironic has an Incorrect Resource Transfer Between Spheres",
"details" : "An issue was discovered in idrac in OpenStack Ironic before 35.0.1. During import, a user invoking molds can request authorization to be sent to a remote endpoint. The credential forwarded is a time-limited Keystone token (which provides access to all OpenStack services Ironic is authorized for); or basic credentials configured for molds storage. The fixed versions are 26.1.6, 29.0.5, 32.0.1, and 35.0.1.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "ironic-python-agent"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "33.0.0"
}, {
"fixed" : "35.0.1"
} ]
} ]
}, {
"package" : {
"ecosystem" : "PyPI",
"name" : "ironic-python-agent"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "30.0.0"
}, {
"fixed" : "32.0.1"
} ]
} ]
}, {
"package" : {
"ecosystem" : "PyPI",
"name" : "ironic-python-agent"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "27.0.0"
}, {
"fixed" : "29.0.5"
} ]
} ]
}, {
"package" : {
"ecosystem" : "PyPI",
"name" : "ironic-python-agent"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "26.1.6"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-42997"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/openstack/ironic-python-agent"
}, {
"type" : "WEB",
"url" : "https://security.openstack.org/ossa/OSSA-2026-010.html"
}, {
"type" : "WEB",
"url" : "https://www.openwall.com/lists/oss-security/2026/05/05/10"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2026/05/05/10"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-669" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2026-05-08T23:07:56Z",
"nvd_published_at" : "2026-05-05T19:16:22Z"
}
}