Directory Permission Flaw in Nano Affects User Environments
CVE-2026-6842

2.5LOW

What is CVE-2026-6842?

A security flaw in the Nano text editor allows local attackers to exploit overly permissive directory permissions (set to 0777 instead of 0700) on the ~/.local directory. This misconfiguration can enable attackers to plant malicious '.desktop' launcher files, which when executed, may trigger unwanted actions or compromise sensitive information. Users should ensure that their directory permissions are properly configured to mitigate potential risks.

References

CVSS V3.1

Score:
2.5
Severity:
LOW
Confidentiality:
None
Integrity:
Low
Availability:
None
Attack Vector:
Local
Attack Complexity:
High
Privileges Required:
Low
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

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