# CVE-2026-6842

> Vulnerability · severity: **LOW** (CVSS 2.5).

## 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.

## Key facts

- **CVE ID:** CVE-2026-6842
- **Published:** 2026-04-22
- **CVSS severity:** LOW
- **CVSS base score:** 2.5
- **CWE codes:** CWE-732

## Primary sources

- NIST NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-6842

## Citation

> AI Analytics. CVE-2026-6842. Retrieved 2026-07-20 from https://api.ai-analytics.org/cve/CVE-2026-6842. Derived from NIST NVD. Licensed CC0.

---

*[Dataset catalog](https://api.ai-analytics.org/datasets/) · [AI Analytics](https://api.ai-analytics.org/) · CC0 1.0*