CVE-2026-6842
Low
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.
SeverityLow
CVSS2.5
Exploit probability—
Product
Nano
PublishedApr 22, 2026
First seenApr 22, 2026
Weakness typeCWE-732CWE-732
How to fix
Update
- nano9.0 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| nano | 2.9.1 ≤ v < 9.0 | 9.0 |
| Red Hat Red Hat Enterprise Linux 10 | No range specified | — |
| Red Hat Red Hat Enterprise Linux 6 | No range specified | — |
| Red Hat Red Hat Enterprise Linux 7 | No range specified | — |
| Red Hat Red Hat Enterprise Linux 8 | No range specified | — |
| Red Hat Red Hat Enterprise Linux 9 | No range specified | — |
| Red Hat Red Hat OpenShift Container Platform 4 | No range specified | — |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.