Skip to main content

nano EUVDEUVD-2026-24633

| CVE-2026-6842 LOW
Incorrect Permission Assignment for Critical Resource (CWE-732)
2026-04-22 redhat GHSA-ccfr-97mr-qq8g
2.5
CVSS 3.1 · NVD

Severity by source

NVD PRIMARY
2.5 LOW
AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

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

Lifecycle Timeline

4
Analysis Generated
Apr 22, 2026 - 08:24 vuln.today
EUVD ID Assigned
Apr 22, 2026 - 08:00 euvd
EUVD-2026-24633
Analysis Generated
Apr 22, 2026 - 08:00 vuln.today
CVE Published
Apr 22, 2026 - 07:34 nvd
LOW 2.5

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.

AnalysisAI

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.

Technical ContextAI

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.

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.

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-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-28369 CRITICAL
9.1 Mar 27

HTTP request smuggling in Undertow (the embedded web server underpinning JBoss EAP, Red Hat Data Grid, and Apache Camel

CVE-2026-28368 CRITICAL
9.1 Mar 27

HTTP request smuggling in Red Hat Undertow allows remote unauthenticated attackers to bypass front-end security controls

CVE-2026-33845 CRITICAL
9.1 Apr 30

Out-of-bounds read in the GnuTLS DTLS handshake reassembly logic lets remote unauthenticated attackers trigger an intege

CVE-2026-28367 CRITICAL
9.1 Mar 27

HTTP request smuggling in Undertow allows remote unauthenticated attackers to send `\r\r\r` as a header block terminator

CVE-2026-16526 HIGH
8.8 Jul 30

Local privilege escalation in Performance Co-Pilot (PCP) on Red Hat Enterprise Linux 6 through 10 and OpenShift Containe

CVE-2026-11610 HIGH
8.8 Jul 07

Denial of service in Red Hat / 389 Directory Server (389-ds-base, versions since ~1.3.2/2013) allows an authenticated LD

CVE-2026-14474 HIGH
8.8 Jul 07

Local-to-domain-wide root privilege escalation in SSSD's LDAP sudo provider allows an authenticated LDAP directory user

CVE-2026-52720 HIGH
8.8 Jun 15

Heap buffer overflow in GStreamer's librfb (RFB/VNC client) allows a malicious VNC server to corrupt heap memory on a co

CVE-2026-59851 HIGH
8.8 Jul 21

Privilege escalation via authentication bypass in libssh affects servers that enable GSSAPIKeyExchange, where the gssapi

Share

EUVD-2026-24633 vulnerability details – vuln.today

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