🛡️ CVE-2026-6842 on Debian — nano
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.
Distribution advisory
This page covers CVE-2026-6842 as tracked by Debian, for the package nano. The fix is available in version 9.0-1; earlier versions remain affected.
How this vulnerability can be exploited
This issue can be reached with local access to the system, attack complexity is high, an attacker needs low-level privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality none, integrity low, availability none.
Weakness class
DEBIAN-CVE-2026-6842 is classified as CWE-732: Incorrect Permission Assignment for Critical Resource. A sensitive resource is assigned permissions that let unintended actors read or modify it.
Affected software
DEBIAN-CVE-2026-6842 is recorded against 1 package.
- nano (fixed in 9.0-1)
Timeline and source
Published on 22 April 2026 and last revised on 4 August 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.
References
CVE-2026-6842 on other distributions
Each distribution ships its own build and its own fixed version. Pick the one you run:
Details
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| nano | — | 9.0-1 |
References
Similar Threats
- Unknown BELL-CVE-2026-6390
- Unknown DEBIAN-CVE-2026-6390
- Unknown ECHO-7a9e-a9fb-a110
- Unknown CLSA-2026-1779122764
- Unknown MGASA-2026-0121
Free Vulnerability Check
Is your site affected by DEBIAN-CVE-2026-6842?
BotEraser helps you identify potentially vulnerable plugins and themes by checking your installation against DEBIAN-CVE-2026-6842 and other known CVE records.
Scan My Site Free →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.