{
  "id": "CVE-2026-48120",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-48120",
  "published_at": "2026-08-07T22:34:02.607Z",
  "title": "Kakoune has a Critical RCE via Autorestore Backup Filename Injection",
  "vendor": "mawww",
  "product": "kakoune",
  "cvss": {
    "score": 8.6,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-74",
  "cvss_by_source": {
    "cna": 8.6
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "mawww",
        "product": "kakoune",
        "ranges": [
          "\u003c 2026.05.21"
        ],
        "fixed_in": [
          "2026.05.21"
        ]
      }
    ],
    "upgrade": [
      "Upgrade kakoune to 2026.05.21 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/mawww/kakoune/security/advisories/GHSA-h99r-h8cp-vwcq"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/mawww/kakoune/commit/25c7b13b244fd1ddacc63ecfe1784b5ebc2ba825"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
