8.6
HIGH CVSS 3.1
CVE-2024-21626
runc container breakout through process.cwd trickery and leaked fds
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.

INFO

Published Date :

Jan. 31, 2024, 10:15 p.m.

Last Modified :

Nov. 21, 2024, 8:54 a.m.

Remotely Exploit :

No
Affected Products

The following products are affected by CVE-2024-21626 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Fedoraproject fedora
1 Linuxfoundation runc
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 HIGH [email protected]
CVSS 3.1 HIGH [email protected]
CVSS 3.1 HIGH 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
Solution
This vulnerability allows for a container escape. Update runc and related container packages to remediate.
  • Update the affected runc packages to version 1.1.12 or later.
  • Update container-related packages based on vendor guidance.
Public PoC/Exploit Available at Github

CVE-2024-21626 has a 115 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2024-21626.

URL Resource
http://packetstormsecurity.com/files/176993/runc-1.1.11-File-Descriptor-Leak-Privilege-Escalation.html Exploit Third Party Advisory VDB Entry
http://www.openwall.com/lists/oss-security/2024/02/01/1 Mailing List
http://www.openwall.com/lists/oss-security/2024/02/02/3 Mailing List
https://github.com/opencontainers/runc/commit/02120488a4c0fc487d1ed2867e901eeed7ce8ecf Patch
https://github.com/opencontainers/runc/releases/tag/v1.1.12 Release Notes
https://github.com/opencontainers/runc/security/advisories/GHSA-xr7r-f8xq-vfvv Exploit Vendor Advisory
https://lists.debian.org/debian-lts-announce/2024/02/msg00005.html
https://lists.fedoraproject.org/archives/list/[email protected]/message/2NLXNE23Q5ESQUAI22Z7A63JX2WMPJ2J/
https://lists.fedoraproject.org/archives/list/[email protected]/message/SYMO3BANINS6RGFQFKPRG4FIOJ7GWYTL/ Mailing List
http://packetstormsecurity.com/files/176993/runc-1.1.11-File-Descriptor-Leak-Privilege-Escalation.html Exploit Third Party Advisory VDB Entry
http://www.openwall.com/lists/oss-security/2024/02/01/1 Mailing List
http://www.openwall.com/lists/oss-security/2024/02/02/3 Mailing List
https://github.com/opencontainers/runc/commit/02120488a4c0fc487d1ed2867e901eeed7ce8ecf Patch
https://github.com/opencontainers/runc/releases/tag/v1.1.12 Release Notes
https://github.com/opencontainers/runc/security/advisories/GHSA-xr7r-f8xq-vfvv Exploit Vendor Advisory
https://lists.debian.org/debian-lts-announce/2024/02/msg00005.html
https://lists.fedoraproject.org/archives/list/[email protected]/message/2NLXNE23Q5ESQUAI22Z7A63JX2WMPJ2J/
https://lists.fedoraproject.org/archives/list/[email protected]/message/SYMO3BANINS6RGFQFKPRG4FIOJ7GWYTL/ Mailing List
https://www.vicarius.io/vsociety/posts/leaky-vessels-part-1-cve-2024-21626
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2024-21626 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2024-21626 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

None

Shell Python

Updated: 3 hours, 47 minutes ago
0 stars 0 fork 0 watcher
Born at : June 27, 2026, 3:13 p.m. This repo has been linked 7 different CVEs too.

AI-Powered Threat Intelligence Platform

Python

Updated: 3 days, 17 hours ago
0 stars 0 fork 0 watcher
Born at : June 24, 2026, 8:05 a.m. This repo has been linked 1 different CVEs too.

None

Updated: 1 day, 13 hours ago
0 stars 0 fork 0 watcher
Born at : June 23, 2026, 11:28 a.m. This repo has been linked 3 different CVEs too.

Unified security scanner: runs Semgrep, Trivy, Gitleaks, Checkov, and Grype concurrently, normalises findings into a common schema, sends HIGH/CRITICAL to Claude for exact code diffs, and exits with CI-friendly codes — all in under 60 seconds.

Dockerfile Ruby Go

Updated: 6 days, 2 hours ago
1 stars 0 fork 0 watcher
Born at : June 20, 2026, 11:03 p.m. This repo has been linked 1 different CVEs too.

Vulnerability AI Resolution Tool

Python

Updated: 1 week, 1 day ago
0 stars 0 fork 0 watcher
Born at : June 19, 2026, 2:32 p.m. This repo has been linked 2 different CVEs too.

Reproducible attack corpus and security matrix for OCI runtime evaluation

Shell Python

Updated: 1 week, 1 day ago
0 stars 0 fork 0 watcher
Born at : June 19, 2026, 8:46 a.m. This repo has been linked 2 different CVEs too.

Type-safe intelligence platform for indicator processing

Dockerfile Python HTML TypeScript CSS Go Template JavaScript

Updated: 1 week, 1 day ago
0 stars 0 fork 0 watcher
Born at : June 19, 2026, 7:32 a.m. This repo has been linked 2 different CVEs too.

None

Python HTML

Updated: 1 week, 1 day ago
2 stars 0 fork 0 watcher
Born at : June 17, 2026, 10:33 p.m. This repo has been linked 17 different CVEs too.

None

appsec devsecops mcp vulnerability-management

Python

Updated: 1 week, 5 days ago
0 stars 0 fork 0 watcher
Born at : June 15, 2026, 6:34 p.m. This repo has been linked 1 different CVEs too.

None

Dockerfile Python Shell C Java

Updated: 1 week, 5 days ago
0 stars 0 fork 0 watcher
Born at : June 13, 2026, 4:20 p.m. This repo has been linked 2 different CVEs too.

None

Dockerfile Python HCL Open Policy Agent Shell

Updated: 2 weeks, 1 day ago
0 stars 0 fork 0 watcher
Born at : June 12, 2026, 3:33 p.m. This repo has been linked 2 different CVEs too.

SOC Analyst Interactive Guide - Guía de consulta interactiva para SOC Analysts

HTML JavaScript Shell

Updated: 1 week, 4 days ago
0 stars 0 fork 0 watcher
Born at : June 7, 2026, 11:25 p.m. This repo has been linked 1 different CVEs too.

None

Dockerfile Python HTML Shell

Updated: 1 month, 1 week ago
0 stars 0 fork 0 watcher
Born at : May 19, 2026, 9:58 a.m. This repo has been linked 2 different CVEs too.

Local Vulnerabilities Check windows and linux

PowerShell Shell

Updated: 2 weeks ago
0 stars 0 fork 0 watcher
Born at : May 18, 2026, 12:42 a.m. This repo has been linked 32 different CVEs too.

None

Dockerfile Python TypeScript JavaScript CSS

Updated: 1 month, 2 weeks ago
0 stars 0 fork 0 watcher
Born at : May 12, 2026, 2 p.m. This repo has been linked 1 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2024-21626 vulnerability anywhere in the article.

  • The Hacker News
ThreatsDay Bulletin: AI Agents Gone Wrong, Sketchy C2 Tools, ClickFix Tricks, JS Backdoors & 20+ New Stories

It got stupid again.The internet still feels held together with tape. Bad plugins, old bugs, fake tools, trusted apps doing shady things. Same mess, new wrapper. And now the weird stuff is normal. For ... Read more

Published Date: Jun 04, 2026 (3 weeks, 2 days ago)
  • Daily CyberSecurity
OCI Fixes Container Escape Vulnerabilities in runc (CVE-2025-31133, CVE-2025-52565, CVE-2025-52881)

The Open Container Initiative (OCI) has released security updates to address three high-severity vulnerabilities affecting its container runtime runc, including flaws that could lead to container esca ... Read more

Published Date: Nov 07, 2025 (7 months, 3 weeks ago)
  • Cybersecurity News
Threat Actors Exploiting Misconfigured Docker Remote API Servers with Gafgyt Malware

Trend Micro Research has revealed a significant evolution in the behavior of the Gafgyt malware (also known as Bashlite or Lizkebab), which is now targeting misconfigured Docker Remote API servers. Th ... Read more

Published Date: Dec 04, 2024 (1 year, 6 months ago)
  • Kaspersky
Improvements to our SIEM for Q3 2024 | Kaspersky official blog

SIEM Rules for detecting atypical behavior in container infrastructure at the data collection stage, and other updates to our SIEM system. November 2, 2024 Clearly, the sooner malicious actions come t ... Read more

Published Date: Nov 02, 2024 (1 year, 7 months ago)

The following table lists the changes that have been made to the CVE-2024-21626 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference http://packetstormsecurity.com/files/176993/runc-1.1.11-File-Descriptor-Leak-Privilege-Escalation.html
    Added Reference http://www.openwall.com/lists/oss-security/2024/02/01/1
    Added Reference http://www.openwall.com/lists/oss-security/2024/02/02/3
    Added Reference https://github.com/opencontainers/runc/commit/02120488a4c0fc487d1ed2867e901eeed7ce8ecf
    Added Reference https://github.com/opencontainers/runc/releases/tag/v1.1.12
    Added Reference https://github.com/opencontainers/runc/security/advisories/GHSA-xr7r-f8xq-vfvv
    Added Reference https://lists.debian.org/debian-lts-announce/2024/02/msg00005.html
    Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/2NLXNE23Q5ESQUAI22Z7A63JX2WMPJ2J/
    Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/SYMO3BANINS6RGFQFKPRG4FIOJ7GWYTL/
    Added Reference https://www.vicarius.io/vsociety/posts/leaky-vessels-part-1-cve-2024-21626
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Feb. 19, 2024

    Action Type Old Value New Value
    Added Reference GitHub, Inc. https://lists.debian.org/debian-lts-announce/2024/02/msg00005.html [No types assigned]
  • CVE Modified by [email protected]

    Feb. 11, 2024

    Action Type Old Value New Value
    Added Reference GitHub, Inc. https://lists.fedoraproject.org/archives/list/[email protected]/message/2NLXNE23Q5ESQUAI22Z7A63JX2WMPJ2J/ [No types assigned]
  • Initial Analysis by [email protected]

    Feb. 09, 2024

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
    Changed Reference Type http://packetstormsecurity.com/files/176993/runc-1.1.11-File-Descriptor-Leak-Privilege-Escalation.html No Types Assigned http://packetstormsecurity.com/files/176993/runc-1.1.11-File-Descriptor-Leak-Privilege-Escalation.html Exploit, Third Party Advisory, VDB Entry
    Changed Reference Type http://www.openwall.com/lists/oss-security/2024/02/01/1 No Types Assigned http://www.openwall.com/lists/oss-security/2024/02/01/1 Mailing List
    Changed Reference Type http://www.openwall.com/lists/oss-security/2024/02/02/3 No Types Assigned http://www.openwall.com/lists/oss-security/2024/02/02/3 Mailing List
    Changed Reference Type https://github.com/opencontainers/runc/commit/02120488a4c0fc487d1ed2867e901eeed7ce8ecf No Types Assigned https://github.com/opencontainers/runc/commit/02120488a4c0fc487d1ed2867e901eeed7ce8ecf Patch
    Changed Reference Type https://github.com/opencontainers/runc/releases/tag/v1.1.12 No Types Assigned https://github.com/opencontainers/runc/releases/tag/v1.1.12 Release Notes
    Changed Reference Type https://github.com/opencontainers/runc/security/advisories/GHSA-xr7r-f8xq-vfvv No Types Assigned https://github.com/opencontainers/runc/security/advisories/GHSA-xr7r-f8xq-vfvv Exploit, Vendor Advisory
    Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/SYMO3BANINS6RGFQFKPRG4FIOJ7GWYTL/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/SYMO3BANINS6RGFQFKPRG4FIOJ7GWYTL/ Mailing List
    Added CWE NIST CWE-668
    Added CPE Configuration OR *cpe:2.3:a:linuxfoundation:runc:*:*:*:*:*:*:*:* versions up to (excluding) 1.1.12
    Added CPE Configuration OR *cpe:2.3:o:fedoraproject:fedora:39:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    Feb. 06, 2024

    Action Type Old Value New Value
    Added Reference GitHub, Inc. https://lists.fedoraproject.org/archives/list/[email protected]/message/SYMO3BANINS6RGFQFKPRG4FIOJ7GWYTL/ [No types assigned]
  • CVE Modified by [email protected]

    Feb. 05, 2024

    Action Type Old Value New Value
    Added Reference GitHub, Inc. http://packetstormsecurity.com/files/176993/runc-1.1.11-File-Descriptor-Leak-Privilege-Escalation.html [No types assigned]
  • CVE Modified by [email protected]

    Feb. 02, 2024

    Action Type Old Value New Value
    Added Reference GitHub, Inc. http://www.openwall.com/lists/oss-security/2024/02/02/3 [No types assigned]
  • CVE Modified by [email protected]

    Feb. 01, 2024

    Action Type Old Value New Value
    Added Reference GitHub, Inc. http://www.openwall.com/lists/oss-security/2024/02/01/1 [No types assigned]
  • CVE Received by [email protected]

    Jan. 31, 2024

    Action Type Old Value New Value
    Added 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.
    Added Reference GitHub, Inc. https://github.com/opencontainers/runc/security/advisories/GHSA-xr7r-f8xq-vfvv [No types assigned]
    Added Reference GitHub, Inc. https://github.com/opencontainers/runc/commit/02120488a4c0fc487d1ed2867e901eeed7ce8ecf [No types assigned]
    Added Reference GitHub, Inc. https://github.com/opencontainers/runc/releases/tag/v1.1.12 [No types assigned]
    Added CWE GitHub, Inc. CWE-403
    Added CWE GitHub, Inc. CWE-668
    Added CVSS V3.1 GitHub, Inc. AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.