← CVE Intelligence

CVE-2026-6842

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

Description (CNA)

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.

Affected (CNA)

Vendor / productVersions
Not supplied / Not suppliedaffected 2.9.1 before 9.0
Red Hat / Red Hat Enterprise Linux 10affected
Red Hat / Red Hat Enterprise Linux 6affected
Red Hat / Red Hat Enterprise Linux 7affected
Red Hat / Red Hat Enterprise Linux 8affected
Red Hat / Red Hat Enterprise Linux 9affected
Red Hat / Red Hat OpenShift Container Platform 4affected
Red Hat / Red Hat OpenShift Container Platform 4affected

CWE

CWE-732

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.