CVE-2026-66138

ironic-python-agent: OpenStack Ironic Python Agent: Arbitrary code execution via malicious configuration

Published Jul 24, 2026 CVSS 3.1 · 7.2 High EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

The vulnerability arises when a project‑scoped user with the manager role supplies a maliciously constructed configuration for the Ironic‑Python‑Agent. The value given for the ntp_server field is passed directly to the shell without validation, which allows the attacker to execute arbitrary shell commands on the host running the agent. This results in full code execution within the context of the agent process, compromising the integrity and confidentiality of the affected node.

Affected Systems

The flaw affects the OpenStack Ironic Python Agent, specifically all releases up to and including version 11.6.0. Deployments using the vulnerable agent without upgrading beyond 11.6.0 are at risk. The vulnerability requires that the attacker holds a project‑scoped manager role, tying exploitation to authenticated users with elevated project permissions.

Risk and Exploitability

The CVSS score of 7.2 classifies this as a high‑severity flaw. The EPSS score of less than 1 % indicates a low current exploitation probability, and the vulnerability is not yet listed in CISA's KEV catalog. Based on the description, it is inferred that the likely attack vector involves a project‑scoped manager submitting a malicious configuration that sets the ntp_server field, possibly via the Ironic management API or a local configuration interface. Because the injection occurs at configuration time, exploitation is limited to the window when the configuration is applied, but the impact remains severe once executed.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to an Ironic Python Agent version newer than 11.6.0, where the ntp_server parameter is properly sanitized or removed from shell execution.
  • If an upgrade is not immediately possible, temporarily eliminate the ntp_server configuration or replace it with a static, validated NTP server address to prevent command injection until a patch is applied.
  • Limit the manager role to trusted users only; audit project permissions to confirm that only authorized personnel can modify agent configuration.
  • Apply input validation or escaping for any environment variables or command strings derived from user input within the agent’s startup scripts, following CWE‑78 remediation best practices.

Generated by OpenCVE AI on August 4, 2026 at 15:11 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Title OS Command Injection in Ironic Python Agent via NTP Server Configuration ironic-python-agent: OpenStack Ironic Python Agent: Arbitrary code execution via malicious configuration
References
Metrics threat_severity

None

threat_severity

Important

Type Values Removed Values Added
Title OS Command Injection in Ironic Python Agent via NTP Server Configuration
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Openstack ironic-python-agent
Vendors & Products Openstack ironic-python-agent
Type Values Removed Values Added
Description 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.
First Time appeared Openstack
Openstack ironic Python Agent
Weaknesses CWE-78
CPEs cpe:2.3:a:openstack:ironic_python_agent:*:*:*:*:*:*:*:*
Vendors & Products Openstack
Openstack ironic Python Agent
References
Metrics cvssV3_1

{'score': 7.2, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H'}

Weaknesses
  • CWE-78

    Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Jul 24, 2026, 11:22 PM
Reserved
Jul 24, 2026, 3:53 AM
Status
Deferred
Published
Jul 24, 2026, 5:16 AM
Modified
Oct 24, 2026, 1:10 PM
Severity
Important
Public date
Jul 24, 2026, 3:53 AM