Skip to content
Noroxi
NVD / CVE Program· CNA GitHub_M

CVE-2024-21626: runc container breakout through process.cwd trickery and leaked fds

Noroxi assessment

Priority: Plan (action score 40/100)

  • A ready-made attack module is public (Metasploit); exploiting it takes no special expertise.
  • Public proof-of-concept code exists (GitHub); there is no record of exploitation in the wild.
  • Probability of exploitation in the next 30 days: 18.9% (FIRST EPSS); higher than 97.3% of all records.
  • Someone with local access to the system can trigger it. No account or password is required. A user must open a link or visit a page. No special conditions are required; it is repeatable.
  • Fixed version: aardvark-dns (AlmaLinux:8) 2:1.7.0-1.module_el8.9.0+3657+d86e192f, 2:1.0.1-38.module_el8.9.0+3627+db8ec155; buildah (AlmaLinux:8) 1:1.31.3-3.module_el8.9.0+3717+81096349, 1:1.24.6-7.module_el8.9.0+3627+db8ec155; buildah-tests (AlmaLinux:8) 1:1.31.3-3.module_el8.9.0+3717+81096349, 1:1.24.6-7.module_el8.9.0+3627+db8ec155, 1:1.24.6-7.module_el8.9.0+3687+dcd7ef8f.

Add it to your regular patch cycle. Upgrade to aardvark-dns (AlmaLinux:8) 2:1.7.0-1.module_el8.9.0+3657+d86e192f, 2:1.0.1-38.module_el8.9.0+3627+db8ec155; buildah (AlmaLinux:8) 1:1.31.3-3.module_el8.9.0+3717+81096349, 1:1.24.6-7.module_el8.9.0+3627+db8ec155; buildah-tests (AlmaLinux:8) 1:1.31.3-3.module_el8.9.0+3717+81096349, 1:1.24.6-7.module_el8.9.0+3627+db8ec155, 1:1.24.6-7.module_el8.9.0+3687+dcd7ef8f or later.

Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it

Primary sources: NVD · CVE.org · FIRST EPSS

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.

HighCVSS 8.6 · v3.1—Weaponized Fix available
Published
Jan 31, 2024
Updated
Sep 17, 2026
EPSS
18.9% · 97th percentile

Report tools

JSON

Action score

40

Plan

Add it to your regular patch cycle.

CVSS
34 / 40 · 8.6 / 10
CISA KEV
0 / 30 · Not listed
EPSS
6 / 30 · 18.9%

CISA SSVC decision

Exploitation
proof of concept
Automatable
no
Technical impact
total

Vulnrichment: CISA's decision-tree inputs.

CNA vs NVD score

NVD
8.6
CNA · GitHub_M
8.6
agree

The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.

Get told when this record changes

  • Not in KEV: no record of exploitation in the wild
  • Weaponized exploit exists
  • A fix has been released

If any of these changes, we'll tell you in the daily email digest.

Follow CVE-2024-21626

When you'll hear from us

  • when it enters CISA KEV
  • when exploit code appears or is weaponized
  • when the record is updated (including a fixed version)
  • when EPSS rises 20 points in a week

One daily email digest (06:00 UTC); connect a webhook for KEV listings and weaponized exploits instantly.

Your free account also gets you

Running WordPress? Scan your site free with WP Lens

  • Stack alerts: add the products and versions you run, get the new CVEs that affect them
  • Uptime monitoring: 1 site, instant email when it goes down
  • Add your domain: subdomains and takeover risk scanned every week (1 domain)
  • 10 scans an hour on the security tools (3 a day without an account), an API key and MCP
  • All your scans in one panel: findings, what changed in the last scan, a report per domain or per client (PDF, share link)
All free tools

Running WordPress? Scan your site free with WP Lens

Is your version affected? Check it

Noroxi analysis

What does it mean in your environment?

The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.

We use this product, ask for help

Affected systems

Is your version affected?

Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.

VendorProduct
linuxfoundationrunc
fedoraprojectfedora

Using runc? Add it to your stack and be the first to know about CVEs like this one. (Docker)

Watch new CVEs for runc

When you'll hear from us

  • when a new CVE affecting this product is published
  • when a record in your stack enters KEV or gets exploit code

One daily email digest (06:00 UTC); connect a webhook for KEV listings and weaponized exploits instantly.

Your free account also gets you

Running WordPress? Scan your site free with WP Lens

  • Stack alerts: add the products and versions you run, get the new CVEs that affect them
  • Uptime monitoring: 1 site, instant email when it goes down
  • Add your domain: subdomains and takeover risk scanned every week (1 domain)
  • 10 scans an hour on the security tools (3 a day without an account), an API key and MCP
  • All your scans in one panel: findings, what changed in the last scan, a report per domain or per client (PDF, share link)
All free tools

Sign up with email · Have an account? Sign in

Free account, no card. Unfollow any time.

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • fedoraproject fedora39
  • linuxfoundation runcbefore 1.1.12

Versions reported by the vendor

Affected version ranges reported by the assigning authority (GitHub_M). Independent of NVD's CPE analysis and usually ahead of it.

  • opencontainers runc

    • >=v1.0.0-rc93, < 1.1.12affected

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
AlmaLinux:8aardvark-dnsbefore 2:1.7.0-1.module_el8.9.0+3657+d86e192f2:1.7.0-1.module_el8.9.0+3657+d86e192f
AlmaLinux:8aardvark-dnsbefore 2:1.0.1-38.module_el8.9.0+3627+db8ec1552:1.0.1-38.module_el8.9.0+3627+db8ec155
AlmaLinux:8buildahbefore 1:1.31.3-3.module_el8.9.0+3717+810963491:1.31.3-3.module_el8.9.0+3717+81096349
AlmaLinux:8buildahbefore 1:1.24.6-7.module_el8.9.0+3627+db8ec1551:1.24.6-7.module_el8.9.0+3627+db8ec155
AlmaLinux:8buildah-testsbefore 1:1.31.3-3.module_el8.9.0+3717+810963491:1.31.3-3.module_el8.9.0+3717+81096349
AlmaLinux:8buildah-testsbefore 1:1.24.6-7.module_el8.9.0+3627+db8ec1551:1.24.6-7.module_el8.9.0+3627+db8ec155
AlmaLinux:8buildah-testsbefore 1:1.24.6-7.module_el8.9.0+3687+dcd7ef8f1:1.24.6-7.module_el8.9.0+3687+dcd7ef8f
AlmaLinux:8cockpit-podmanbefore 75-1.module_el8.9.0+3643+9234dc3b75-1.module_el8.9.0+3643+9234dc3b
AlmaLinux:8cockpit-podmanbefore 46-1.module_el8.7.0+3344+5bcd850f46-1.module_el8.7.0+3344+5bcd850f
AlmaLinux:8conmonbefore 3:2.1.8-1.module_el8.9.0+3643+9234dc3b3:2.1.8-1.module_el8.9.0+3643+9234dc3b
AlmaLinux:8conmonbefore 2:2.1.4-2.module_el8.9.0+3627+db8ec1552:2.1.4-2.module_el8.9.0+3627+db8ec155
AlmaLinux:8conmonbefore 2:2.1.4-2.module_el8.9.0+3687+dcd7ef8f2:2.1.4-2.module_el8.9.0+3687+dcd7ef8f
AlmaLinux:8container-selinuxbefore 2:2.205.0-3.module_el8.9.0+3627+db8ec1552:2.205.0-3.module_el8.9.0+3627+db8ec155
AlmaLinux:8container-selinuxbefore 2:2.221.0-1.module_el8.9.0+3643+9234dc3b2:2.221.0-1.module_el8.9.0+3643+9234dc3b
AlmaLinux:8containernetworking-pluginsbefore 1:1.1.1-6.module_el8.9.0+3711+04fcca5e1:1.1.1-6.module_el8.9.0+3711+04fcca5e
AlmaLinux:8containernetworking-pluginsbefore 1:1.3.0-8.module_el8.9.0+3717+810963491:1.3.0-8.module_el8.9.0+3717+81096349
AlmaLinux:8containers-commonbefore 2:1-71.module_el8.9.0+3717+810963492:1-71.module_el8.9.0+3717+81096349
AlmaLinux:8containers-commonbefore 2:1-38.module_el8.9.0+3627+db8ec1552:1-38.module_el8.9.0+3627+db8ec155
AlmaLinux:8critbefore 3.15-3.module_el8.6.0+2877+8e437bf53.15-3.module_el8.6.0+2877+8e437bf5
AlmaLinux:8critbefore 3.15-3.module_el8.6.0+3137+d33c3efb3.15-3.module_el8.6.0+3137+d33c3efb
AlmaLinux:8critbefore 3.18-4.module_el8.9.0+3643+9234dc3b3.18-4.module_el8.9.0+3643+9234dc3b
AlmaLinux:8criubefore 3.18-4.module_el8.9.0+3643+9234dc3b3.18-4.module_el8.9.0+3643+9234dc3b
AlmaLinux:8criubefore 3.15-3.module_el8.6.0+2877+8e437bf53.15-3.module_el8.6.0+2877+8e437bf5
AlmaLinux:8criubefore 3.15-3.module_el8.6.0+3137+d33c3efb3.15-3.module_el8.6.0+3137+d33c3efb

+96

Other highest-scoring records for the same primary product.

  • CVE-2021-30465runc before 1.0.0-rc95 allows a Container Filesystem Breakout via Directory Traversal.
    37Monitor
  • CVE-2025-52565container escape due to /dev/console mount and related races
    33Monitor
  • CVE-2023-28642AppArmor bypass with symlinked /proc in runc
    31Monitor

Published before and after this one in the same product

  • ← EarlierCVE-2023-27561Mar 3, 2023 · runc through 1.1.4 has Incorrect Access Control leading to Escalation of Privileges, related to libcontainer/rootfs_linux.go.
    28Monitor
  • ← EarlierCVE-2023-25809Mar 29, 2023 · rootless: `/sys/fs/cgroup` is writable when cgroupns isn't unshared in runc
    25Monitor
  • Later →CVE-2024-45310Sep 3, 2024 · runc can be confused to create empty files/directories on the host
    14Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
almalinux:aardvark-dns2:1.0.1-38.module_el8.9.0+3627+db8ec155 · AlmaLinux:8Package registry (OSV)
almalinux:buildah1:1.24.6-7.module_el8.9.0+3627+db8ec155 · AlmaLinux:8Package registry (OSV)
almalinux:buildah-tests1:1.24.6-7.module_el8.9.0+3627+db8ec155 · AlmaLinux:8Package registry (OSV)
almalinux:cockpit-podman46-1.module_el8.7.0+3344+5bcd850f · AlmaLinux:8Package registry (OSV)
almalinux:conmon2:2.1.4-2.module_el8.9.0+3627+db8ec155 · AlmaLinux:8Package registry (OSV)
almalinux:container-selinux2:2.205.0-3.module_el8.9.0+3627+db8ec155 · AlmaLinux:8Package registry (OSV)
almalinux:containernetworking-plugins1:1.1.1-6.module_el8.9.0+3711+04fcca5e · AlmaLinux:8Package registry (OSV)
almalinux:containers-common2:1-38.module_el8.9.0+3627+db8ec155 · AlmaLinux:8Package registry (OSV)
almalinux:crit3.15-3.module_el8.6.0+3137+d33c3efb · AlmaLinux:8Package registry (OSV)
almalinux:criu3.15-3.module_el8.6.0+2877+8e437bf5 · AlmaLinux:8Package registry (OSV)
almalinux:criu-devel3.15-3.module_el8.6.0+2877+8e437bf5 · AlmaLinux:8Package registry (OSV)
almalinux:runc4:1.1.12-1.el9_3 · AlmaLinux:9Package registry (OSV)
alpine:runc1.1.12-r0 · Alpine:v3.18Package registry (OSV)
debian:runc1.1.5+ds1-1+deb12u1 · Debian:12Package registry (OSV)
Go:github.com/opencontainers/runc1.1.12Package registry (OSV)
opensuse:crun1.14.4-1.1 · openSUSE:TumbleweedPackage registry (OSV)
opensuse:crun1.20-bp156.2.3.1 · openSUSE:Leap 15.6Package registry (OSV)
opensuse:runc1.1.11-150000.58.1 · openSUSE:Leap Micro 5.3Package registry (OSV)
opensuse:singularity-ce4.1.3-1.1 · openSUSE:TumbleweedPackage registry (OSV)
red hat:microshift0:4.18.1-202502201910.p0.g84f67ec.assembly.4.18.1.el9 · Red Hat:openshift:4.18::el9Package registry (OSV)
red hat:microshift-gateway-api0:4.18.1-202502201910.p0.g84f67ec.assembly.4.18.1.el9 · Red Hat:openshift:4.18::el9Package registry (OSV)
red hat:microshift-gateway-api-release-info0:4.18.1-202502201910.p0.g84f67ec.assembly.4.18.1.el9 · Red Hat:openshift:4.18::el9Package registry (OSV)
red hat:microshift-greenboot0:4.18.1-202502201910.p0.g84f67ec.assembly.4.18.1.el9 · Red Hat:openshift:4.18::el9Package registry (OSV)
red hat:microshift-low-latency0:4.18.1-202502201910.p0.g84f67ec.assembly.4.18.1.el9 · Red Hat:openshift:4.18::el9Package registry (OSV)
red hat:microshift-multus0:4.18.1-202502201910.p0.g84f67ec.assembly.4.18.1.el9 · Red Hat:openshift:4.18::el9Package registry (OSV)
red hat:microshift-multus-release-info0:4.18.1-202502201910.p0.g84f67ec.assembly.4.18.1.el9 · Red Hat:openshift:4.18::el9Package registry (OSV)
red hat:microshift-networking0:4.18.1-202502201910.p0.g84f67ec.assembly.4.18.1.el9 · Red Hat:openshift:4.18::el9Package registry (OSV)
red hat:microshift-olm0:4.18.1-202502201910.p0.g84f67ec.assembly.4.18.1.el9 · Red Hat:openshift:4.18::el9Package registry (OSV)
red hat:microshift-olm-release-info0:4.18.1-202502201910.p0.g84f67ec.assembly.4.18.1.el9 · Red Hat:openshift:4.18::el9Package registry (OSV)
red hat:microshift-release-info0:4.18.1-202502201910.p0.g84f67ec.assembly.4.18.1.el9 · Red Hat:openshift:4.18::el9Package registry (OSV)

+16

Exploit status

Weaponized

A ready exploit tool or active in-the-wild use is known for this vulnerability. This should be your top priority.

Evidence

  • Metasploit module ×1
  • Proof-of-concept repository on GitHub ×21

Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.

Public exploit evidence
SourceKindDate
Metasploit moduleexploit/linux/local/runc_cwd_priv_escrunc (docker) File Descriptor Leak Privilege Escalationexploit2024-01-31
Proof-of-concept repository on GitHubstars:12024-02-01
Proof-of-concept repository on GitHubstars:802024-02-01
Proof-of-concept repository on GitHubstars:02024-02-02
Proof-of-concept repository on GitHubstars:52024-02-02
Proof-of-concept repository on GitHubstars:42024-02-02
Proof-of-concept repository on GitHubstars:32024-02-02
Proof-of-concept repository on GitHubstars:62024-02-05
Proof-of-concept repository on GitHubstars:02024-03-01
Proof-of-concept repository on GitHubstars:22024-03-15
Proof-of-concept repository on GitHubstars:22024-04-03
Proof-of-concept repository on GitHubstars:22024-04-10

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

  1. Metasploit-1 d
  2. Published
  3. First PoCsame day
  4. TodayNov 10, 2026+1014 d

No history yet (it accumulates with the daily EPSS job).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

  • Someone with local access to the system can trigger it.
  • No account or password is required.
  • A user must open a link or visit a page.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
high · data can be read
Integrity
high · data or configuration can be modified
Availability
high · the service can be disrupted

Impact can extend beyond the vulnerable component (scope changes).

Attack vector
Local
Attack complexity
Low
Privileges required
None
User interaction
Required
Scope
Changed
Confidentiality impact
High
Integrity impact
High
Availability impact
High

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

nvd-primary

Attack context

MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

MITRE has no CAPEC/ATT&CK mapping for this CWE.

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records