Skip to main content
VulnerabilityPublished Updated

CVE-2026-6842: nano vulnerabilities

Affects nanoSource GCVE Database

0
Compare

Mentioned vulnerabilities

Authoritative record:CVE-2026-6842· Low 2.5

Not known to be exploited · CVSS 2.5 Low · fixed in 2.9.3-2ubuntu0.1~esm2 : update nano when convenient.

Data as of 24 Nov 2026, 17:39 UTC

CVSS 3.1 base score
2.5Low
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (redhat)CVSS 3.12.5
Patch
Available – fixed in 2.9.3-2ubuntu0.1~esm2, 4.8-1ubuntu1.1+esm1, 6.2-1ubuntu0.2 +3
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 22 Apr 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.

What to do

Upgrade to a fixed release listed under Affected software.

Affected software

ProductAffectedFixed in
Ubuntu 26.04 LTSnanopkg:deb/ubuntu/nano?arch=source&distro=resoluteOther threatsAffected
  • <8.7.1-1ubuntu0.1
Fixed in
  • 8.7.1-1ubuntu0.1
Ubuntu 25.10nanopkg:deb/ubuntu/nano?arch=source&distro=questingOther threatsAffected
  • <8.4-1ubuntu0.1
Fixed in
  • 8.4-1ubuntu0.1
Ubuntu 24.04 LTSnanopkg:deb/ubuntu/nano?arch=source&distro=nobleOther threatsAffected
  • <7.2-2ubuntu0.2
Fixed in
  • 7.2-2ubuntu0.2
Ubuntu 22.04 LTSnanopkg:deb/ubuntu/nano?arch=source&distro=jammyOther threatsAffected
  • <6.2-1ubuntu0.2
Fixed in
  • 6.2-1ubuntu0.2
Ubuntu Pro 20.04 LTSnanopkg:deb/ubuntu/nano?arch=source&distro=esm-infra/focalOther threatsAffected
  • <4.8-1ubuntu1.1+esm1
Fixed in
  • 4.8-1ubuntu1.1+esm1
Ubuntu Pro 18.04 LTSnanopkg:deb/ubuntu/nano?arch=source&distro=esm-infra/bionicOther threatsAffected
  • <2.9.3-2ubuntu0.1~esm2
Fixed in
  • 2.9.3-2ubuntu0.1~esm2

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

Michał Majchrowicz and Marcin Wyczechowski discovered that Nano created the ~/.local directory with incorrect permissions. In environments with permissive umask settings, a local attacker could possibly use this issue to inject a malicious launcher file, resulting in information disclosure or other unintended actions. (CVE-2026-6842) Michał Majchrowicz and Marcin Wyczechowski discovered that Nano incorrectly handled directory names when updating the status line. A local attacker could possibly use this issue to cause Nano to crash, resulting in a denial of service. This issue only affected Ubuntu 22.04 LTS, Ubuntu 24.04 LTS, Ubuntu 25.10, and Ubuntu 26.04 LTS. (CVE-2026-6843)

References

Community reviews

Loading reviews…