CVE & CISA-KEV Catalog

CVE-2026-6842

LOW
2.5
CVSS v3
NVD

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.

How to fix

Remediation Available
nanoDebian
Fixed in:8.4-1+deb13u1CVE-2026-6842
Fixed in:9.0-1CVE-2026-6842
nanoUbuntu
Fixed in:2.9.3-2ubuntu0.1~esm2USN-8386-1
Fixed in:4.8-1ubuntu1.1+esm1USN-8386-1
Fixed in:6.2-1ubuntu0.2USN-8386-1
Fixed in:7.2-2ubuntu0.2USN-8386-1
Fixed in:8.4-1ubuntu0.1USN-8386-1
nano-tinyUbuntu
Fixed in:2.9.3-2ubuntu0.1~esm2USN-8386-1
Fixed in:4.8-1ubuntu1.1+esm1USN-8386-1
Fixed in:6.2-1ubuntu0.2USN-8386-1
Fixed in:7.2-2ubuntu0.2USN-8386-1
Fixed in:8.4-1ubuntu0.1USN-8386-1

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorLocal
Attack ComplexityHigh
Privileges RequiredLow
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityNone
IntegrityLow
AvailabilityNone

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N

Exploit Intelligence

0.08%probability of exploitation in 30 days
0thpercentile

Low risk: more likely to be exploited than 0% of all known CVEs.

References

Embed a live status badge for CVE-2026-6842
CVE-2026-6842 severity badge

Markdown

[![CVE-2026-6842](https://tridentstack.com/cve/badge/CVE-2026-6842.svg)](https://tridentstack.com/cve/CVE-2026-6842)

HTML

<a href="https://tridentstack.com/cve/CVE-2026-6842"><img src="https://tridentstack.com/cve/badge/CVE-2026-6842.svg" alt="CVE-2026-6842"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-04-22.