CVE Catalog

CVE-2026-6842

LowCVSS 2.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.09%

0th percentile - higher than 0% of all known CVEs

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.

Risk Assessment

A local attacker could gain access to user data or cause unintended actions, compromising confidentiality and integrity of the user environment.

Recommendation

Update nano to a patched version. Additionally, check and correct permissions of the `~/.local` directory to 0700.

Other vulnerabilities in nano

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS