{"answers":{"affected":"9 open source packages ship an affected version, including ironic-python-agent. It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-42997 in the wild and no public exploit code.","fix":"Upgrade ironic-python-agent to a fixed version for your release line: 26.1.6, 29.0.5, 32.0.1 or 35.0.1.","what":"CVE-2026-42997 is a high-severity vulnerability in OpenStack Ironic, published on 5 May 2026. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-42997 and fix it if it is affected.\n\nWhat it is: CVE-2026-42997 is a high-severity vulnerability in OpenStack Ironic, published on 5 May 2026. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-42997 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- ironic-python-agent (PyPI): affected all versions; fixed in 26.1.6, 29.0.5, 32.0.1, 35.0.1\n- ironic-python-agent (PyPI): affected all versions; fixed in 26.1.6\n- ironic-python-agent (PyPI): affected all versions; fixed in 26.1.6\n- ironic-python-agent (PyPI): affected from 27.0.0; fixed in 29.0.5\n- ironic-python-agent (PyPI): affected from 27.0.0; fixed in 29.0.5\n- ironic-python-agent (PyPI): affected from 30.0.0; fixed in 32.0.1\n- ironic-python-agent (PyPI): affected from 30.0.0; fixed in 32.0.1\n- ironic-python-agent (PyPI): affected from 33.0.0; fixed in 35.0.1\n- ironic-python-agent (PyPI): affected from 33.0.0; fixed in 35.0.1\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-42997/ (Markdown: https://insights.sbomify.com/CVE-2026-42997/index.md)","id":"CVE-2026-42997","markdown":"https://insights.sbomify.com/CVE-2026-42997/index.md","name":"CVE-2026-42997","record":{"aliases":["DEBIAN-CVE-2026-42997","GHSA-54w4-233h-x86g","PYSEC-2026-2526","RHSA-2026:39811","UBUNTU-CVE-2026-42997"],"analysis":{"component_type":"cloud_service","fix_type":"upgrade","impacts":["data_read","security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"OpenStack Ironic","requires_auth":"low_privilege","summary":"Attackers can obtain sensitive Keystone tokens or basic credentials during import, potentially gaining unauthorized access to OpenStack services.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"ironic","vendor":"openstack"}],"cvss":{"score":7.7,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-201","name":"Insertion of Sensitive Information Into Sent Data"},{"id":"CWE-669","name":"Incorrect Resource Transfer Between Spheres"}],"description":"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.","ecosystems":["PyPI","Red Hat:openstack:18.0::el9"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"OpenStack Ironic has an Incorrect Resource Transfer Between Spheres","id":"CVE-2026-42997","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"information_disclosure","year":"2026"},"n_packages":13,"n_references":2,"next":{"headline":"OpenStack Keystone doesn't verify that the user supplied in the authentication request matches the owner of the application credential","id":"CVE-2026-42998"},"packages":[{"ecosystem":"PyPI","fixed":["26.1.6","29.0.5","32.0.1","35.0.1"],"introduced":["0","27.0.0","30.0.0","33.0.0"],"last_affected":[],"package":"ironic-python-agent","purl":"pkg:pypi/ironic-python-agent","source":"PYSEC-2026-2526"},{"ecosystem":"PyPI","fixed":["26.1.6"],"introduced":["0"],"last_affected":[],"package":"ironic-python-agent","purl":null,"source":"GHSA-54w4-233h-x86g"},{"ecosystem":"PyPI","fixed":["26.1.6"],"introduced":["0"],"last_affected":[],"package":"ironic-python-agent","purl":"pkg:pypi/ironic-python-agent","source":"GHSA-54w4-233h-x86g"},{"ecosystem":"PyPI","fixed":["29.0.5"],"introduced":["27.0.0"],"last_affected":[],"package":"ironic-python-agent","purl":null,"source":"GHSA-54w4-233h-x86g"},{"ecosystem":"PyPI","fixed":["29.0.5"],"introduced":["27.0.0"],"last_affected":[],"package":"ironic-python-agent","purl":"pkg:pypi/ironic-python-agent","source":"GHSA-54w4-233h-x86g"},{"ecosystem":"PyPI","fixed":["32.0.1"],"introduced":["30.0.0"],"last_affected":[],"package":"ironic-python-agent","purl":null,"source":"GHSA-54w4-233h-x86g"},{"ecosystem":"PyPI","fixed":["32.0.1"],"introduced":["30.0.0"],"last_affected":[],"package":"ironic-python-agent","purl":"pkg:pypi/ironic-python-agent","source":"GHSA-54w4-233h-x86g"},{"ecosystem":"PyPI","fixed":["35.0.1"],"introduced":["33.0.0"],"last_affected":[],"package":"ironic-python-agent","purl":null,"source":"GHSA-54w4-233h-x86g"},{"ecosystem":"PyPI","fixed":["35.0.1"],"introduced":["33.0.0"],"last_affected":[],"package":"ironic-python-agent","purl":"pkg:pypi/ironic-python-agent","source":"GHSA-54w4-233h-x86g"},{"ecosystem":"Red Hat:openstack:18.0::el9","fixed":["1:21.4.5-18.0.20260616204937.9213ccd.el9ost"],"introduced":["0"],"last_affected":[],"package":"openstack-ironic","purl":"pkg:rpm/redhat/openstack-ironic","source":"RHSA-2026:39811"},{"ecosystem":"Red Hat:openstack:18.0::el9","fixed":["1:21.4.5-18.0.20260616204937.9213ccd.el9ost"],"introduced":["0"],"last_affected":[],"package":"openstack-ironic-api","purl":"pkg:rpm/redhat/openstack-ironic-api","source":"RHSA-2026:39811"},{"ecosystem":"Red Hat:openstack:18.0::el9","fixed":["1:21.4.5-18.0.20260616204937.9213ccd.el9ost"],"introduced":["0"],"last_affected":[],"package":"openstack-ironic-common","purl":"pkg:rpm/redhat/openstack-ironic-common","source":"RHSA-2026:39811"},{"ecosystem":"Red Hat:openstack:18.0::el9","fixed":["1:21.4.5-18.0.20260616204937.9213ccd.el9ost"],"introduced":["0"],"last_affected":[],"package":"openstack-ironic-conductor","purl":"pkg:rpm/redhat/openstack-ironic-conductor","source":"RHSA-2026:39811"}],"prev":{"headline":"Memory corruption in JS8Call","id":"CVE-2026-42996"},"products":["Ironic"],"published":"2026-05-05","related":[{"cvss_score":6.6,"headline":"OpenStack Ironic is Vulnerable to Inclusion of Functionality from Untrusted Control Sphere","id":"CVE-2026-42510","kev_date_added":null,"published":"2026-04-28"},{"cvss_score":6.5,"headline":"Information disclosure in n/a","id":"CVE-2015-7514","kev_date_added":null,"published":"2017-06-07"},{"cvss_score":5.9,"headline":"OpenStack Ironic allows file overwrite via directory traversal during deployment with a crafted ISO image","id":"CVE-2026-48681","kev_date_added":null,"published":"2026-06-04"},{"cvss_score":5.8,"headline":"OpenStack Ironic allows Boot Script Injection","id":"CVE-2026-46447","kev_date_added":null,"published":"2026-06-03"},{"cvss_score":5.3,"headline":"OpenStack Ironic: Crafted JSON String to Certain Endpoints on the API or JSON-RPC Service May Result in Service Crash","id":"CVE-2026-50589","kev_date_added":null,"published":"2026-06-04"},{"cvss_score":4.9,"headline":"Path traversal in Ironic","id":"CVE-2026-44917","kev_date_added":null,"published":"2026-06-04"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-07-15","vendors":["OpenStack"]},"summary":"Attackers can obtain sensitive Keystone tokens or basic credentials during import, potentially gaining unauthorized access to OpenStack services.","url":"https://insights.sbomify.com/CVE-2026-42997/"}