CVE-2025-24965 .krun_config.json symlink attack creates or overwrites file on the host in crun
A malicious container image can exploit a symlink vulnerability in crun to create or overwrite files on the host system, potentially leading to privilege escalation.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2025-24965?
CVE-2025-24965 is a high-severity path traversal vulnerability in containers crun, published on 19 Feb 2025. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
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.
Weakness: CWE-22
Which versions are affected by CVE-2025-24965?
Linux distribution packages (2)
crun SUSE:Linux Micro 6.0 | All versions | 1.14-2.1 |
crun openSUSE:Tumbleweed | All versions | 1.20-1.1 |
How do I fix CVE-2025-24965?
Upgrade to a fixed version.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2025-24965 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-24965 exists.
Sources
Also known as GHSA-f42g-r5jj-qh4j, OESA-2025-1417, OESA-2025-1564, OESA-2026-1008, SUSE-SU-2026:20452-1, UBUNTU-CVE-2025-24965 and 1 more.