Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2024-21626

HIGH 8.6PoCEPSS 97%

runc container breakout through process.cwd trickery and leaked fds

Also known as GHSA-xr7r-f8xq-vfvv, GO-2024-2491

Mitigation

  • Upgrade github.com/opencontainers/runc to 1.1.12 or later.

Who should check

  • Projects that depend on Go package github.com/opencontainers/runc (>= 1.0.0-rc93, < 1.1.12)
  • Anyone running opencontainers runc >=v1.0.0-rc93, < 1.1.12

Vulnerability facts

Affected
github.com/opencontainers/runc >= 1.0.0-rc93, < 1.1.12
Fixed in
1.1.12
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
Yes: see the exploit references below
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
8.6 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: None
  • User interaction: Required
  • Scope: Changed (impact reaches other components)
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: High
EPSS
11.76% chance of exploitation in 30 days (percentile 97, 2026-11-26)
CWE
CWE-403, CWE-668
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
Go github.com/opencontainers/runc>= 1.0.0-rc93, < 1.1.121.1.12osv
opencontainers runc>=v1.0.0-rc93, < 1.1.12—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2024-21626. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-21626.md
Affected: github.com/opencontainers/runc >= 1.0.0-rc93, < 1.1.12
Fixed in: 1.1.12

Steps:
1. Search this machine and project for github.com/opencontainers/runc (Go), opencontainers runc: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2024-21626 being exploited?

There is no confirmed exploitation: CVE-2024-21626 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 11.76% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2024-21626?

High: CVSS 8.6 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). A user has to take an action, such as opening a link, for the attack to work.

Which versions are affected by CVE-2024-21626?

github.com/opencontainers/runc >= 1.0.0-rc93, < 1.1.12.

Is there a fix for CVE-2024-21626?

Yes. Fixed in 1.1.12. Upgrade github.com/opencontainers/runc to 1.1.12 or later.

How do I check if I'm affected by CVE-2024-21626?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors