Home / Red Hat / Red Hat Enterprise Linux 10 / CVE-2026-6842
CVE-2026-6842: is it exploited, and which versions of Red Hat Enterprise Linux 10 are affected and fixed?
CVE-2026-6842 is an incorrect permissions on a critical resource vulnerability in Red Hat Enterprise Linux 10. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 12:38 UTC). Affected: nano from 2.9.1 before 9.0, Red Hat Enterprise Linux 10 all versions (the record names no range), Red Hat Enterprise Linux 6 all versions (the record names no range) and 4 more (CVE record by redhat). Fixed in 9.0 (CVE record by redhat). Severity: Low (2.5, CVSS 3.1, from redhat).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 12:38 UTC, CVE record November 28, 2026, 17:29 UTC and NVD November 25, 2026, 18:08 UTC.
What is 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.
From the CVE record by redhat, last updated November 25, 2026, 16:34 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| nano | from 2.9.1 before 9.0 | 9.0 | |
| Red Hat | Red Hat Enterprise Linux 10 nano | all versions (the record names no range) | |
| Red Hat | Red Hat Enterprise Linux 6 nano | all versions (the record names no range) | |
| Red Hat | Red Hat Enterprise Linux 7 nano | all versions (the record names no range) | |
| Red Hat | Red Hat Enterprise Linux 8 nano | all versions (the record names no range) | |
| Red Hat | Red Hat Enterprise Linux 9 nano | all versions (the record names no range) | |
| Red Hat | Red Hat OpenShift Container Platform 4 openshift/ose-rhel-coreos-8 | all versions (the record names no range) | |
| Red Hat | Red Hat OpenShift Container Platform 4 openshift/ose-rhel-coreos-9 | all versions (the record names no range) |
As the CVE record by redhat states it, last updated November 25, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
How severe is CVE-2026-6842?
| Score | Version | Vector | Source |
|---|---|---|---|
| Low 2.5 | CVSS 3.1 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N | redhat |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-6842 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, April 22, 2026)
- EPSS
- 0.11% probability of exploitation activity in the next 30 days, percentile 1.5 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-732 Incorrect Permission Assignment for Critical Resource
Is there a workaround? (from the CVE record)
Ensure that the system's umask is configured to a secure value, such as `0022` or `0077`, to prevent the creation of world-writable directories. This can be set system-wide in `/etc/profile` or `/etc/bashrc`, or for individual users in their `~/.bashrc` or `~/.profile`. A secure umask will ensure that newly created directories, including `~/.local` by `nano`, have appropriate permissions.
Where are the vendor advisories and references?
- https://access.redhat.com/security/cve/CVE-2026-6842 vdb-entry, x_refsource_REDHAT
- RHBZ#2460018 issue-tracking, x_refsource_REDHAT
Who found and reported it?
- Red Hat would like to thank MichaĆ Majchrowicz, Marcin Wyczechowski (AFINE Team) for reporting this issue. (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- April 22, 2026
- Published
- April 22, 2026, 07:34 UTC
- CVE record updated
- November 25, 2026, 16:34 UTC by redhat
- NVD
- Awaiting Analysis, last modified November 25, 2026, 17:17 UTC
- Last checked
- CVE list November 28, 2026, 17:29 UTC; NVD November 25, 2026, 18:08 UTC; KEV December 3, 2026, 12:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Red Hat Enterprise Linux 10?
- Dec 3, 2026CVE-2026-119584 Red Hat Directory Server 11: memory leak
- Dec 3, 2026CVE-2026-118472 Red Hat Directory Server 11: NULL pointer dereference (crash)
- Dec 3, 2026CVE-2026-137818 Red Hat Enterprise Linux 10: denial of service (uncontrolled resource consumption)
- Dec 3, 2026CVE-2026-118469 Red Hat Directory Server 11: integer underflow
- Dec 2, 2026CVE-2026-142107 Red Hat Enterprise Linux 10: out-of-bounds write (memory corruption)
- Dec 2, 2026CVE-2026-142105 Red Hat Enterprise Linux 10: denial of service (resources allocated without limits)
- Dec 1, 2026CVE-2026-15268 Red Hat Enterprise Linux 10: missing authorization
- Dec 1, 2026CVE-2026-135901 Red Hat Hardened Images: link following (a symlink lets an attacker reach other files)
Every CVE in Red Hat Enterprise Linux 10
Questions about CVE-2026-6842
Is CVE-2026-6842 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 12:38 UTC. FIRST's EPSS gives it a 0.11% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Red Hat Enterprise Linux 10 are affected by CVE-2026-6842?
nano from 2.9.1 before 9.0, Red Hat Enterprise Linux 10 all versions (the record names no range), Red Hat Enterprise Linux 6 all versions (the record names no range), Red Hat Enterprise Linux 7 all versions (the record names no range), Red Hat Enterprise Linux 8 all versions (the record names no range), Red Hat Enterprise Linux 9 all versions (the record names no range) and 1 more, per the CVE record by redhat. The tables above give every range the sources list.
Which version fixes CVE-2026-6842?
9.0, per the CVE record by redhat. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-6842?
Low (2.5, CVSS 3.1, from redhat). The severity table above shows each score with its source.
Where is the official record of CVE-2026-6842?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.