Incorrect Permission Assignment for Critical Resource Affecting nano package, versions *


Severity

Recommended
0.0
low
0
10

Based on Debian security rating.

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-DEBIAN11-NANO-16159013
  • 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?

There is no fixed version for Debian:11 nano.

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:11 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