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.
Problem types
Incorrect Permission Assignment for Critical Resource
Product status
Timeline
| 2026-04-13: | Reported to Red Hat. |
| 2026-04-13: | Made public. |
Credits
Red Hat would like to thank Michał Majchrowicz, Marcin Wyczechowski (AFINE Team) for reporting this issue.
References
access.redhat.com/security/cve/CVE-2026-6842
bugzilla.redhat.com/show_bug.cgi?id=2460018 (RHBZ#2460018)