CVE-2026-6842

LOW

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

Title source: cna
STIX 2.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.

References (2)

Core 2
Core References
Vdb Entry, X_Refsource_Redhat vdb-entry x_refsource_redhat
https://access.redhat.com/security/cve/CVE-2026-6842
Issue Tracking, X_Refsource_Redhat issue-tracking x_refsource_redhat
RHBZ#2460018
https://bugzilla.redhat.com/show_bug.cgi?id=2460018

Scores

CVSS v3 2.5
EPSS 0.0008
EPSS Percentile 0.4%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-732
Status published
Products (6)
Red Hat/Red Hat Enterprise Linux 10
Red Hat/Red Hat Enterprise Linux 6
Red Hat/Red Hat Enterprise Linux 7
Red Hat/Red Hat Enterprise Linux 8
Red Hat/Red Hat Enterprise Linux 9
Red Hat/Red Hat OpenShift Container Platform 4
Published Apr 22, 2026
Tracked Since Apr 22, 2026