CVE-2026-33414
published 2026-04-14CVE-2026-33414: 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…
PriorityP350high7.8CVSS 3.1
AVLACHPRLUINSCCHIHAH
EPSS
0.61%
45.5th percentile
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.
Affected
4 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| containers | podman | — | — |
| github.com | containers_podman_v4 | 4.8.0 – 4.9.5 | — |
| github.com | containers_podman_v5 | >= 0 < 5.8.2 | 5.8.2 |
| podman_project | podman | >= 4.8.0 < 5.8.2 | 5.8.2 |
CVSS provenance
nvdv3.17.8HIGHCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
nvdv4.04.0MEDIUMCVSS: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
vendor_redhat4.0MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Red Hat
podman: github.com/containers/podman: Podman: Arbitrary code execution via command injection in HyperV backend
vendor_redhat·2026-04-14·CVSS 4.0
CVE-2026-33414 [MEDIUM] CWE-94 podman: github.com/containers/podman: Podman: Arbitrary code execution via command injection in HyperV backend
podman: github.com/containers/podman: Podman: Arbitrary code execution via command injection in HyperV backend
A flaw was found in Podman, a tool for managing containers. This vulnerability, located in the HyperV machine backend, allows for command injection. An attacker who can manipulate the virtual machine (VM) image path can inject and execute arbitrary PowerShell commands. This could lead to unauthorized system-level code execution on Windows installations where Podman is running.
Statement: This flaw in Podman's HyperV backend does not affect Red Hat products. The vulnerable code path is exclusive to Windows installations, and the HyperV backend is not utilized on Red Hat Enterprise Linux or OpenShift Container Platform.
Package: podman (Red Hat Enterprise Linux 10) - Not affected
GHSA
PowerShell Command Injection in Podman HyperV Machine
ghsa·2026-04-14
CVE-2026-33414 [MEDIUM] CWE-78 PowerShell Command Injection in Podman HyperV Machine
PowerShell Command Injection in Podman HyperV Machine
## Summary
A command injection vulnerability exists in Podman's HyperV machine backend. The VM image path is inserted into a PowerShell double-quoted string without sanitization, allowing `$()` subexpression injection.
## Affected Code
**File**: `pkg/machine/hyperv/stubber.go:647`
```go
resize := exec.Command("powershell", []string{
"-command",
fmt.Sprintf("Resize-VHD \"%s\" %d", imagePath.GetPath(), newSize.ToBytes()),
}...)
```
## Root Cause
PowerShell evaluates `$()` subexpressions inside double-quoted strings before executing the outer command. The `fmt.Sprintf` call places the user-controlled image path directly into double quotes without escaping or sanitization.
## Impact
An attacker who can control the VM image path (t
No detection rules found.
No public exploits indexed.
https://github.com/containers/podman/commit/571c842bd357ee626019ea97d030fb772fc654edhttps://github.com/containers/podman/security/advisories/GHSA-hc8w-h2mf-hp59https://access.redhat.com/errata/RHSA-2026:8211https://access.redhat.com/security/cve/CVE-2026-33414https://bugzilla.redhat.com/show_bug.cgi?id=2458522https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-33414.json
2026-04-14
Published