Skip to main content
← All vulnerabilities
CVE-2026-33414GO-2026-5421GHSA-HC8W-H2MF-HP59

PowerShell Command Injection in Podman HyperV Machine

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.8.2
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: total

  3. Record last updated

Affected versions

  • containers podman

    From 4.8.0 · fixed in 5.8.2

  • github.com/containers/podmanGo

    All versions

  • github.com/containers/podman/v2Go

    All versions

  • github.com/containers/podman/v3Go

    All versions

  • github.com/containers/podman/v4Go

    From 4.8.0

  • github.com/containers/podman/v5Go

    fixed in 5.8.2

  • github.com/containers/podman/v4Go

    From 4.8.0 · through 4.9.5

References 2

GitHub · containers/podman