Untrusted search path in crun - CVE-2026-84042

 

Untrusted search path in crun - CVE-2026-84042

Published: November 18, 2026


Vulnerability identifier: #VU166824
CSH Severity: High
CVSS v4: 8.4 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-84042
CWE-ID: CWE-426
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code with host root privileges outside container confinement.

The vulnerability exists due to an untrusted search path in crun's krun handler when launching passt from the container filesystem using execvp in rootful containers without a user namespace on Linux 7.0+ with OPEN_TREE_NAMESPACE support. A remote attacker can supply an image containing a malicious passt executable in its PATH and induce its launch with krun.use_passt enabled to execute code as root on the host.


Affected software

crun

How to mitigate CVE-2026-84042

Install security update from vendor's website.

crun - update to 1.30.1

External References

Related Security Bulletins