CVE-2026-6842
LOW 2.5CVSS 3.1Nano: nano: local attacker can inject malicious .desktop launcher due to insecure directory permissions
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.
- Published
- 22 Apr 2026
- Last modified
- 25 Nov 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Awaiting Analysis
- Weakness
- CWE-732
- Sources
- NVDJSONCVE ListJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | secalert@redhat.com (Secondary) | CVSS 3.1 | LOW 2.5 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N |
| CVE List | redhat | CVSS 3.1 | LOW 2.5 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N |
| CVE List | CISA-ADP | SSVC | Exploitation: none; Automatable: no; Technical Impact: partial |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | https://git.savannah.gnu.org/git/nano.git | nano | >= 2.9.1, < 9.0 | 9.0 |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | nanocpe:/o:redhat:enterprise_linux:10 |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | nanocpe:/o:redhat:rhel_els:6 |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | nanocpe:/o:redhat:rhel_els:7 |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | nanocpe:/o:redhat:enterprise_linux:8 |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | nanocpe:/o:redhat:enterprise_linux:9 |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | openshift/ose-rhel-coreos-8cpe:/a:redhat:openshift:4 |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | openshift/ose-rhel-coreos-9cpe:/a:redhat:openshift:4 |
all versions |
References
- https://access.redhat.com/security/cve/CVE-2026-6842 · vdb-entry, x_refsource_REDHAT
- https://bugzilla.redhat.com/show_bug.cgi?id=2460018 · issue-tracking, x_refsource_REDHAT
History
- 25 Nov 2026 20:55 UTC · CVE List: first stored (published 22 Apr 2026)
- 25 Nov 2026 20:10 UTC · NVD: first stored (published 22 Apr 2026)