LiveActive security incident?Get immediate response
CVE Record

CVE-2026-6842: Nano: nano: local attacker can inject malicious .desktop launcher due to insecure directory permissions

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.

LowCVSS 2.5Not KEV-listedUpdated
Glexia's TakeAutomated analysislow

Security readout for executives and security teams

Plain-English summary

Nano may create a user’s ~/.local directory with permissions allowing other local users to write into it. An attacker with local access could add a malicious desktop launcher. If another component later processes that launcher, it could cause unintended actions or limited information exposure. The reported severity is low.

Executive priority

Treat this as routine, targeted hardening rather than an emergency. Prioritize multi-user systems where untrusted local accounts coexist and permissive permissions are possible. Accelerate response if unauthorized launchers or writable user directories are discovered.

Technical view

The flaw is an incorrect-permissions issue, classified as CWE-732. With permissive umask settings, nano may create ~/.local as 0777 rather than 0700, enabling a low-privileged local attacker to inject a .desktop file. CVSS 3.1 is 2.5: local access, high complexity, low integrity impact, and no stated availability impact.

Likely exposure

Exposure requires nano, a permissive umask, an affected ~/.local creation path, and an untrusted local user. The bundle marks RHEL 6–10 and OpenShift Container Platform 4 packages as affected. It also names nano 2.9.1, but precise affected version ranges are incomplete.

Exploitation context

No active exploitation is established. The CVE is not listed as KEV in the supplied bundle, and no cited source claims observed exploitation. Abuse requires local privileges and suitable directory permissions; the CVSS assessment rates attack complexity high.

Researcher notes

The reported impact is limited to low integrity loss, with no confidentiality impact scored despite the description mentioning possible information disclosure. The supplied sources do not name a fixed version, patch, or confirmed exploitation. Broad RHEL and OpenShift affected status is provided, but package-level version boundaries require vendor confirmation.

Mitigation direction

  • Apply vendor-provided updates when Red Hat or nano guidance identifies a fixed package.
  • Ensure affected users’ ~/.local directories are restricted to their owners, consistent with 0700 permissions.
  • Review and tighten permissive umask configurations where operationally appropriate.
  • Restrict local account access and investigate unauthorized .desktop files in user directories.

Validation and detection

  • Inventory nano packages across listed RHEL and OpenShift environments.
  • Check whether ~/.local directories are writable by users other than their owners.
  • Identify systems using permissive umask settings when user directories may be created.
  • Review affected user directories for unexpected or recently created .desktop launchers.
  • Confirm remediation status against current vendor advisories before closing findings.
Prepared
Confidence
medium
Sources
4

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · medium confidence lookup

CWE-732: Authorization and privilege behavior lookup

Authorization weaknesses can support privilege escalation and valid-account review, depending on exploit path. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
description · low confidence lookup

Container behavior lookup

The affected technology mentions containers, so container-specific ATT&CK technique review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2026-6842 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Low
CVSS
2.5 (3.1)
Known Exploited
No
Published

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

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
5Timeline events
1ADP providers
3Source links

SSVC decision data

CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: noTechnical Impact: partial

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
2.5CVSS 3.1LowCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N11.4redhat

Vulnerability scoring details

Base CVSS 3.1 score

2.5Low
CVSS 3.1 vector shape for CVE-2026-6842Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

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

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Vulnerability timeline

Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.

  1. Source timelineredhat

    Reported to Red Hat.

  2. Source timelineredhat

    Made public.

  3. CVE reservedCVE Program

    The CVE ID was reserved by the assigning CNA.

  4. CVE publishedCVE Program

    The CVE record was published.

  5. CVE updatedCVE Program

    The CVE record metadata indicates this as the latest update time.

ADP provider summaries

CISA-ADPCISA ADP Vulnrichment
other:ssvc

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
Unknown vendornanonano, 2.9.1unaffected
Red HatRed Hat Enterprise Linux 10nanoaffected
Red HatRed Hat Enterprise Linux 6nanoaffected
Red HatRed Hat Enterprise Linux 7nanoaffected
Red HatRed Hat Enterprise Linux 8nanoaffected
Red HatRed Hat Enterprise Linux 9nanoaffected
Red HatRed Hat OpenShift Container Platform 4openshift/ose-rhel-coreos-8affected
Red HatRed Hat OpenShift Container Platform 4openshift/ose-rhel-coreos-9affected
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-732 · source CWE mapping

Incorrect Permission Assignment for Critical Resource

Incorrect Permission Assignment for Critical Resource represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.