Skip to main content
EPSS 0.1%top 100%

CVE-2026-6842: Incorrect Permission Assignment for Critical Resource

0
Low
VulnerabilityCVE-2026-6842cvecve-2026-6842gcvecwe-732
Published: 04/22/2026 (04/22/2026, 07:34:26 UTC)
Source: CVE Database V5

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.

CVSS v3.1

Score 2.5low

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

Affected software

Red Hat

Red Hat Enterprise Linux 10

Red Hat

Red Hat Enterprise Linux 6

Red Hat

Red Hat Enterprise Linux 7

Red Hat

Red Hat Enterprise Linux 8

Red Hat

Red Hat Enterprise Linux 9

Red Hat

Red Hat OpenShift Container Platform 4

redhat/nano
pkg:rpm/redhat/nano
Affected versions
=10

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/03/2026, 21:17:12 UTC

Technical Analysis

This vulnerability arises from incorrect permission assignment on the ~/.local directory in Red Hat Enterprise Linux 10's nano editor, where the directory is set to 0777 instead of the more restrictive 0700. Under permissive umask settings, this allows a local attacker to place a malicious .desktop launcher file that could be processed by the system, potentially causing unintended actions or information disclosure. Exploitation requires local access and is considered complex, with no elevated privileges or user interaction necessary. The CVSS v3.1 base score is 2.5, reflecting low severity. No official patch or remediation level has been provided by Red Hat at this time.

Potential Impact

The impact is limited to local users who can exploit the overly permissive directory permissions to inject a malicious .desktop launcher. This could lead to unintended actions or information disclosure. There is no indication of privilege escalation or remote exploitation. The low CVSS score and high attack complexity indicate limited risk under normal conditions.

Mitigation Recommendations

Patch status is not yet confirmed — check the Red Hat advisory at https://access.redhat.com/security/cve/CVE-2026-6842 for current remediation guidance. Until an official fix is available, users should consider manually verifying and correcting the permissions of the ~/.local directory to 0700 to prevent unauthorized modification. No vendor advisory states that no action is required or that the issue is already mitigated.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
redhat
Date Reserved
2026-04-22T07:20:17.989Z
Cvss Version
3.1
State
PUBLISHED
Vendor Advisory Urls
[{"url":"https://access.redhat.com/security/cve/CVE-2026-6842","vendor":"Red Hat"}]

Threat ID: 69e87cbe19fe3cd2cd7bf973

Added to database: 04/22/2026, 07:46:06 UTC

Last enriched: 06/03/2026, 21:17:12 UTC

Last updated: 09/14/2026, 22:01:36 UTC

Views: 162

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses