Skip to content
Threat Feed
high advisory

Privilege Escalation in crun via libkrun and passt Networking

A privilege escalation vulnerability in crun versions 1.29 and later allows attackers to execute container-image payloads with host root privileges when using libkrun with passt networking.

CVE search metadata

CVE search record: CVE-2026-84042. Severity: high. CVSS: 7.8. KEV: no. Product: crun (>= 1.29). Brief: Privilege Escalation in crun via libkrun and passt Networking. Brief link: https://feed.craftedsignal.io/briefs/2026-09-crun-priv-esc/

A security vulnerability identified as CVE-2026-84042 affects the crun container runtime when compiled with libkrun support. The issue arises when a container is executed with root privileges and configured to use passt networking via the 'krun.use_passt' setting. Under these specific conditions, a regression introduced in version 1.29 allows an attacker to manipulate the container execution environment. Specifically, the runtime may inadvertently execute malicious payloads defined within the container image with the effective privileges of the host root user. This represents a critical breakdown in container isolation, as an attacker with control over the container image or runtime configuration can achieve full system compromise. The vulnerability affects all versions of crun starting from 1.29. Defenders should audit container runtime configurations to identify systems utilizing libkrun and passt networking simultaneously.

Attack Chain

  1. Attacker crafts a malicious container image containing a payload designed to execute upon container startup.
  2. Attacker gains access to a host system where the container runtime is configured to use crun >= 1.29.
  3. Attacker ensures the container runtime is built with libkrun and configured with passt networking (krun.use_passt).
  4. Attacker triggers the deployment of the malicious container image using rootful execution.
  5. The crun runtime initializes the container using libkrun and passt networking.
  6. Due to the vulnerability, the runtime executes the payload within the image context.
  7. The payload executes with host root privileges, bypassing intended container isolation.
  8. Attacker gains full control over the host system.

Impact

Successful exploitation allows a low-privileged actor to escalate privileges to root on the host machine. This affects any infrastructure relying on crun as its container runtime, specifically those utilizing libkrun-based sandboxing. Impact includes full system compromise, exfiltration of sensitive host-level data, and potential persistence mechanisms being established within the host environment.

Recommendation

  1. Upgrade crun to a version where this regression is patched once available from your distribution vendor.
  2. Until a patch is applied, disable the use of libkrun or passt networking (krun.use_passt) for rootful containers.
  3. Audit container orchestration configurations (e.g., Kubernetes, Podman, or Docker) to identify environments running crun 1.29 or later.
  4. Implement restricted container security policies to prevent the deployment of untrusted container images.

Immediate actions

Audit container environments for crun version 1.29 or greater

Security Engineering 48h

Mitigations

Disable libkrun or passt networking for rootful containers until a patch is available

immediate IT Operations

CVE-2026-84042