VDB

CVE-2026-6842

CVE-2026-6842 PUBLISHED CVSS 2.5 LOW

Reported by redhat · Published April 22, 2026

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
nanogit.savannah.gnu.org9.0

Risk scores

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

Affected products

VendorProductVersions
2.9.1
Red HatRed Hat Enterprise Linux 10
Red HatRed Hat Enterprise Linux 6
Red HatRed Hat Enterprise Linux 7
Red HatRed Hat Enterprise Linux 8
Red HatRed Hat Enterprise Linux 9
Red HatRed Hat OpenShift Container Platform 4
Red HatRed Hat OpenShift Container Platform 4
Red HatRed Hat Enterprise Linux 10
Red HatRed Hat Enterprise Linux 9
Red HatRed Hat Enterprise Linux 8
Red HatRed Hat OpenShift Container Platform 4
Red HatRed Hat OpenShift Container Platform 4
Red HatRed Hat Enterprise Linux 6
Red HatRed Hat OpenShift Container Platform 4
Red HatRed Hat Enterprise Linux 7
2.9.1

Timeline

  • Apr 22, 2026 CVE Published
  • Apr 22, 2026 PoC Published
  • Apr 23, 2026 Security Advisory
  • May 18, 2026 EPSS Score (19 in total, the first dated here)
  • Jul 16, 2026 Coalition ESS Score
  • Nov 6, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-6842
vulnetix vdb fixes CVE-2026-6842

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-6842/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

  • vdb-entryx_refsource_REDHAT
  • RHBZ#2460018 issue-trackingx_refsource_REDHAT
Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›