CVE-2026-6842

low

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

https://bugzilla.redhat.com/show_bug.cgi?id=2460018

https://access.redhat.com/security/cve/CVE-2026-6842

Details

Source: Mitre, NVD

Published: 2026-04-22

Updated: 2026-04-22

Risk Information

CVSS v2

Base Score: 1

Vector: CVSS2#AV:L/AC:H/Au:S/C:N/I:P/A:N

Severity: Low

CVSS v3

Base Score: 2.5

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

Severity: Low