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.
Published: 2026-07-24
Score: 7.2 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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 yet.

History

Wed, 29 Jul 2026 00:15:00 +0000

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


Sun, 26 Jul 2026 04:15:00 +0000

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

Fri, 24 Jul 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Fri, 24 Jul 2026 05:45:00 +0000

Type Values Removed Values Added
First Time appeared Openstack ironic-python-agent
Vendors & Products Openstack ironic-python-agent

Fri, 24 Jul 2026 04:45:00 +0000

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'}


Subscriptions

Openstack Ironic-python-agent Ironic Python Agent
cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2026-07-24T23:22:05.285Z

Reserved: 2026-07-24T03:53:11.727Z

Link: CVE-2026-66138

cve-icon Vulnrichment

Updated: 2026-07-24T23:22:05.285Z

cve-icon NVD

Status : Deferred

Published: 2026-07-24T05:16:49.433

Modified: 2026-07-30T19:32:25.133

Link: CVE-2026-66138

cve-icon Redhat

Severity : Important

Publid Date: 2026-07-24T03:53:12Z

Links: CVE-2026-66138 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-04T15:15:04Z

Weaknesses
  • CWE-78

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