
CVE catalog
CVE-2026-6842
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
- Severity
- Low · CVSS 2.5
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.08% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | nano | sid | 9.3-1 | fixed |
| Debian | nano | forky | 9.2-1 | fixed |
| Debian | nano | trixie | 8.4-1+deb13u1 | fixed |
| Debian | nano | bookworm | 7.2-1+deb12u1 | vulnerable |
| Cpe | nano | Not reported | 7.2-2ubuntu0.2 | fixed |
| Cpe | nano-tiny | Not reported | 7.2-2ubuntu0.2 | fixed |
| Cpe | nano | Not reported | Not reported | vulnerable |
| Opensuse | nano | leap 16.0 | 9.1-bp160.1.1 | fixed |
| Ubuntu | nano | pro | 4.3-1 | vulnerable |
| Ubuntu | nano | pro | 4.5-1 | vulnerable |
| Ubuntu | nano | pro | 4.7-1 | vulnerable |
| Ubuntu | nano | pro | 4.7-2 | vulnerable |
| Ubuntu | nano | pro | 4.8-1 | vulnerable |
| Ubuntu | nano | pro | 4.8-1ubuntu1 | vulnerable |
| Ubuntu | nano | pro | 4.8-1ubuntu1.1 | vulnerable |
| Ubuntu | nano | pro | 4.8-1ubuntu1.1+esm1 | fixed |
| Ubuntu | nano | 22.04 | 5.6.1-1build1 | vulnerable |
| Ubuntu | nano | 22.04 | 5.9-1 | vulnerable |
| Ubuntu | nano | 22.04 | 6.0-1 | vulnerable |
| Ubuntu | nano | 22.04 | 6.1-1 | vulnerable |
| Ubuntu | nano | 22.04 | 6.2-1 | vulnerable |
| Ubuntu | nano | 22.04 | 6.2-1ubuntu0.1 | vulnerable |
| Ubuntu | nano | 22.04 | 6.2-1ubuntu0.2 | fixed |
| Ubuntu | nano | 24.04 | 7.2-1 | vulnerable |
| Ubuntu | nano | 24.04 | 7.2-2 | vulnerable |
| Ubuntu | nano | 24.04 | 7.2-2build1 | vulnerable |
| Ubuntu | nano | 24.04 | 7.2-2ubuntu0.1 | vulnerable |
| Ubuntu | nano | 24.04 | 7.2-2ubuntu0.2 | fixed |
| Ubuntu | nano | 25.10 | 8.3-1 | vulnerable |
| Ubuntu | nano | 25.10 | 8.4-1 | vulnerable |
| Ubuntu | nano | 25.10 | 8.4-1ubuntu0.1 | fixed |
| Ubuntu | nano | 26.04 | 8.4-1 | vulnerable |
| Ubuntu | nano | 26.04 | 8.6-1 | vulnerable |
| Ubuntu | nano | 26.04 | 8.7-1 | vulnerable |
| Ubuntu | nano | 26.04 | 8.7.1-1 | vulnerable |
| Ubuntu | nano | 26.04 | 8.7.1-1ubuntu0.1 | fixed |
| Ubuntu | nano | pro | 4.3-1 | vulnerable |
| Ubuntu | nano | pro | 4.5-1 | vulnerable |
| Ubuntu | nano | pro | 4.7-1 | vulnerable |
| Ubuntu | nano | pro | 4.7-2 | vulnerable |
| Ubuntu | nano | pro | 4.8-1 | vulnerable |
| Ubuntu | nano | pro | 4.8-1ubuntu1 | vulnerable |
| Ubuntu | nano | pro | 4.8-1ubuntu1.1 | vulnerable |
| Ubuntu | nano | pro | 4.8-1ubuntu1.1+esm1 | fixed |
| Ubuntu | nano | 22.04 | 5.6.1-1build1 | vulnerable |
| Ubuntu | nano | 22.04 | 5.9-1 | vulnerable |
| Ubuntu | nano | 22.04 | 6.0-1 | vulnerable |
| Ubuntu | nano | 22.04 | 6.1-1 | vulnerable |
| Ubuntu | nano | 22.04 | 6.2-1 | vulnerable |
| Ubuntu | nano | 22.04 | 6.2-1ubuntu0.1 | vulnerable |
| Ubuntu | nano | 22.04 | 6.2-1ubuntu0.2 | fixed |
| Ubuntu | nano | 24.04 | 7.2-1 | vulnerable |
| Ubuntu | nano | 24.04 | 7.2-2 | vulnerable |
| Ubuntu | nano | 24.04 | 7.2-2build1 | vulnerable |
| Ubuntu | nano | 24.04 | 7.2-2ubuntu0.1 | vulnerable |
| Ubuntu | nano | 24.04 | 7.2-2ubuntu0.2 | fixed |
| Ubuntu | nano | 25.10 | 8.3-1 | vulnerable |
| Ubuntu | nano | 25.10 | 8.4-1 | vulnerable |
| Ubuntu | nano | 25.10 | 8.4-1ubuntu0.1 | fixed |
| Ubuntu | nano | 26.04 | 8.4-1 | vulnerable |
| Ubuntu | nano | 26.04 | 8.6-1 | vulnerable |
| Ubuntu | nano | 26.04 | 8.7-1 | vulnerable |
| Ubuntu | nano | 26.04 | 8.7.1-1 | vulnerable |
| Ubuntu | nano | 26.04 | 8.7.1-1ubuntu0.1 | fixed |
| Opensuse | nano | tumbleweed | 9.0-2.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | nano | source | sid | 9.0-1 | not yet assigned | Not reported | Not reported |
| Debian | nano | source | forky | 9.0-1 | not yet assigned | Not reported | Not reported |
| Debian | nano | source | trixie | 8.4-1+deb13u1 | not yet assigned | Not reported | Not reported |
| Debian | nano | source | bookworm | (unfixed) | not yet assigned | Not reported | Not reported |
| Cpe | nano | cpe | Not reported | 7.2-2ubuntu0.2 | Not reported | Not reported | Not reported |
| Cpe | nano-tiny | cpe | Not reported | 7.2-2ubuntu0.2 | Not reported | Not reported | Not reported |
| Opensuse | nano | rpm | leap 16.0 | 9.1-bp160.1.1 | Not reported | OPENSUSE-SU-2026:21166-1 | Not reported |
| Ubuntu | nano | deb | pro | 4.8-1ubuntu1.1+esm1 | Not reported | USN-8386-1 | Not reported |
| Ubuntu | nano | deb | 22.04 | 6.2-1ubuntu0.2 | Not reported | USN-8386-1 | Not reported |
| Ubuntu | nano | deb | 24.04 | 7.2-2ubuntu0.2 | Not reported | USN-8386-1 | Not reported |
| Ubuntu | nano | deb | 25.10 | 8.4-1ubuntu0.1 | Not reported | USN-8386-1 | Not reported |
| Ubuntu | nano | deb | 26.04 | 8.7.1-1ubuntu0.1 | Not reported | USN-8386-1 | Not reported |
| Ubuntu | nano | deb | pro | 4.8-1ubuntu1.1+esm1 | Not reported | UBUNTU-CVE-2026-6842 | Not reported |
| Ubuntu | nano | deb | 22.04 | 6.2-1ubuntu0.2 | Not reported | UBUNTU-CVE-2026-6842 | Not reported |
| Ubuntu | nano | deb | 24.04 | 7.2-2ubuntu0.2 | Not reported | UBUNTU-CVE-2026-6842 | Not reported |
| Ubuntu | nano | deb | 25.10 | 8.4-1ubuntu0.1 | Not reported | UBUNTU-CVE-2026-6842 | Not reported |
| Ubuntu | nano | deb | 26.04 | 8.7.1-1ubuntu0.1 | Not reported | UBUNTU-CVE-2026-6842 | Not reported |
| Opensuse | nano | rpm | tumbleweed | 9.0-2.1 | Not reported | OPENSUSE-SU-2026:10851-1 | Not reported |
Notes
[bookworm] nano: Minor issue
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [nano]Affected
Details (2)
7.2-1+deb12u1· amd64 · bookwormAffected
nvd · nano · debian · bookworm; nvd · nano · debian · 12
7.2-1+deb12u1· arm64 · bookwormAffected
nvd · nano · debian · bookworm; nvd · nano · debian · 12
- [nano-tiny]Affected
Source package: [nano]
Details (2)
7.2-1+deb12u1· amd64 · bookwormAffected
nvd · nano · debian · bookworm; nvd · nano · debian · 12
7.2-1+deb12u1· arm64 · bookwormAffected
nvd · nano · debian · bookworm; nvd · nano · debian · 12
[openSUSE Tumbleweed]
[Debian 13 (Trixie)]
- [nano]Fixed
Details (2)
8.4-1+deb13u1· amd64 · trixieFixed · Fixed:
8.4-1+deb13u1nvd · nano · debian · 13
8.4-1+deb13u1· arm64 · trixieFixed · Fixed:
8.4-1+deb13u1nvd · nano · debian · 13
- [nano-tiny]Fixed
Source package: [nano]
Details (2)
8.4-1+deb13u1· amd64 · trixieFixed · Fixed:
8.4-1+deb13u1nvd · nano · debian · 13
8.4-1+deb13u1· arm64 · trixieFixed · Fixed:
8.4-1+deb13u1nvd · nano · debian · 13
Observed:
References
- [https://access.redhat.com/security/cve/CVE-2026-6842]
- [https://bugzilla.redhat.com/show_bug.cgi?id=2460018]
- [https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2026_10851-1.json]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-6842]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-6842]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2026-6842]
- [https://osv.dev/vulnerability/USN-8386-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2026:10851-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2026:21166-1]
- [https://security-tracker.debian.org/tracker/CVE-2026-6842]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-6842.json]
- [https://ubuntu.com/security/notices/USN-8386-1]
[Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX] · [Ubuntu Security Notices (USN)]