# CVE-2026-33414: PowerShell Command Injection in Podman HyperV Machine

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 4.0
- **CVSS:** 4.0 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Local; Attack complexity: High; Attack requirements: None; Privileges required: High; User interaction: None; Confidentiality impact: High; Integrity impact: High; Availability impact: High; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None; Exploit maturity: Unreported
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.70% (percentile 49, 2026-11-26)
- **CWE:** CWE-78
- **Aliases:** GHSA-hc8w-h2mf-hp59, GO-2026-5421
- **Published:** 2026-04-14T22:30:24.000Z
- **Modified:** 2026-09-10T03:51:01.905Z

## Who should check

- Projects that depend on Go package github.com/containers/podman/v4 (\>= 4.8.0, \<= 4.9.5)
- Projects that depend on Go package github.com/containers/podman/v5 (\< 5.8.2)
- Projects that depend on Go package github.com/containers/podman
- Projects that depend on Go package github.com/containers/podman/v2
- Projects that depend on Go package github.com/containers/podman/v3
- Anyone running containers podman \>= 4.8.0, \< 5.8.2

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

## Affected and fixed versions

- Go `github.com/containers/podman/v4`: affected \>= 4.8.0, \<= 4.9.5; fixed no fix listed yet (osv)
- Go `github.com/containers/podman/v5`: affected \< 5.8.2; fixed 5.8.2 (osv)
- Go `github.com/containers/podman`: affected see advisory; fixed no fix listed yet (osv)
- Go `github.com/containers/podman/v2`: affected see advisory; fixed no fix listed yet (osv)
- Go `github.com/containers/podman/v3`: affected see advisory; fixed no fix listed yet (osv)
- containers podman: \>= 4.8.0, \< 5.8.2 (cvelist)

## Mitigation

- Upgrade github.com/containers/podman/v5 to 5.8.2 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-33414. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-33414.md
Affected: github.com/containers/podman/v4 >= 4.8.0, <= 4.9.5; github.com/containers/podman/v5 < 5.8.2; github.com/containers/podman; github.com/containers/podman/v2; github.com/containers/podman/v3
Fixed in: 5.8.2

Steps:
1. Search this machine and project for github.com/containers/podman/v4 (Go), github.com/containers/podman/v5 (Go), github.com/containers/podman (Go), github.com/containers/podman/v2 (Go), github.com/containers/podman/v3 (Go), containers podman: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-33414 being exploited?

There is no confirmed exploitation: CVE-2026-33414 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.70% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-33414?

Medium: CVSS 4.0 (v4.0, scored by CNA). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2026-33414?

github.com/containers/podman/v4 \>= 4.8.0, \<= 4.9.5; github.com/containers/podman/v5 \< 5.8.2; github.com/containers/podman; github.com/containers/podman/v2; github.com/containers/podman/v3.

### Is there a fix for CVE-2026-33414?

Yes. Fixed in 5.8.2. Upgrade github.com/containers/podman/v5 to 5.8.2 or later.

### How do I check if I'm affected by CVE-2026-33414?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/containers/podman/security/advisories/GHSA-hc8w-h2mf-hp59>
- vendor: <https://access.redhat.com/errata/RHSA-2026:8211>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2026-33414>
- patch: <https://github.com/containers/podman/commit/571c842bd357ee626019ea97d030fb772fc654ed>
- other: <https://access.redhat.com/security/cve/CVE-2026-33414>
- other: <https://bugzilla.redhat.com/show_bug.cgi?id=2458522>
- other: <https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-33414.json>
- other: <https://github.com/containers/podman>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-33414>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-hc8w-h2mf-hp59> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GO-2026-5421> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-33414> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-33414>
