CVE-2026-6842

Public on 2026-04-22
Modified on 2026-04-23
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.
Severity
Low severity
Low
See what this means
CVSS v3 Base Score
2.5
See breakdown

Affected Packages

Platform Package Release Date Advisory Status
Amazon Linux 2 - Core nano Pending Fix
Amazon Linux 2023 nano Pending Fix

CVSS Scores

Score Type Score Vector
Amazon Linux CVSSv3 2.5 CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N