cve.bz

CVE-2026-66138 openstack ironic python agent: OS Command Injection

7.2 highEPSS 0.5%

High (7.2) in openstack ironic python agent. EPSS 0.5% estimated probability of exploitation activity in the next 30 days.

On this page
In OpenStack Ironic Python Agent through 11.6.0, a project-scoped user with the manager role can achieve arbitrary code execution on a running Ironic-Python-Agent via a maliciously constructed configuration, because the value of ntp_server is passed to a shell.

Severity

CVSS 3.1

7.2 high
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
EPSS
0.5% (unchanged from 0.5% a week ago; 0.8% 30 days ago) estimated probability of exploitation activity in the next 30 days; 42nd percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2026-07-24. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-78 Improper Neutralization of Special Elements used in an OS Command (OS Command Injection)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-66138 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-66138?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-66138?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-66138 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2026-66138

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2026-66138](https://cve.bz/cve/badge/CVE-2026-66138.svg)](https://cve.bz/cve/CVE-2026-66138)

HTML:

<a href="https://cve.bz/cve/CVE-2026-66138"><img src="https://cve.bz/cve/badge/CVE-2026-66138.svg" alt="CVE-2026-66138"></a>

Affected

  • openstack:ironic python agent

Versions

From the CNA's record in the CVE List.

ProductAffected
OpenStack Ironic Python Agent11.6.0
OpenStack Ironic Python Agentfrom 11.3.0 through 11.5.1
OpenStack Ironic Python Agentfrom 11.0.0 through 11.2.1
OpenStack Ironic Python Agentfrom 6.0.0 through 10.2.3

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian13ironic-python-agentno fix listedDEBIAN-CVE-2026-66138
Debian14ironic-python-agent11.5.0-4DEBIAN-CVE-2026-66138
Ubuntu24.04:LTS, 26.04:LTS, 26.10ironic-python-agentno fix listedUBUNTU-CVE-2026-66138

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Red Hat

Red Hat rates this Important.

Red Hat's statement

Red Hat OpenStack Platform ships ironic-python-agent as part of bare metal provisioning. Deployments using chrony for time synchronization in the IPA ramdisk are affected by this vulnerability. The impact is limited to the bare metal node running the IPA ramdisk; there is no known method for leveraging ramdisk shell access to compromise the Ironic control plane service.

In RHOSP 18.0 (Ironic 21.0+), a user with the project-scoped Manager role and node ownership can set kernel command line parameters that include a malicious ipa-ntp-server value. The Manager role is a delegated, limited-scope role introduced in Ironic 21.0.0; a manager-scoped user cannot change base service configuration or templates, cannot access nodes in other projects, and cannot pivot the attack beyond their isolated project scope.

In RHOSP 17.1 (Ironic <21.0), the Manager role does not exist. Exploitation requires either a user with the admin role, or manually starting the agent outside of Ironic's context to trigger the mDNS configuration loading path, which is not a default deployment configuration.

The mDNS attack vector is related to legacy Kubernetes Native Infrastructure efforts and is not in a standard deployment path.

Red Hat's mitigation

Remove the chronyd binary from the Ironic Python Agent (IPA) ramdisk image. The vulnerable code path is only reached when chronyd is detected as available. Without chronyd, IPA will either use ntpdate for time synchronization (which is not affected by this vulnerability, as it passes the NTP server address as a separate process argument without shell interpolation) or skip time synchronization entirely if neither tool is available. Additionally, restrict and segment the provisioning network to prevent rogue mDNS responders, and review OpenStack RBAC policies to limit which users can modify kernel_append_params on bare metal nodes.

ProductPackageStateAdvisory
Red Hat OpenShift Container Platform 4.14openshift4/ose-ironic-agent-rhel9:1791836939Fixed 2026-10-22RHSA-2026:82785
Red Hat OpenShift Container Platform 4.15openshift4/ose-ironic-agent-rhel9:1791834878Fixed 2026-10-22RHSA-2026:82813
Red Hat OpenShift Container Platform 4.16openshift4/ose-ironic-agent-rhel9:1789449407Fixed 2026-09-24RHSA-2026:67936
Red Hat OpenShift Container Platform 4.17openshift4/ose-ironic-agent-rhel9:1790073533Fixed 2026-10-01RHSA-2026:70587
Red Hat OpenShift Container Platform 4.18openshift4/ose-ironic-agent-rhel9:1788575439Fixed 2026-09-17RHSA-2026:65852
Red Hat OpenShift Container Platform 4.19openshift4/ose-ironic-agent-rhel9:1788338739Fixed 2026-09-09RHSA-2026:63047
Red Hat OpenShift Container Platform 4.20openshift4/ose-ironic-agent-rhel9:1787735456Fixed 2026-09-01RHSA-2026:60446
Red Hat OpenShift Container Platform 4.21openshift4/ose-ironic-agent-rhel9:1787555677Fixed 2026-09-01RHSA-2026:60477
Red Hat OpenShift Container Platform 4.22openshift4/ose-ironic-agent-rhel9:1787073364Fixed 2026-08-25RHSA-2026:57365
Red Hat OpenShift Container Platform 4openstack-ironic-python-agentAffected
Red Hat OpenStack Platform 16.2openstack-ironic-python-agentNot affected
Red Hat OpenStack Platform 17.1openstack-ironic-python-agentAffected
Red Hat OpenStack Platform 18.0openstack-ironic-python-agentAffected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-66138.

Attack patterns (CAPEC)

  • CAPEC-6 Argument Injection Likelihood: High · Severity: High
  • CAPEC-15 Command Delimiters Likelihood: High · Severity: High
  • CAPEC-43 Exploiting Multiple Input Interpretation Layers Likelihood: Medium · Severity: High
  • CAPEC-88 OS Command Injection Likelihood: High · Severity: High
  • CAPEC-108 Command Line Execution through SQL Injection Likelihood: Low · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON