cve.bz

CVE-2025-24965 containers crun: Path traversal

8.5 highEPSS 0.6%

High (8.5) in containers crun. EPSS 0.6% estimated probability of exploitation activity in the next 30 days.

On this page
crun is an open source OCI Container Runtime fully written in C. In affected versions A malicious container image could trick the krun handler into escaping the root filesystem, allowing file creation or modification on the host. No special permissions are needed, only the ability for the current user to write to the target file. The problem is fixed in crun 1.20 and all users are advised to upgrade. There are no known workarounds for this vulnerability.

Severity

CVSS 4.0

8.5 high
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
EPSS
0.6% (unchanged from 0.6% a week ago; 0.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 48th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: total, assessed 2025-02-19. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-22 Improper Limitation of a Pathname to a Restricted Directory (Path traversal)
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-24965 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-24965?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-24965?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-24965 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
containers crun< 1.20

Linux distributions

DistributionReleasePackageFixed inAdvisory
Ubuntu20.04:LTS, 22.04:LTS, 24.04:LTS and 3 morecrunno fix listedUBUNTU-CVE-2025-24965
SUSELinux Micro 6.0crun1.14-2.1SUSE-SU-2026:20452-1
SUSEPackage Hub 15 SP6crun1.20-bp156.2.3.1openSUSE-SU-2025:0074-1
openSUSELeap 15.6crun1.20-bp156.2.3.1openSUSE-SU-2025:0074-1
openSUSETumbleweedcrun1.20-1.1openSUSE-SU-2025:14763-1
Alpinev3.21, v3.22, v3.23 and 1 morecrun1.20-r0ALPINE-CVE-2025-24965

From the distributions' data via OSV.dev: Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Ubuntu · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Important.

Red Hat's statement

krun and krun handler is unavailable in either OCP or RHEL, it is only usable within Fedora so no Red Hat Products are affected by this CVE.

This vulnerability marked as high severity rather than moderate because it allows an attacker with minimal privileges—only the ability to build and run a container—to escape the root filesystem and modify files on the host. This effectively breaks container isolation, a core security boundary in containerized environments.

This flaw can be exploited remotely in shared environments where untrusted users can deploy containers. The ability to create or modify arbitrary files on the host could lead to privilege escalation, data corruption, or persistence mechanisms for further exploitation.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10crunNot affected
Red Hat Enterprise Linux 8crunNot affected
Red Hat Enterprise Linux 9crunNot affected
Red Hat OpenShift Container Platform 4crunNot affected
Red Hat OpenShift Container Platform 4openshift/ose-rhel-coreos-8Will not fix
Red Hat OpenShift Container Platform 4openshift/ose-rhel-coreos-9Will not fix

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-24965.

Attack patterns (CAPEC)

  • CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic Likelihood: High · Severity: High
  • CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High
  • CAPEC-78 Using Escaped Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-79 Using Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-126 Path Traversal Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON