nano: A flaw was found in nano
CVE-2026-6842 is fixed in 6 products on 1 platform, first by nano 2.9.3-2ubuntu0.1~esm2, released April 22, 2026. It is not reported as exploited. Patch Radar priority: Routine.
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.
Where it's fixed
| Product | Fixed in | Fix | Released |
|---|---|---|---|
| Linux | |||
| default-editor · Fedora 43 | 8.5-3.fc43 | FEDORA-2026-D0A0F1C3D2 | Apr 30, 2026 |
| nano · Debian 13.5 (trixie) | 8.4-1+deb13u1 | DEBIAN-CVE-2026-6842 | May 15, 2026 |
| nano · Debian 14 | 9.0-1 | DEBIAN-CVE-2026-6842 | May 15, 2026 |
| nano · Fedora 43 | 8.5-3.fc43 | FEDORA-2026-D0A0F1C3D2 | Apr 30, 2026 |
| nano · Ubuntu 18.04.6 LTS (bionic) | 2.9.3-2ubuntu0.1~esm2 | nano 2.9.3-2ubuntu0.1~esm2 | Apr 22, 2026 |
| nano · Ubuntu 20.04 LTS (focal) | 4.8-1ubuntu1.1+esm1 | nano 4.8-1ubuntu1.1+esm1 | Apr 22, 2026 |
| nano · Ubuntu 22.04.1 LTS (jammy) | 6.2-1ubuntu0.2 | nano 6.2-1ubuntu0.2 | Jun 24, 2026 |
| nano · Ubuntu 24.04.5 LTS (noble) | 7.2-2ubuntu0.2 | nano 7.2-2ubuntu0.2 | Jun 24, 2026 |
| nano · Ubuntu 25.10 (questing) | 8.4-1ubuntu0.1 | nano 8.4-1ubuntu0.1 | Jun 24, 2026 |
| nano · Ubuntu 26.04.1 LTS (resolute) | 8.7.1-1ubuntu0.1 | nano 8.7.1-1ubuntu0.1 | Jul 22, 2026 |
| nano · opensuse-leap 16.0 | 9.1-bp160.1.1 | OPENSUSE-SU-2026:21166-1 | Jun 29, 2026 |
| nano-debuginfo · Fedora 43 | 8.5-3.fc43 | FEDORA-2026-D0A0F1C3D2 | Apr 30, 2026 |
| nano-debugsource · Fedora 43 | 8.5-3.fc43 | FEDORA-2026-D0A0F1C3D2 | Apr 30, 2026 |
| nano-default-editor · Fedora 43 | 8.5-3.fc43 | FEDORA-2026-D0A0F1C3D2 | Apr 30, 2026 |
| nano-tiny · Ubuntu 18.04.6 LTS (bionic) | 2.9.3-2ubuntu0.1~esm2 | nano-tiny 2.9.3-2ubuntu0.1~esm2 | Apr 22, 2026 |
| nano-tiny · Ubuntu 20.04 LTS (focal) | 4.8-1ubuntu1.1+esm1 | nano-tiny 4.8-1ubuntu1.1+esm1 | Apr 22, 2026 |
| nano-tiny · Ubuntu 22.04.1 LTS (jammy) | 6.2-1ubuntu0.2 | nano-tiny 6.2-1ubuntu0.2 | Jun 24, 2026 |
| nano-tiny · Ubuntu 24.04.5 LTS (noble) | 7.2-2ubuntu0.2 | nano-tiny 7.2-2ubuntu0.2 | Jun 24, 2026 |
| nano-tiny · Ubuntu 25.10 (questing) | 8.4-1ubuntu0.1 | nano-tiny 8.4-1ubuntu0.1 | Jun 24, 2026 |
| nano-tiny · Ubuntu 26.04.1 LTS (resolute) | 8.7.1-1ubuntu0.1 | nano-tiny 8.7.1-1ubuntu0.1 | Jul 22, 2026 |
Patch Radar data is free to use with attribution. Terms and how to credit it.
Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.