{"id":"CVE-2026-48120","aliases":["CVE-2026-48120"],"related":[],"kind":"vulnerability","state":"published","title":"Kakoune has a Critical RCE via Autorestore Backup Filename Injection","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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2026-08-07T22:34:02.607Z","modified":"2026-10-23T20:10:00.160Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","score":8.6,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","score":8.6,"rating":"HIGH"}],"cwes":["CWE-74"],"affected":[{"ranges":[{"version":"< 2026.05.21","status":"affected"}],"vendor":"mawww","product":"kakoune","source":"cvelist"}],"references":[{"url":"https://github.com/mawww/kakoune/security/advisories/GHSA-h99r-h8cp-vwcq","tags":["x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/mawww/kakoune/commit/25c7b13b244fd1ddacc63ecfe1784b5ebc2ba825","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-08-11T01:19:54.109Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-48120","url":"https://www.cve.org/CVERecord?id=CVE-2026-48120","licence":"CVE Terms of Use","modified":"2026-08-11T01:20:08.508Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-48120","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-48120","licence":"Public domain","modified":"2026-10-23T20:10:00.160Z"}],"updatedAt":"2026-11-25T22:59:31.901Z","epss":{"score":0.00137,"percentile":0.03342,"date":"2026-12-01T12:00:22.000Z"}}