UBUNTU-CVE-2026-48120

Source
https://ubuntu.com/security/CVE-2026-48120
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-48120.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-48120
Upstream
Published
2026-08-07T23:17:00Z
Modified
2026-08-13T00:08:17Z
Severity
  • 8.6 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

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.

References

Affected packages

Ubuntu:18.04:LTS / kakoune

Package

Name
kakoune
Purl
pkg:deb/ubuntu/kakoune?arch=source&distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0~2016.*
0~2016.12.20.1.3a6167ae-1
0~2016.12.20.1.3a6167ae-1build1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "0~2016.12.20.1.3a6167ae-1build1",
            "binary_name": "kakoune"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-48120.json"

Ubuntu:20.04:LTS / kakoune

Package

Name
kakoune
Purl
pkg:deb/ubuntu/kakoune?arch=source&distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2019.*
2019.01.20-2
2019.07.01-1
2019.07.01-1build1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "2019.07.01-1build1",
            "binary_name": "kakoune"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-48120.json"

Ubuntu:22.04:LTS / kakoune

Package

Name
kakoune
Purl
pkg:deb/ubuntu/kakoune?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2020.*
2020.01.16-3
2020.09.01-3

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "2020.09.01-3",
            "binary_name": "kakoune"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-48120.json"

Ubuntu:24.04:LTS / kakoune

Package

Name
kakoune
Purl
pkg:deb/ubuntu/kakoune?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2022.*
2022.10.31-2

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "2022.10.31-2",
            "binary_name": "kakoune"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-48120.json"

Ubuntu:26.04:LTS / kakoune

Package

Name
kakoune
Purl
pkg:deb/ubuntu/kakoune?arch=source&distro=resolute

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2024.*
2024.05.18-2ubuntu1
2024.05.18-2ubuntu2

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "2024.05.18-2ubuntu2",
            "binary_name": "kakoune"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-48120.json"