{"id":"CVE-2026-48120","state":"PUBLISHED","title":"Kakoune has a Critical RCE via Autorestore Backup Filename Injection","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.","publishedAt":"2026-08-07T22:34:02.607Z","updatedAt":"2026-08-11T01:20:08.508Z","severity":{"score":8.6,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["mawww kakoune"],"affected":[{"vendor":"mawww","product":"kakoune","versions":[{"version":"< 2026.05.21","status":"affected"}]}],"references":["https://github.com/mawww/kakoune/security/advisories/GHSA-h99r-h8cp-vwcq","https://github.com/mawww/kakoune/commit/25c7b13b244fd1ddacc63ecfe1784b5ebc2ba825"],"weaknesses":["CWE-74"],"ingestedAt":"2026-10-29T20:12:07.131Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/48xxx/CVE-2026-48120.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-48120","state":"PUBLISHED","datePublished":"2026-08-07T22:34:02.607Z","dateUpdated":"2026-08-11T01:20:08.508Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-05-20T18:46:58.290Z"},"containers":{"cna":{"title":"Kakoune has a Critical RCE via Autorestore Backup Filename Injection","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."}],"affected":[{"vendor":"mawww","product":"kakoune","versions":[{"version":"< 2026.05.21","status":"affected"}]}],"references":[{"url":"https://github.com/mawww/kakoune/security/advisories/GHSA-h99r-h8cp-vwcq","name":"https://github.com/mawww/kakoune/security/advisories/GHSA-h99r-h8cp-vwcq","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/mawww/kakoune/commit/25c7b13b244fd1ddacc63ecfe1784b5ebc2ba825","name":"https://github.com/mawww/kakoune/commit/25c7b13b244fd1ddacc63ecfe1784b5ebc2ba825","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"HIGH","baseScore":8.6,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-74","lang":"en","description":"CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-08-07T22:34:02.607Z"},"source":{"advisory":"GHSA-h99r-h8cp-vwcq","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-08-11T01:19:54.109349Z","id":"CVE-2026-48120","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-08-11T01:20:08.508Z"}}]}}}