CVE-2026-6842 json
Nano: nano: local attacker can inject malicious .desktop launcher due to insecure directory permissions
published 2026-04-22 6 mo ago modified 2026-11-06 2 d ago also EUVD-2026-24633
- cvss
- 2.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.1%
- EPSS 0.1% chance of exploitation in 30 days, percentile 0%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- nano Debian 13 8.4-1+deb13u1
- nano Debian 14 9.0-1
debian advisories DEBIAN-CVE-2026-6842
- nano Ubuntu 22.04 LTS 6.2-1ubuntu0.2
- nano Ubuntu 24.04 LTS 7.2-2ubuntu0.2
- nano Ubuntu 25.10 8.4-1ubuntu0.1
- nano Ubuntu 26.04 LTS 8.7.1-1ubuntu0.1
- nano Ubuntu Pro 18.04 LTS 2.9.3-2ubuntu0.1~esm2
- nano Ubuntu Pro 20.04 LTS 4.8-1ubuntu1.1+esm1
ubuntu advisories UBUNTU-CVE-2026-6842
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- nano openSUSE Leap 16.0 9.1-bp160.1.1
- nano openSUSE Tumbleweed 9.0-2.1
opensuse advisories openSUSE-SU-2026:21166-1openSUSE-SU-2026:10851-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-6842 updated cvss 2.5
nano: nano: Local attacker can inject malicious .desktop launcher due to insecure directory permissions
-
Red Hat Enterprise Linux 6 nano Red Hat Enterprise Linux 7 nano Red Hat Enterprise Linux 8 nano Red Hat Enterprise Linux 9 nano Red Hat Enterprise Linux 10 nano Red Hat OpenShift Container Platform 4 openshift/ose-rhel-coreos-8, openshift/ose-rhel-coreos-9affected: workaround, no fix available “Fix deferred”
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 6 mo ago
Exploit prediction
0.08% chance of exploitation in the next 30 days, higher than 0% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 2.5 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N |
Affected products
- Red Hat Red Hat Enterprise Linux 10
- Red Hat Red Hat Enterprise Linux 6
- Red Hat Red Hat Enterprise Linux 7
- Red Hat Red Hat Enterprise Linux 8
- Red Hat Red Hat Enterprise Linux 9
- Red Hat Red Hat OpenShift Container Platform 4
Classification
- Weakness
-
- CWE-732 Incorrect Permission Assignment for Critical Resource
References
-
access.redhat.com
/security/cve/CVE-2026-6842
vdb-entry
-
bugzilla.redhat.com
/show_bug.cgi?id=2460018
issue-tracking
Sources
- CVE List CVE-2026-6842
- NVD CVE-2026-6842
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.