πŸ” CVE Alert

CVE-2026-6842

LOW 2.5

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

CVSS Score
2.5
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-732
Vendor red hat
Product red hat enterprise linux 10
Published Apr 22, 2026
Last Updated Apr 22, 2026
Stay Ahead of the Next One

Get instant alerts for red hat red hat enterprise linux 10

Be the first to know when new low vulnerabilities affecting red hat red hat enterprise linux 10 are published β€” delivered to Slack, Telegram or Discord.

Get Free Alerts β†’ Free Β· No credit card Β· 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N
Attack Vector
Local
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
None

Affected Versions

Red Hat / Red Hat Enterprise Linux 10
All versions affected
Red Hat / Red Hat Enterprise Linux 6
All versions affected
Red Hat / Red Hat Enterprise Linux 7
All versions affected
Red Hat / Red Hat Enterprise Linux 8
All versions affected
Red Hat / Red Hat Enterprise Linux 9
All versions affected
Red Hat / Red Hat OpenShift Container Platform 4
All versions affected

References

NVD β†— CVE.org β†— EPSS Data β†—
access.redhat.com: https://access.redhat.com/security/cve/CVE-2026-6842 bugzilla.redhat.com: https://bugzilla.redhat.com/show_bug.cgi?id=2460018

Credits

Red Hat would like to thank MichaΕ‚ Majchrowicz, Marcin Wyczechowski (AFINE Team) for reporting this issue.