
CVE catalog
CVE-2026-48120
Kakoune is a code editor. Prior to version 2026.05.21, the bundled, enabled by default, `autorestore.kak` script can be exploited by malicious backup files leading to arbitrary kakoune and shell comma
- Severity
- High · CVSS 8.6
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.20% · Oct 25, 2026
Kakoune is a code editor. Prior to version 2026.05.21, the bundled, enabled by default, `autorestore.kak` script can be exploited by malicious backup files leading to arbitrary kakoune and shell commands being executed by simply opening a file. Kakoune 2026.05.21 fixes the issue. As a workaround, add `autorestore-disable` to the user kakrc will disable the autorestore feature.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | kakoune | sid | 2026.05.21-2 | fixed |
| Debian | kakoune | forky | 2026.05.21-2 | fixed |
| Debian | kakoune | trixie | 2024.05.18-2 | vulnerable |
| Debian | kakoune | bookworm | 2022.10.31-1 | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | kakoune | source | sid | 2026.05.21-1 | not yet assigned | Not reported | [1143968] |
| Debian | kakoune | source | forky | 2026.05.21-1 | not yet assigned | Not reported | [1143968] |
| Debian | kakoune | source | trixie | (unfixed) | not yet assigned | Not reported | [1143968] |
| Debian | kakoune | source | bookworm | (unfixed) | not yet assigned | Not reported | [1143968] |
Notes
[trixie] kakoune: Minor issue [bookworm] kakoune: Minor issue
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [kakoune]Affected
Details (2)
2022.10.31-1· amd64 · bookwormAffected
nvd · kakoune · debian · bookworm; nvd · kakoune · debian · 12
2022.10.31-1· arm64 · bookwormAffected
nvd · kakoune · debian · bookworm; nvd · kakoune · debian · 12
[Debian 13 (Trixie)]
- [kakoune]Affected
Details (2)
2024.05.18-2· amd64 · trixieAffected
nvd · kakoune · debian · 13
2024.05.18-2· arm64 · trixieAffected
nvd · kakoune · debian · 13
Observed:
References
- [https://github.com/mawww/kakoune/commit/25c7b13b244fd1ddacc63ecfe1784b5ebc2ba825]
- [https://github.com/mawww/kakoune/security/advisories/GHSA-h99r-h8cp-vwcq]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-48120]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-48120]
- [https://security-tracker.debian.org/tracker/CVE-2026-48120]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-48120.json]
[Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX]