{"id":"DEBIAN-CVE-2026-6842","details":"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.","modified":"2026-09-14T17:03:30.154223233Z","published":"2026-04-22T08:16:13.170Z","upstream":["CVE-2026-6842"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2026-6842"}],"affected":[{"package":{"name":"nano","ecosystem":"Debian:12","purl":"pkg:deb/debian/nano?arch=source&distro=bookworm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["7.2-1","7.2-1+deb12u1","7.2-2","8.0-1","8.1-1","8.2-1","8.3-1","8.4-1","8.5-1","8.6-1","8.7-1","8.7.1-1","9.0-1","9.1-1","9.2-1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-6842.json"}},{"package":{"name":"nano","ecosystem":"Debian:13","purl":"pkg:deb/debian/nano?arch=source&distro=trixie"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.4-1+deb13u1"}]}],"versions":["8.4-1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-6842.json"}},{"package":{"name":"nano","ecosystem":"Debian:14","purl":"pkg:deb/debian/nano?arch=source&distro=forky"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.0-1"}]}],"versions":["8.4-1","8.5-1","8.6-1","8.7-1","8.7.1-1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-6842.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N"}]}