UBUNTU-CVE-2026-6842

Source
https://ubuntu.com/security/CVE-2026-6842
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-6842.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-6842
Upstream
  • CVE-2026-6842
Downstream
Related
Published
2026-04-22T08:16:00Z
Modified
2026-06-05T03:03:06.733389110Z
Severity
  • 2.5 (Low) CVSS_V3 - CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

A flaw was found in nano. In environments with permissive umask settings, a local attacker can exploit incorrect directory permissions (0777 instead of 0700) for the ~/.local directory. This allows the attacker to inject a malicious .desktop launcher, which could lead to unintended actions or information disclosure if the launcher is subsequently processed.

References

Affected packages

Ubuntu:22.04:LTS
nano

Package

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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
6.2-1ubuntu0.2

Affected versions

5.*
5.6.1-1build1
5.9-1
6.*
6.0-1
6.1-1
6.2-1
6.2-1ubuntu0.1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "6.2-1ubuntu0.2",
            "binary_name": "nano"
        },
        {
            "binary_version": "6.2-1ubuntu0.2",
            "binary_name": "nano-tiny"
        }
    ],
    "availability": "No subscription required"
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-6842.json"
Ubuntu:24.04:LTS
nano

Package

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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
7.2-2ubuntu0.2

Affected versions

7.*
7.2-1
7.2-2
7.2-2build1
7.2-2ubuntu0.1

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_version": "7.2-2ubuntu0.2",
            "binary_name": "nano"
        },
        {
            "binary_version": "7.2-2ubuntu0.2",
            "binary_name": "nano-tiny"
        }
    ]
}

Database specific

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

Package

Name
nano
Purl
pkg:deb/ubuntu/nano?arch=source&distro=questing

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
8.4-1ubuntu0.1

Affected versions

8.*
8.3-1
8.4-1

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_version": "8.4-1ubuntu0.1",
            "binary_name": "nano"
        },
        {
            "binary_version": "8.4-1ubuntu0.1",
            "binary_name": "nano-tiny"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-6842.json"
Ubuntu:26.04:LTS
nano

Package

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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
8.7.1-1ubuntu0.1

Affected versions

8.*
8.4-1
8.6-1
8.7-1
8.7.1-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "8.7.1-1ubuntu0.1",
            "binary_name": "nano"
        },
        {
            "binary_version": "8.7.1-1ubuntu0.1",
            "binary_name": "nano-tiny"
        }
    ],
    "availability": "No subscription required"
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-6842.json"
Ubuntu:Pro:18.04:LTS
nano

Package

Name
nano
Purl
pkg:deb/ubuntu/nano?arch=source&distro=esm-infra%2Fbionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.9.3-2ubuntu0.1~esm2

Affected versions

2.*
2.8.6-3
2.8.7-1
2.9.0-1
2.9.1-1
2.9.2-1
2.9.3-1
2.9.3-2
2.9.3-2ubuntu0.1~esm1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "2.9.3-2ubuntu0.1~esm2",
            "binary_name": "nano"
        },
        {
            "binary_version": "2.9.3-2ubuntu0.1~esm2",
            "binary_name": "nano-tiny"
        }
    ],
    "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro"
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-6842.json"
Ubuntu:Pro:20.04:LTS
nano

Package

Name
nano
Purl
pkg:deb/ubuntu/nano?arch=source&distro=esm-infra%2Ffocal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
4.8-1ubuntu1.1+esm1

Affected versions

4.*
4.3-1
4.5-1
4.7-1
4.7-2
4.8-1
4.8-1ubuntu1
4.8-1ubuntu1.1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "4.8-1ubuntu1.1+esm1",
            "binary_name": "nano"
        },
        {
            "binary_version": "4.8-1ubuntu1.1+esm1",
            "binary_name": "nano-tiny"
        }
    ],
    "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro"
}

Database specific

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