CVE-2026-48120
Full vulnerability record from the local CVENow database.
Description
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.
Severity
HIGH
CVSS score
8.6
(v3.1)
Vulnerability status
Deferred
Source identifier
Published
2026-08-07 23:17:04.117000
Last modified
2026-10-23 20:10:00.160000
View original CVE JSON
{
"id": "CVE-2026-48120",
"sourceIdentifier": "[email protected]",
"published": "2026-08-07T23:17:04.117",
"lastModified": "2026-10-23T20:10:00.160",
"vulnStatus": "Deferred",
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "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."
},
{
"lang": "es",
"value": "Kakoune es un editor de código. Antes de la versión 2026.05.21, el script ’autorestore.kak’ incluido y habilitado por defecto puede ser explotado por archivos de copia de seguridad maliciosos, lo que lleva a la ejecución de comandos arbitrarios de kakoune y de shell simplemente abriendo un archivo. Kakoune 2026.05.21 corrige el problema. Como solución alternativa, añadir ’autorestore-disable’ al kakrc del usuario deshabilitará la función de autorestore."
}
],
"affected": [
{
"source": "[email protected]",
"affectedData": [
{
"vendor": "mawww",
"product": "kakoune",
"versions": [
{
"version": "< 2026.05.21",
"status": "affected"
}
]
}
]
}
],
"metrics": {
"cvssMetricV31": [
{
"source": "[email protected]",
"type": "Secondary",
"cvssData": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H",
"baseScore": 8.6,
"baseSeverity": "HIGH",
"attackVector": "LOCAL",
"attackComplexity": "LOW",
"privilegesRequired": "NONE",
"userInteraction": "REQUIRED",
"scope": "CHANGED",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"availabilityImpact": "HIGH"
},
"exploitabilityScore": 1.8,
"impactScore": 6.0
}
],
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"timestamp": "2026-08-11T01:19:54.109349Z",
"id": "CVE-2026-48120",
"options": [
{
"exploitation": "none"
},
{
"automatable": "no"
},
{
"technicalImpact": "total"
}
],
"role": "CISA Coordinator",
"version": "2.0.3"
}
}
]
},
"weaknesses": [
{
"source": "[email protected]",
"type": "Secondary",
"description": [
{
"lang": "en",
"value": "CWE-74"
}
]
}
],
"references": [
{
"url": "https://github.com/mawww/kakoune/commit/25c7b13b244fd1ddacc63ecfe1784b5ebc2ba825",
"source": "[email protected]"
},
{
"url": "https://github.com/mawww/kakoune/security/advisories/GHSA-h99r-h8cp-vwcq",
"source": "[email protected]"
}
]
}