Incorrect Permission Assignment for Critical Resource Affecting nano package, versions <8.4-1+deb13u1


Severity

Recommended
0.0
low
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.09% (1st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIAN13-NANO-16159010
  • published23 Apr 2026
  • disclosed22 Apr 2026

Introduced: 22 Apr 2026

CVE-2026-6842  (opens in a new tab)
CWE-732  (opens in a new tab)

How to fix?

Upgrade Debian:13 nano to version 8.4-1+deb13u1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream nano package and not the nano package as distributed by Debian. See How to fix? for Debian:13 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1