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

[CVE catalog]

Severity
High · CVSS 8.6CVSS: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.

DistributionPackageReleaseVersionStatus
Debiankakounesid2026.05.21-2fixed
Debiankakouneforky2026.05.21-2fixed
Debiankakounetrixie2024.05.18-2vulnerable
Debiankakounebookworm2022.10.31-1vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiankakounesourcesid2026.05.21-1not yet assignedNot reported[1143968]
Debiankakounesourceforky2026.05.21-1not yet assignedNot reported[1143968]
Debiankakounesourcetrixie(unfixed)not yet assignedNot reported[1143968]
Debiankakounesourcebookworm(unfixed)not yet assignedNot reported[1143968]

[Debian bug #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 · bookworm

      Affected

      nvd · kakoune · debian · bookworm; nvd · kakoune · debian · 12

    • 2022.10.31-1 · arm64 · bookworm

      Affected

      nvd · kakoune · debian · bookworm; nvd · kakoune · debian · 12

[Debian 13 (Trixie)]

  • [kakoune]Affected
    Details (2)
    • 2024.05.18-2 · amd64 · trixie

      Affected

      nvd · kakoune · debian · 13

    • 2024.05.18-2 · arm64 · trixie

      Affected

      nvd · kakoune · debian · 13

Observed:

References