bitVakt

Kernel Kit / Infix / v26.10.0latest

CVE-2026-33414

4.0medium

podman4.9.5in 3 of 4 releases

Reach podman · 3 builds in 3 of 4 releases

full reviewcross-check✓ a member decided

v25.03.1not in NVD's range
v26.01.04.9.5
v26.09.04.9.5
v26.10.0latest4.9.5
aarch64_minimal
x86_64
aarch64_minimal–
x86_64–
aarch64_minimal–
x86_64ANot affected · auto
aarch64_minimal–
x86_64ANot affected · auto
aarch64_minimal–
x86_64ANot affected

Description · NVD

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.

Published 2026-04-14NVD

CVSS 4.0Local · high privileges · no user interaction

How it is reached

Attack vector
Local
Attack complexity
High
Attack requirements
None
Privileges required
High
User interaction
None
Exploit maturity
Unreported

What it costs

Confidentiality
High
Integrity
High
Availability
High

What it costs other systems

Confidentiality
None
Integrity
None
Availability
None

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

References 6
Review Av26.10.0x86_64Not affected✓ accepted by a member, 2026-11-18 · settles 3 of 3

Fable 5.1 · high confidence · 2026-11-05

CVE-2026-33414 is a PowerShell command injection in podman's HyperV machine backend (pkg/machine/hyperv). The 4.9.5 source in this tree does contain the predecessor of the vulnerable pattern (image path formatted into a powershell -command "Resize-VHD ..." string at pkg/machine/hyperv/machine.go:929; stubber.go does not exist yet in 4.9.5), so NVD's version range is nominally correct.

However every file in pkg/machine/hyperv/ and its only importer (pkg/machine/provider/platform_windows.go) is gated by //go:build windows or a _windows.go filename suffix, and this build compiles podman with GOOS=linux for an x86_64 target, so the vulnerable code is never compiled into the shipped /usr/bin/podman.

There is no need to upgrade or backport for this CVE; document as not applicable.

Evidence 10
  1. 4.9.5 equivalent of the vulnerable code: exec.Command("powershell", "-command", fmt.Sprintf("Resize-VHD %s %d", m.ImagePath.GetPath(), ...)) — image path interpolated into a PowerShell command

    output/build/podman-4.9.5/pkg/machine/hyperv/machine.go:929

  2. Every file in the HyperV backend starts with `//go:build windows`; package is excluded from non-Windows builds

    output/build/podman-4.9.5/pkg/machine/hyperv/{config,machine,vsock}.go:1

  3. No stubber.go in 4.9.5 (the file named by the advisory was introduced in the 5.x machine refactor)

    output/build/podman-4.9.5/pkg/machine/hyperv/

  4. Sole importer of pkg/machine/hyperv; the _windows.go suffix restricts it to GOOS=windows

    output/build/podman-4.9.5/pkg/machine/provider/platform_windows.go

  5. Buildroot target Go builds use GOOS="linux"

    buildroot/package/go/go.mk:75

  6. BR2_x86_64=y, BR2_ARCH="x86_64" — Linux x86_64 target image

    output/.config:49,52

  7. BR2_PACKAGE_PODMAN=y — podman is selected for the target

    output/.config:5248

  8. podman binary is installed in the target rootfs (Linux build)

    output/target/usr/bin/podman

  9. Build targets cmd/podman cmd/rootlessport cmd/quadlet with Linux-only tags (systemd/seccomp/graphdrivers); no Windows/machine-provider build

    package/podman/podman.mk:15-71

  10. Only two Infix patches applied (disable pull retry, syslog log driver); neither touches pkg/machine

    output/build/podman-4.9.5/.applied_patches_list

Version and patches

Advisory GHSA-hc8w-h2mf-hp59: affected 4.8.0 ≤ podman ≤ 5.8.1, fixed in 5.8.2 (commit 571c842 in pkg/machine/hyperv/stubber.go). Tree is podman 4.9.5 (version/rawversion/version.go), inside the range; no upstream fix backported; Infix patches 0001-Disable-pull-retry and 0002-Add-log-driver-for-syslog are unrelated. The vulnerable package is nonetheless excluded at compile time by //go:build windows constraints under a GOOS=linux build.

Recommendation

No action required for this CVE; document as N/A (Windows-only HyperV backend not compiled into the Linux image). Consider adding a Buildroot/Infix IGNORE_CVES entry for CVE-2026-33414 on the podman package so it stops appearing in scans.

Open questions

The Infix defconfig at /mnt/worker/repos/kernelkit/infix/configs/x86_64_defconfig was not readable in this session; podman selection was confirmed from output/.config instead. No per-build Go build log with explicit GOOS was located, but the go.mk infrastructure and the Linux ELF target install make GOOS=linux unambiguous.

Members of Kernel Kit decide. Sign in if you are one.