kakoune — security advisory
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.
- Products
- kakoune
- Affected versions
- 2022.10.31-1, 2022.10.31-2, 2024.05.18-1, 2024.05.18-2, 2026.05.21-1, 2026.05.21-2
- Fixed versions
- 2026.05.21-1
- CVEs
- CVE-2026-48120
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 04:06 UTC · Revision 1
Source evidence
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.
osv:DEBIAN-CVE-2026-48120
kakoune
Fixed versions: Not specified
kakoune
Fixed versions: Not specified
kakoune
Fixed versions: 2026.05.21-1
Complete source record
{
"id": "6bb944ddd36155d690d1e41464f3e1711ef94e54094b9ea575af1f17189104ef",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2026-48120",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2026-48120",
"summary": "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.",
"evidence": "osv:DEBIAN-CVE-2026-48120",
"products": [
{
"name": {
"value": "kakoune",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2022.10.31-1",
"evidence": "/affected/0/versions"
},
{
"value": "2022.10.31-2",
"evidence": "/affected/0/versions"
},
{
"value": "2024.05.18-1",
"evidence": "/affected/0/versions"
},
{
"value": "2024.05.18-2",
"evidence": "/affected/0/versions"
},
{
"value": "2026.05.21-1",
"evidence": "/affected/0/versions"
},
{
"value": "2026.05.21-2",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "kakoune",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2024.05.18-2",
"evidence": "/affected/1/versions"
},
{
"value": "2026.05.21-1",
"evidence": "/affected/1/versions"
},
{
"value": "2026.05.21-2",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "kakoune",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2026.05.21-1",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": [
{
"value": "2024.05.18-2",
"evidence": "/affected/2/versions"
}
]
}
],
"severity": "high",
"structured": {
"id": "DEBIAN-CVE-2026-48120",
"aliases": [
"DEBIAN-CVE-2026-48120"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "kakoune",
"purl": "pkg:deb/debian/kakoune?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"versions": [
"2022.10.31-1",
"2022.10.31-2",
"2024.05.18-1",
"2024.05.18-2",
"2026.05.21-1",
"2026.05.21-2"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-48120.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "kakoune",
"purl": "pkg:deb/debian/kakoune?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"versions": [
"2024.05.18-2",
"2026.05.21-1",
"2026.05.21-2"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-48120.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2026.05.21-1"
}
]
}
],
"package": {
"name": "kakoune",
"purl": "pkg:deb/debian/kakoune?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"versions": [
"2024.05.18-2"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-48120.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"modified": "2026-10-24T09:47:29.591721169Z",
"provider": "osv",
"upstream": [
"CVE-2026-48120"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2026-48120"
]
},
"related_cves": [
{
"value": "CVE-2026-48120",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 428983,
"published_at": "2026-08-07T23:17:04.117+00:00"
}