CVE-2026-6842: Nano: nano: local attacker can inject malicious .desktop launcher due to insecure directory permissions
Vulnerability summary
CVE-2026-6842 is a low (CVSS 2.5) vulnerability in nano. EPSS estimates a 0.11% chance of exploitation in the next 30 days, higher than 1.5% of scored vulnerabilities.
Not severe (CVSS 2.5, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 4 · Related 3Timeline
- 22-04-2026PublishedVulnerability first disclosed.
- 25-11-2026Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
4 scores · 4 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated2.5LowCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N
- OSV · DebianEcosystem advisory · calculated2.5LowCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N
- NVDNIST2.5LowCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N
EPSS trend
Probability
0.11%
Chance of exploitation in the next 30 days
Percentile
2%
Versus all other CVEs
30-day change
Increase +0.03 pp
From 0.08% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Debian1 product
- nanoAll versions (No fix recorded) | < 8.4-1+deb13u1 | < 9.0-1
Ubuntu1 product
- nano< 2.9.3-2ubuntu0.1~esm2 | < 4.8-1ubuntu1.1+esm1 | < 6.2-1ubuntu0.2 | < 7.2-2ubuntu0.2 | < 8.4-1ubuntu0.1 | < 8.7.1-1ubuntu0.1
2 vendors · 2 products