Skip to main content
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Verify system umask is permissive
  2. Delivery
    Create nano directory with 0777 permissions
  3. Exploit
    Inject malicious .desktop launcher file
  4. Execution
    Targeted user logs in
  5. Persist
    Desktop environment processes launcher
  6. Impact
    Information disclosure or unintended action

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V13 - Configuration Permission assignment review
Exploitation Conditions

Exploitation requires three specific conditions: (1) nano creating ~/.local directory with world-writable (0777) permissions, which occurs only when the system has permissive umask settings (typically 0077 or higher, not the Linux default of 0022); (2) the attacker must have a local user account on the system (PR:L in CVSS vector) and be able to write to ~/.local directory of another user; (3) the targeted user must have an active desktop environment that processes .desktop launcher files in the .local/share/applications directory during session initialization. Server-only deployments, systems with standard umask (0022), and headless environments do not meet these conditions and are not vulnerable to practical exploitation.

Impact

This vulnerability presents low real-world risk despite affecting a widely-used text editor. The CVSS score of 2.5 accurately reflects the combination of local-only attack vector (AV:L), high attack complexity (AC:H indicating permissive umask is not default), and requirement for low privilege user account (PR:L). The integrity impact (I:L) is appropriately limited since an attacker can only inject .desktop files, not directly execute arbitrary code. The high attack complexity is the key limiting factor - this requires both a non-standard system umask configuration AND a specific .desktop processing context. EPSS exploitation probability data is not provided, but the AC:H designation suggests this is not a broadly exploitable issue across default Linux deployments. The attack requires local system access and relies on secondary processing of launcher files by desktop environments, making this primarily a concern for multi-user systems with non-standard umask settings (0077 or higher) where .desktop file processing is active. Single-user systems, headless servers, and systems with standard umask (0022) are largely unaffected.

Exploit ScenarioDerived

A local user on a permissive multi-user system (with umask 0077 or higher) with desktop environment active creates a crafted .desktop launcher file in another user's ~/.local/share/applications directory, exploiting the world-writable permissions. When the targeted user logs in and the desktop environment processes .desktop files (a standard initialization step), the malicious launcher could execute commands or access files with that user's privileges, resulting in information disclosure or unintended actions. Attack complexity is high because it requires both non-default umask AND active desktop environment processing.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Apr 22, 2026

Nano text editor creates ~/.local directory with overly permissive 0777 permissions instead of 0700 in environments with permissive umask settings, allowing local authenticated users to inject malicious .desktop launcher files that could lead to information disclosure or unintended actions when processed. CVSS score 2.5 reflects local attack vector and low integrity impact, with active exploitation status unknown and no public exploit code identified at time of analysis.

RemediationAI

Apply a patch from Red Hat that explicitly sets directory permissions to 0700 when creating ~/.local directory, regardless of umask setting. Check Red Hat Security Advisory for RHEL 6/7/8/9/10 and OpenShift Container Platform 4 for patched nano package versions via https://access.redhat.com/security/cve/CVE-2026-6842. As a workaround on affected unpatched systems, system administrators can enforce restrictive default umask (0077 or 0027) via /etc/profile, /etc/bashrc, or PAM configuration, which will prevent world-writable directory creation. However, this is a system-wide change that may impact application functionality and requires careful testing. Alternative workaround for high-risk systems: disable .desktop file processing in the desktop environment configuration if not required, though this limits desktop functionality. The most reliable mitigation is applying the vendor-released patch once available.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability stems from a directory permission handling flaw (CWE-732: Incorrect Permission Assignment for Critical Resource) in nano's initialization of the ~/.local directory. When nano creates this directory, it fails to explicitly set restrictive permissions (0700, readable/writable/executable only by owner) and instead inherits the process umask, which in permissive configurations can result in world-writable (0777) permissions. This allows other local users on the system to write arbitrary files into the directory. The attack specifically targets .desktop launcher files, which are processed by desktop environments and could trigger unintended application execution or information disclosure through crafted launcher properties. Red Hat reports the issue affects nano on RHEL 6 through RHEL 10 and OpenShift Container Platform 4.

Know when Red Hat Enterprise Linux 10 gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (redhat) PRIMARY 2.5 LOW
AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N

Primary rating from Vendor (redhat) · only source for this CVE.

CVSS VectorVendor: redhat

Attack Vector
Local
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
None

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.0%
Top 99% exploitable
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity LOW
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

12
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +12
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Affected Products (CPE)CVE.org

cpe:2.3:a:red_hat:red_hat_enterprise_linux_10:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_enterprise_linux_6:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_enterprise_linux_7:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_enterprise_linux_8:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_enterprise_linux_9:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_openshift_container_platform_4:*:*:*:*:*:*:*:*
CVE-2026-18663 MEDIUM
5.9 Aug 12

Heap corruption via double-free in 389-ds-base's LDAP control parsing allows an unauthenticated remote attacker to crash

CVE-2026-4631 CRITICAL POC
9.8 Apr 07

Remote code execution in Cockpit's web interface allows unauthenticated attackers to execute arbitrary commands on the h

CVE-2026-4480 CRITICAL POC
9.0 May 26

Remote code execution in Samba's printing subsystem allows remote attackers to inject arbitrary shell commands via craft

CVE-2026-101258 HIGH POC
7.8 Oct 06

Ghostscript can execute arbitrary shell commands with the privileges of its process when it renders a crafted PostScript

CVE-2026-96889 HIGH POC
7.8 Sep 23

Use-after-free in librsvg during rendering of crafted SVG documents with nested XInclude directives and duplicate entity

CVE-2026-4775 HIGH POC
7.8 Mar 24

A signed integer overflow vulnerability exists in the libtiff library's putcontig8bitYCbCr44tile function that leads to

CVE-2026-114406 MEDIUM POC
6.8 Oct 21

The system CA trust store shipped in Red Hat's ca-certificates RPM packages includes eMudhra root authorities that signe

CVE-2026-18922 CRITICAL
9.8 Sep 07

Authentication bypass in 389 Directory Server (shipped as Red Hat Directory Server 11-13 and within RHEL 6-10) lets remo

CVE-2026-14544 CRITICAL
9.8 Jul 03

Remote code execution and privilege escalation in HPLIP (HP Linux Imaging and Printing) affects the hpcups print filter

CVE-2026-76578 CRITICAL
9.8 Sep 07

Unauthenticated privilege escalation in FreeIPA (Red Hat Identity Management) allows a remote attacker to gain genuine a

CVE-2026-102560 CRITICAL
9.8 Sep 29

A heap buffer overflow exists in libsoup's WebSocket permessage-deflate compression path: when a very large outbound mes

CVE-2026-5121 HIGH
7.5 Mar 30

Remote code execution in libarchive on 32-bit systems allows unauthenticated attackers to execute arbitrary code via spe

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy