Vulnerabilities in pkg:pypi/ironic

PACKAGE
Advisory Identifier: GHSA-j4cw-mcg2-2q78
Advisory Summary

CVE-2026-54421 is a MODERATE (CVSS 6.8) openstack ironic can return unredacted vulnerability (CWE-212: Improper Removal of Sensitive Information Before Storage or Transfer) affecting Ironic libraries in the PyPI ecosystem. The issue involves openstack ironic can return unredacted sensitive information when applying a patch to update fields in volume properties. Remediation is available by upgrading affected packages to version 29.0.6, 32.0.2, 35.0.2, 37.0.1.

9 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:pypi/ironic

9 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:pypi/ironic. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-j4cw-mcg2-2q78 CVE-2026-54421 MODERATE OpenStack Ironic can return unredacted sensitive information when applying a PATCH to update fields in volume properties
GHSA-q3g8-rjrx-59ph CVE-2026-50589 MODERATE OpenStack Ironic: Crafted JSON String to Certain Endpoints on the API or JSON-RPC Service May Result in Service Crash
GHSA-9v62-qx4c-44x5 CVE-2026-48681 MODERATE OpenStack Ironic allows file overwrite via directory traversal during deployment with a crafted ISO image
GHSA-jrh2-f5jc-xpgr CVE-2026-46447 MODERATE OpenStack Ironic allows Boot Script Injection
GHSA-wqpv-c3pp-3m58 CVE-2026-42510 MODERATE OpenStack Ironic is Vulnerable to Inclusion of Functionality from Untrusted Control Sphere
GHSA-q3m2-crgq-5p3q CVE-2025-44021 LOW OpenStack Ironic fails to restrict paths used for file:// image URLs
GHSA-4g73-w726-53h3 CVE-2026-44919 MODERATE OpenStack Ironic: Pre-Validation Checksum Calculation allows Denial of Service (DoS) via Infinite Block Devices
GHSA-8h22-6qwx-q4w9 CVE-2024-47211 MODERATE OpenStack Ironic fails to verify checksums of supplied image_source URLs
GHSA-f7cr-7c2c-fm8r CVE-2016-4985 HIGH OpenStack Ironic Exposure of Sensitive Information to an Unauthorized Actor

CVE-2026-54421 at a Glance

CVE Identifier CVE-2026-54421
GHSA Identifier GHSA-j4cw-mcg2-2q78
Severity MODERATE
CVSS v3.1 Base Score 6.8
CWE Classification CWE-212: Improper Removal of Sensitive Information Before Storage or Transfer
Affected Product Ironic
Package Ecosystem PyPI
Published Date
Last Updated

Security Impact

CVSS: 6.8

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required High (PR:H)
User Interaction None (UI:N)
Scope Changed (S:C)
Confidentiality High (C:H)
Integrity None (I:N)
Availability None (A:N)

How to Fix CVE-2026-54421

To remediate this vulnerability, upgrade all affected Ironic dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

ironic fixed: 29.0.6
pip install ironic>=29.0.6
ironic fixed: 32.0.2
pip install ironic>=32.0.2
ironic fixed: 35.0.2
pip install ironic>=35.0.2
ironic fixed: 37.0.1
pip install ironic>=37.0.1
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

pip show ironic

How to Check if You Are Affected

To determine whether your Python environment is affected by CVE-2026-54421, inspect your installed packages using pip:

pip show ironic

Analyze the terminal output to locate any version of Ironic in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 29.0.6), your application is affected.

Note: The pip show ironic command checks currently installed packages in your active Python environment.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-212: Improper Removal of Sensitive Information Before Storage or Transfer, where the product stores, transfers, or shares a resource that contains sensitive information, but it does not properly remove that information before the product makes the resource available to unauthorized actors. In Ironic, 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

In OpenStack Ironic through 35.0.1, when applying a PATCH to update fields in volume properties the user is authorized for, Ironic can return unredacted sensitive information (such as iSCSI credentials). The PATCH outcome is a security issue; the POST outcome is not a security issue.

CVE-2026-54421 Affected Ironic Versions

4 component(s)
Fixed Versions:
29.0.632.0.235.0.237.0.1
Product / Package Ecosystem Affected Versions Fixed Version
ironic
PyPI
≥ 17.0.0
< 29.0.6
29.0.6
ironic
PyPI
≥ 30.0.0
< 32.0.2
32.0.2
ironic
PyPI
≥ 33.0.0
< 35.0.2
35.0.2
ironic
PyPI
≥ 36.0.0
< 37.0.1
37.0.1

References

Frequently Asked Questions

What is CVE-2026-54421?
CVE-2026-54421 is a security vulnerability in Ironic involving OpenStack Ironic can return unredacted sensitive information when applying a PATCH to update fields in volume properties under CWE-212: Improper Removal of Sensitive Information Before Storage or Transfer.
Which Ironic versions are affected?
Affected versions include releases prior to 29.0.6, 32.0.2, 35.0.2, 37.0.1 across affected packages: ironic.
What version fixes CVE-2026-54421?
Upgrading to 29.0.6, 32.0.2, 35.0.2, 37.0.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is ironic affected?
Yes, ironic is affected in releases prior to 29.0.6, 32.0.2, 35.0.2, 37.0.1. Upgrade your dependency to 29.0.6, 32.0.2, 35.0.2, 37.0.1 or later.
What is the CVSS score of CVE-2026-54421?
CVE-2026-54421 has a CVSS v3.1 base score of 6.8 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N.
What CWE is associated with CVE-2026-54421?
CVE-2026-54421 is classified under CWE-212: Improper Removal of Sensitive Information Before Storage or Transfer (The product stores, transfers, or shares a resource that contains sensitive information, but it does not properly remove that information before the product makes the resource available to unauthorized actors.).
How can I check PyPI dependencies for CVE-2026-54421?
Run the dependency tree command: 'pip show ironic'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-j4cw-mcg2-2q78",
  "modified" : "2026-08-25T16:34:55Z",
  "published" : "2026-06-14T06:30:24Z",
  "aliases" : [ "CVE-2026-54421" ],
  "summary" : "OpenStack Ironic can return unredacted sensitive information when applying a PATCH to update fields in volume properties",
  "details" : "In OpenStack Ironic through 35.0.1, when applying a PATCH to update fields in volume properties the user is authorized for, Ironic can return unredacted sensitive information (such as iSCSI credentials). The PATCH outcome is a security issue; the POST outcome is not a security issue.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "ironic"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "17.0.0"
      }, {
        "fixed" : "29.0.6"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "ironic"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "30.0.0"
      }, {
        "fixed" : "32.0.2"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "ironic"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "33.0.0"
      }, {
        "fixed" : "35.0.2"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "ironic"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "36.0.0"
      }, {
        "fixed" : "37.0.1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-54421"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/openstack/ironic/commit/dd2df520fe0ae019cb247a8295542abc2d4b46dd"
  }, {
    "type" : "WEB",
    "url" : "https://bugs.launchpad.net/ironic/+bug/2155049"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/openstack/ironic"
  }, {
    "type" : "WEB",
    "url" : "https://review.opendev.org/c/openstack/ironic/+/990430"
  }, {
    "type" : "WEB",
    "url" : "https://security.openstack.org/ossa/OSSA-2026-023.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2026/06/16/10"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-212" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-08-25T16:34:55Z",
    "nvd_published_at" : "2026-06-14T04:16:30Z"
  }
}