CVE-2025-44021: Ironic // Image URLs Vulnerability

LOW
Advisory Identifier: GHSA-q3m2-crgq-5p3q
CVSS 2.8
CWE-22
Published
Advisory Summary

CVE-2025-44021 is a LOW (CVSS 2.8) // image urls vulnerability (CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')) affecting Ironic libraries in the PyPI ecosystem. The issue involves // image urls. Remediation is available by upgrading affected packages to version 24.1.3, 26.1.1, 29.0.1.

CVE-2025-44021 at a Glance

CVE Identifier CVE-2025-44021
GHSA Identifier GHSA-q3m2-crgq-5p3q
Severity LOW
CVSS v3.1 Base Score 2.8
CWE Classification CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Affected Product Ironic
Package Ecosystem PyPI
Published Date
Last Updated

Security Impact

CVSS: 2.8

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

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

How to Fix CVE-2025-44021

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: 24.1.3
pip install ironic>=24.1.3
ironic fixed: 26.1.1
pip install ironic>=26.1.1
ironic fixed: 29.0.1
pip install ironic>=29.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-2025-44021, 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 24.1.3), 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-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal'), where the product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory. 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

OpenStack Ironic before 29.0.1 can write unintended files to a target node disk during image handling (if a deployment was performed via the API). A malicious project assigned as a node owner can provide a path to any local file (readable by ironic-conductor), which may then be written to the target node disk. This is difficult to exploit in practice, because a node deployed in this manner should never reach the ACTIVE state, but it still represents a danger in environments running with non-default, insecure configurations such as with automated cleaning disabled. The fixed versions are 24.1.3, 26.1.1, and 29.0.1.

CVE-2025-44021 Affected Ironic Versions

3 component(s)
Fixed Versions:
24.1.326.1.129.0.1
Product / Package Ecosystem Affected Versions Fixed Version
ironic
PyPI
< 24.1.3
24.1.3
ironic
PyPI
≥ 25.0.0
< 26.1.1
26.1.1
ironic
PyPI
≥ 27.0.0
< 29.0.1
29.0.1

References

Frequently Asked Questions

What is CVE-2025-44021?
CVE-2025-44021 is a security vulnerability in Ironic involving // image URLs under CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal').
Which Ironic versions are affected?
Affected versions include releases prior to 24.1.3, 26.1.1, 29.0.1 across affected packages: ironic.
What version fixes CVE-2025-44021?
Upgrading to 24.1.3, 26.1.1, 29.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 24.1.3, 26.1.1, 29.0.1. Upgrade your dependency to 24.1.3, 26.1.1, 29.0.1 or later.
What is the CVSS score of CVE-2025-44021?
CVE-2025-44021 has a CVSS v3.1 base score of 2.8 (LOW) with vector string CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:N/I:L/A:N.
What CWE is associated with CVE-2025-44021?
CVE-2025-44021 is classified under CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') (The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.).
How can I check PyPI dependencies for CVE-2025-44021?
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-q3m2-crgq-5p3q",
  "modified" : "2026-06-09T13:05:48Z",
  "published" : "2025-05-08T18:30:42Z",
  "aliases" : [ "CVE-2025-44021" ],
  "summary" : "OpenStack Ironic fails to restrict paths used for file:// image URLs",
  "details" : "OpenStack Ironic before 29.0.1 can write unintended files to a target node disk during image handling (if a deployment was performed via the API). A malicious project assigned as a node owner can provide a path to any local file (readable by ironic-conductor), which may then be written to the target node disk. This is difficult to exploit in practice, because a node deployed in this manner should never reach the ACTIVE state, but it still represents a danger in environments running with non-default, insecure configurations such as with automated cleaning disabled. The fixed versions are 24.1.3, 26.1.1, and 29.0.1.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:N/I:L/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "ironic"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "24.1.3"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "ironic"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "25.0.0"
      }, {
        "fixed" : "26.1.1"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "ironic"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "27.0.0"
      }, {
        "fixed" : "29.0.1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-44021"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/openstack/ironic/commit/10590b36f541130f6a5d7a49da0f095ff8390cce"
  }, {
    "type" : "WEB",
    "url" : "https://bugs.launchpad.net/ironic/+bug/2107847"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/openstack/ironic"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/pypa/advisory-database/tree/main/vulns/ironic/PYSEC-2025-38.yaml"
  }, {
    "type" : "WEB",
    "url" : "https://security.openstack.org/ossa/OSSA-2025-001.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2025/05/08/1"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-22" ],
    "severity" : "LOW",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-05-08T20:57:17Z",
    "nvd_published_at" : "2025-05-08T17:16:01Z"
  }
}