CVE-2026-33414: CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in containers podman
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.
AI Analysis
Technical Summary
CVE-2026-33414 is an OS command injection vulnerability in Podman's HyperV machine backend (pkg/machine/hyperv/stubber.go) affecting versions 4.8.0 through 5.8.1. The vulnerability occurs because the VM image path is embedded unsanitized in a PowerShell double-quoted string, enabling subexpression injection via $() syntax. 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, which on Windows typically means SYSTEM-level execution. This vulnerability is exclusive to Windows due to the HyperV backend dependency. The issue has been patched in Podman version 5.8.2. The CVSS 4.0 base score is 4.0, indicating medium severity with local attack vector, high complexity, and high impact on confidentiality, integrity, and availability. No known exploits in the wild have been reported. Vendor advisories from Red Hat confirm the vulnerability and patch availability.
Potential Impact
An attacker able to control the VM image path on a Windows system running Podman with the HyperV backend can execute arbitrary PowerShell commands with SYSTEM-level privileges, leading to full system compromise. This elevates the risk of unauthorized code execution and potential system takeover. The vulnerability does not affect non-Windows platforms or Podman versions outside the specified range.
Mitigation Recommendations
This vulnerability has been fixed in Podman version 5.8.2. Users should upgrade to version 5.8.2 or later to remediate the issue. No additional mitigations are specified by the vendor advisory. Patch status is confirmed by Red Hat advisories linked in the vendor advisory content.
CVE-2026-33414: CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in containers podman
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.
CVSS v4.0
Score 4.0medium
Affected software
pkg:github/containers/podmanRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-33414 is an OS command injection vulnerability in Podman's HyperV machine backend (pkg/machine/hyperv/stubber.go) affecting versions 4.8.0 through 5.8.1. The vulnerability occurs because the VM image path is embedded unsanitized in a PowerShell double-quoted string, enabling subexpression injection via $() syntax. 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, which on Windows typically means SYSTEM-level execution. This vulnerability is exclusive to Windows due to the HyperV backend dependency. The issue has been patched in Podman version 5.8.2. The CVSS 4.0 base score is 4.0, indicating medium severity with local attack vector, high complexity, and high impact on confidentiality, integrity, and availability. No known exploits in the wild have been reported. Vendor advisories from Red Hat confirm the vulnerability and patch availability.
Potential Impact
An attacker able to control the VM image path on a Windows system running Podman with the HyperV backend can execute arbitrary PowerShell commands with SYSTEM-level privileges, leading to full system compromise. This elevates the risk of unauthorized code execution and potential system takeover. The vulnerability does not affect non-Windows platforms or Podman versions outside the specified range.
Mitigation Recommendations
This vulnerability has been fixed in Podman version 5.8.2. Users should upgrade to version 5.8.2 or later to remediate the issue. No additional mitigations are specified by the vendor advisory. Patch status is confirmed by Red Hat advisories linked in the vendor advisory content.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-03-19T17:02:34.171Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
- Vendor Advisory Urls
- [{"url":"https://access.redhat.com/security/cve/CVE-2026-33414","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:8211","vendor":"Red Hat"}]
Threat ID: 69dec76b82d89c981f15e825
Added to database: 04/14/2026, 23:02:03 UTC
Last enriched: 07/15/2026, 08:59:41 UTC
Last updated: 07/31/2026, 19:22:58 UTC
Views: 152
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.