High severity · published Feb 19, 2025
CVE-2025-24965
.krun_config.json symlink attack creates or overwrites file on the host in crun
8.5
CVSS
0.6%
EPSS
No
On KEV
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.
Exploitation
Is it being used?
Exploit prediction (EPSS)0.6% · higher than 47% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
CR
crun · containers
< 1.20 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2025-24965
CVE.org
https://www.cve.org/CVERecord?id=CVE-2025-24965
github.com
https://github.com/containers/crun/commit/0aec82c2b686f0b1793deed43b46524fe2e8b5a7
github.com
https://github.com/containers/crun/releases/tag/1.20
github.com
https://github.com/containers/crun/security/advisories/GHSA-f42g-r5jj-qh4j
More from crun
7.8
CVE-2026-30892
Crun incorrectly parses `crun exec` option `-u`, leading to privilege escalation
5.6
CVE-2026-88264
Crun: crun: /dev/console symlink follow allows root-owned file creation outside the rootfs
5.1
CVE-2026-47766
crun follows rootfs /dev symlink while creating default devices
