Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-6842

published low CVSS 3.1 · 2.5

Nano: nano: local attacker can inject malicious .desktop launcher due to insecure directory permissions

Published
22 Apr 2026, 07:34:26 UTC
Updated
25 Nov 2026, 16:34:27 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Not stated — nano2.9.1 to < 9.0 · Other versions: unaffected Affected Not stated redhat
Red Hat Enterprise Linux 6, 7, 8, 9, 10 nano Affected Not stated redhat
Red Hat — openshift/ose-rhel-coreos-8Red Hat OpenShift Container Platform 4 Affected Not stated redhat
Red Hat — openshift/ose-rhel-coreos-9Red Hat OpenShift Container Platform 4 Affected Not stated redhat
Amazon Linux AL2 Release evaluation No Fix Planned Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluation No Fix Planned Not stated Amazon Linux assessment
SUSE / openSUSE openSUSE-Leap-16.0 nanoaarch64 Advisory build 9.1-bp160.1.1 OPENSUSE-SU-2026:21166-1
Ubuntu bionic nano Advisory build 2.9.3-2ubuntu0.1~esm2 USN-8386-1
Show 23 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
SUSE / openSUSE openSUSE-Leap-16.0 nanoppc64le Advisory build 9.1-bp160.1.1 OPENSUSE-SU-2026:21166-1
SUSE / openSUSE openSUSE-Leap-16.0 nanos390x Advisory build 9.1-bp160.1.1 OPENSUSE-SU-2026:21166-1
SUSE / openSUSE openSUSE-Leap-16.0 nanox86_64 Advisory build 9.1-bp160.1.1 OPENSUSE-SU-2026:21166-1
SUSE / openSUSE openSUSE-Tumbleweed nanoaarch64 Advisory build 9.0-2.1 OPENSUSE-SU-2026:10851-1
SUSE / openSUSE openSUSE-Tumbleweed nanoppc64le Advisory build 9.0-2.1 OPENSUSE-SU-2026:10851-1
SUSE / openSUSE openSUSE-Tumbleweed nanos390x Advisory build 9.0-2.1 OPENSUSE-SU-2026:10851-1
SUSE / openSUSE openSUSE-Tumbleweed nanox86_64 Advisory build 9.0-2.1 OPENSUSE-SU-2026:10851-1
Ubuntu focal nano Advisory build 4.8-1ubuntu1.1+esm1 USN-8386-1
Ubuntu jammy nano Advisory build 6.2-1ubuntu0.2 USN-8386-1
Ubuntu noble nano Advisory build 7.2-2ubuntu0.2 USN-8386-1
Ubuntu questing nano Advisory build 8.4-1ubuntu0.1 USN-8386-1
Ubuntu resolute nano Advisory build 8.7.1-1ubuntu0.1 USN-8386-1
SUSE / openSUSE openSUSE-Leap-16.0 nano-langnoarch Advisory build 9.1-bp160.1.1 OPENSUSE-SU-2026:21166-1
SUSE / openSUSE openSUSE-Tumbleweed nano-langaarch64 Advisory build 9.0-2.1 OPENSUSE-SU-2026:10851-1
SUSE / openSUSE openSUSE-Tumbleweed nano-langppc64le Advisory build 9.0-2.1 OPENSUSE-SU-2026:10851-1
SUSE / openSUSE openSUSE-Tumbleweed nano-langs390x Advisory build 9.0-2.1 OPENSUSE-SU-2026:10851-1
SUSE / openSUSE openSUSE-Tumbleweed nano-langx86_64 Advisory build 9.0-2.1 OPENSUSE-SU-2026:10851-1
Ubuntu bionic nano-tiny Advisory build 2.9.3-2ubuntu0.1~esm2 USN-8386-1
Ubuntu focal nano-tiny Advisory build 4.8-1ubuntu1.1+esm1 USN-8386-1
Ubuntu jammy nano-tiny Advisory build 6.2-1ubuntu0.2 USN-8386-1
Ubuntu noble nano-tiny Advisory build 7.2-2ubuntu0.2 USN-8386-1
Ubuntu questing nano-tiny Advisory build 8.4-1ubuntu0.1 USN-8386-1
Ubuntu resolute nano-tiny Advisory build 8.7.1-1ubuntu0.1 USN-8386-1

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.

en · redhat · cna

Vendor advisories explicitly linked to this CVE.

8

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
2.5 / 10
Severity
low
Provider
redhat · cna
Vector string
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
nano 2.9.1 to < 9.0 (affected · semver)Default: unaffected redhat · cna
Red Hat Red Hat Enterprise Linux 10 Default: affected redhat · cna
Red Hat Red Hat Enterprise Linux 6 Default: affected redhat · cna
Red Hat Red Hat Enterprise Linux 7 Default: affected redhat · cna
Red Hat Red Hat Enterprise Linux 8 Default: affected redhat · cna
Red Hat Red Hat Enterprise Linux 9 Default: affected redhat · cna
Red Hat Red Hat OpenShift Container Platform 4 Default: affected redhat · cna
Red Hat Red Hat OpenShift Container Platform 4 Default: affected redhat · cna

Weaknesses

1
  • CWE-732 Incorrect Permission Assignment for Critical Resource (redhat · cna)

References

2

Provider assertions

2

redhat · cna

Nano: nano: local attacker can inject malicious .desktop launcher due to insecure directory permissions

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
db4e94f97b4ed3047b887245b087d4d31278088e480fd4c2c11d287024d7fe0a
Ingested
25 Nov 2026, 16:42:41 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected