CVE Wiki Pixee · CVE intelligence
← All CVEs

CVE-2024-21626

High · CVSS 8.6

runc — File descriptor leak leading to container escape / host filesystem namespace access

CVSS
8.6
nvd
EPSS
18.1%
97th pct
KEV
No
Class
oss containerizable
CWE-403, CWE-668, CWE-668, CWE-200

Description

runc is a CLI tool for spawning and running containers on Linux according to the OCI specification. In runc 1.1.11 and earlier, due to an internal file descriptor leak, an attacker could cause a newly-spawned container process (from runc exec) to have a working directory in the host filesystem namespace, allowing for a container escape by giving access to the host filesystem ("attack 2"). The same attack could be used by a malicious image to allow a container process to gain access to the host filesystem through runc run ("attack 1"). Variants of attacks 1 and 2 could be also be used to overwrite semi-arbitrary host binaries, allowing for complete container escapes ("attack 3a" and "attack 3b"). runc 1.1.12 includes patches for this issue.

Search profile — drives PoC discovery

Symbols runc execrunc runworking directoryhost filesystem namespacefile descriptor leakOCI specificationopencontainers/runc02120488a4c0fc487d1ed2867e901eeed7ce8ecf
Keywords CVE-2024-21626runccontainer escapefile descriptor leakrunc 1.1.11runc exec privilege escalationhost filesystem accessattack 1 attack 2 attack 3a attack 3brunc working directory escapeoss-security runc 2024packetstormsecurity runc 1.1.11
Versions: <= 1.1.11

Ranked PoCs (62) — best first

Heuristic ranking — not yet expert-vetted. Scored on structure + provenance, not execution.

Recall-favoring discovery; ranking by the Stage-4 scorer (Adam's rubric). Scanner/aggregator repos are hidden.

Affected packages

Go github.com/opencontainers/runc 1.0.0-rc93 → 1.1.12

References

Status: enriched · ingested 2026-06-30T06:00:22.000Z · profiled 2026-06-30T18:10:12.581Z