2.5

CVE-2026-6842: nano

CVSS: 2.5v3.1LowAwaiting analysis
AliasesUBUNTU-CVE-2026-6842DEBIAN-CVE-2026-6842
Published 22-04-2026Last modified 01-09-2026

Vulnerability summary

CVE-2026-6842 is a low (CVSS 2.5) vulnerability in nano. EPSS estimates a 0.11% chance of exploitation in the next 30 days, higher than 1.1% of scored vulnerabilities.

Overall risk
10/100
0100
Low · default modelHow is this calculated?
CVSS score
2.5/10
010
Low · v3.1 (CVE.org)
EPSS score
0.11%
0%100%
Low · +0.03 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 4 · Related 3

Timeline

  1. 22-04-2026
    PublishedVulnerability first disclosed.
  2. 01-09-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

4 scores · 4 sources · 1 version

EPSS trend

Probability

0.11%

Chance of exploitation in the next 30 days

Percentile

1%

Versus all other CVEs

30-day change

+0.03 pp

From 0.08% on 20-09-2026

20-09-202620-10-2026
EPSS score
0.11%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Debian1 product
  • nanoAll versions (No fix recorded) | < 8.4-1+deb13u1 | < 9.0-1
Ubuntu1 product
  • nano< 2.9.3-2ubuntu0.1~esm2 | < 4.8-1ubuntu1.1+esm1 | < 6.2-1ubuntu0.2 | < 7.2-2ubuntu0.2 | < 8.4-1ubuntu0.1 | < 8.7.1-1ubuntu0.1

2 vendors · 2 products

References

8 links