Skip to content
OpenAdvisories

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 products

VendorProductAffectedFixed
containers podman >= 4.8.0, < 5.8.2 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 podman 5.8.2+ds1-1 —
Debian 13 podman No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 podman No fix yet —
Ubuntu 26.04 LTS podman No fix yet —
Ubuntu 25.10 podman No fix yet —
ReleasePackageFixed inAdvisory
Red Hat Hardened Images 1 podman +5 5.8.2-1.hum1 RHSA-2026:8211
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed podman 5.8.2-1.1 openSUSE-SU-2026:10706-1
openSUSE Leap 16.0 govulncheck-vulndb 0.0.20260723T184607-160000.1.1 openSUSE-SU-2026:21483-1

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 podman No fix yet —

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling falco-no-driver 0.44.0-r0 —

Affected packages

Advisories 4

References