CVE-2026-6842

LOWCVSS 2.5/10EPSS 0.08%

Last modified

CVE-2026-6842 is a low-severity vulnerability rated 2.5/10 on the CVSS scale. 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. EPSS estimates a 0.08% chance of exploitation in the next 30 days.

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.

Metrics

CVSS 3.1
2.5/10

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N

EPSS Probability
0.08%

0.4th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

Source: CNA advisory (CVE.org). NVD analysis pending.

VendorProductVersions
Red HatRed Hat Enterprise Linux 10All versions
Red HatRed Hat Enterprise Linux 6All versions
Red HatRed Hat Enterprise Linux 7All versions
Red HatRed Hat Enterprise Linux 8All versions
Red HatRed Hat Enterprise Linux 9All versions
Red HatRed Hat OpenShift Container Platform 4All versions

References

Timeline

Published
Last Modified
Status
Awaiting Analysis

Frequently Asked Questions

What is 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 the attacker to inject a malicious `.desktop` launcher, which could lead to unintended actions or information disclosure if the launcher is subsequently processed.
How severe is CVE-2026-6842?
CVE-2026-6842 has a CVSS score of 2.5/10 (LOW severity). The EPSS model estimates a 0.08% probability of exploitation in the next 30 days.
How do I fix CVE-2026-6842?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

How Strix Helps

Related CVEs from 2026

Are you affected by CVE-2026-6842?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST