CVE-2026-6842

Source
https://cve.org/CVERecord?id=CVE-2026-6842
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-6842.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-6842
Downstream
Related
Published
2026-04-22T07:34:26.360Z
Modified
2026-09-02T03:30:56.678280373Z
Severity
  • 2.5 (Low) CVSS_V3 - CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N CVSS Calculator
Summary
Nano: nano: local attacker can inject malicious .desktop launcher due to insecure directory permissions
Details

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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/6xxx/CVE-2026-6842.json",
    "cna_assigner": "redhat",
    "cwe_ids": [
        "CWE-732"
    ]
}
References

Affected packages

Git / https.git.savannah.gnu.org/git/nano.git/

Affected ranges

Type
GIT
Repo
https://https.git.savannah.gnu.org/git/nano.git/
Events
Introduced
d646a3b97b7d2fddcc1c98a59db0c753edf5e4c8
Fixed
c7276e58c98bfcc51ae5714e0154bd68bc67c40a
Database specific
Show details
{
    "source": "AFFECTED_FIELD",
    "extracted_events": [
        {
            "introduced": "2.9.1"
        },
        {
            "fixed": "9.0"
        }
    ]
}

Affected versions

v2.*
v2.9.1
v2.9.2
v2.9.3
v2.9.4
v2.9.5
v2.9.6
v2.9.7
v2.9.8
v3.*
v3.0
v3.1
v3.2
v4.*
v4.0
v4.1
v4.2
v4.3
v4.4
v4.5
v4.6
v4.7
v4.8
v4.9
v5.*
v5.0
v5.1
v5.2
v5.3
v5.4
v5.5
v5.6
v5.6.1
v5.7
v5.8
v5.9
v6.*
v6.0
v6.1
v6.2
v6.3
v6.4
v7.*
v7.0
v7.1
v7.2
v8.*
v8.0
v8.1
v8.2
v8.3
v8.4
v8.5
v8.6
v8.7

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-6842.json"