Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.1%top 97%

CVE-2026-48120: CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') in mawww kakoune

0
High
VulnerabilityCVE-2026-48120cvecve-2026-48120cwe-74
Published: 08/07/2026 (08/07/2026, 22:34:02 UTC)
Source: CVE Database V5
Vendor/Project: mawww
Product: kakoune

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.

CVSS v3.1

Score 8.6high

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

Affected software

GitHub Actionsmore threats →ai
mawww/kakoune
pkg:github/mawww/kakoune
Affected versions
<2026.05.21

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/15/2026, 15:10:20 UTC

Technical Analysis

CVE-2026-48120 is an injection vulnerability (CWE-74) in the Kakoune code editor's 'autorestore.kak' script, which is bundled and enabled by default in versions before 2026.05.21. This flaw allows an attacker to craft malicious backup files that, when opened, execute arbitrary Kakoune and shell commands. The vulnerability is resolved in version 2026.05.21. Users can mitigate the risk by disabling the autorestore feature via configuration.

Potential Impact

Successful exploitation leads to arbitrary code execution within Kakoune and the underlying shell, potentially compromising confidentiality, integrity, and availability of the affected system. The CVSS 3.1 score of 8.6 reflects high impact with local attack vector, low attack complexity, no privileges required, user interaction required, and scope change. There are no known exploits in the wild at this time.

Mitigation Recommendations

Upgrade Kakoune to version 2026.05.21 or later to apply the official fix. As a temporary workaround, add 'autorestore-disable' to the user kakrc configuration file to disable the vulnerable autorestore feature.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-05-20T18:46:58.290Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a765f31bf8831d5394839dc

Added to database: 08/07/2026, 22:41:53 UTC

Last enriched: 08/15/2026, 15:10:20 UTC

Last updated: 09/08/2026, 01:24:06 UTC

Views: 49

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses