PowerShell Command Injection in Podman HyperV Machine (containers podman)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.61 % Β· percentile 49 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- GitHub_M
- NVD status
- Modified
Description
Podman is a tool for managing OCI containers and pods. Versions 4.8.0 through 5.8.1 contain a command injection vulnerability in the HyperV machine backend in pkg/machine/hyperv/stubber.go, where the VM image path is inserted into a PowerShell double-quoted string without sanitization, allowing $() subexpression injection. Because PowerShell evaluates subexpressions inside double-quoted strings before executing the outer command, an attacker who can control the VM image path through a crafted machine name or image directory can execute arbitrary PowerShell commands with the privileges of the Podman process. On typical Windows installations this means SYSTEM-level code execution, and only Windows is affected as the code is exclusive to the HyperV backend. This issue has been patched in version 5.8.2.
Weaknesses (CWE)
- CWE-78 β Improper Neutralization of Special Elements used in an OS Command
- CWE-94 β Improper Control of Generation of Code
References
- https://github.com/containers/podman/security/advisories/GHSA-hc8w-h2mf-hp59
- https://github.com/containers/podman/commit/571c842bd357ee626019ea97d030fb772fc654ed
- https://access.redhat.com/security/cve/CVE-2026-33414
- https://bugzilla.redhat.com/show_bug.cgi?id=2458522
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-33414.json
- https://access.redhat.com/errata/RHSA-2026:8211
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 4.0 | MEDIUM 4.0 | CVSS:4.0/AV:L/AC:H/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U | GitHub_M |
| CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H | redhat-SADP |
| CVSS 4.0 | MEDIUM 4.0 | CVSS:4.0/AV:L/AC:H/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X | NVD Β· security-advisories@github.com (Secondary) |
| CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H | NVD Β· nvd@nist.gov (Primary) |
| CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H | NVD Β· 0b0ca135-0b70-47e7-9f44-1890c2a1c46c (Secondary) |
Advisories
- GHSA-hc8w-h2mf-hp59 β PowerShell Command Injection in Podman HyperV Machine
- GO-2026-5421 β PowerShell Command Injection in Podman HyperV Machine in github.com/containers/podman
European references
- ENISA EUVD Β· EUVD-2026-22800
- GCVE Β· GCVE-0-2026-33414
Affected configurations (NVD CPE)
cpe:2.3:a:podman_project:podman:*:*:*:*:*:*:*:*β₯ 4.8.0 < 5.8.2
Affected products
| Product | Versions |
|---|---|
| containers Β· podman | affected >= 4.8.0, < 5.8.2 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST β attribution requested |
| ENISA EUVD | ENISA β reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain β this product uses data from the NVD API but is not endorsed or certified by the NVD |