{"schemaVersion":3,"id":"CVE-2026-6842","aliases":["UBUNTU-CVE-2026-6842","DEBIAN-CVE-2026-6842"],"status":"published","duplicateOf":null,"title":null,"description":"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.","dates":{"published":"2026-04-22T07:34:26.360Z","modified":"2026-09-01T12:07:35.563Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":2.5,"severity":"low","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":2.5,"severity":"low","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":2.5,"severity":"low","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N","exploitability":2.6,"impact":2.3,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":2.5,"severity":"low","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N","exploitability":2.6,"impact":2.3,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":2.5,"severity":"low","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.0011,"percentile":0.01192,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0.025000000000000012,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.00085},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00085,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00085,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00085,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00085,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00085,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00085,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00085,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00085,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00085,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00085,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0011,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0011,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0011,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0011,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0011,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0011,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0011,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0011,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0011,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0011,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0011,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0011,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0011,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0011,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0011,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0011,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0011,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0011,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0011,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0011,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0011,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0011,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0011,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0011,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0011,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0011,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.0011,"percentile":0.01192}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.00085,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00085,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00085,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00085,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0011,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0011,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0011,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0011,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0011,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0011,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0011,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0011,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0011,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0011,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0011,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0011,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0011,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0011,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0011,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0011,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0011,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0011,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0011,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0011,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0011,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0011,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0011,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0011,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0011,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0011,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.0011,"percentile":0.01192}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-732","name":"Incorrect Permission Assignment for Critical Resource","description":"The product specifies permissions for a security-critical resource in a way that allows that resource to be read or modified by unintended actors.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/732.html"}],"affected":[{"vendor":"debian","product":"nano","name":"nano","label":"nano","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/nano","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null},{"text":"< 8.4-1+deb13u1","noFixRecorded":false,"fixedIn":null},{"text":"< 9.0-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"All versions (No fix recorded) | < 8.4-1+deb13u1 | < 9.0-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"nano","name":"nano","label":"nano","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/nano","purlType":"deb","versions":[{"text":"< 2.9.3-2ubuntu0.1~esm2","noFixRecorded":false,"fixedIn":null},{"text":"< 4.8-1ubuntu1.1+esm1","noFixRecorded":false,"fixedIn":null},{"text":"< 6.2-1ubuntu0.2","noFixRecorded":false,"fixedIn":null},{"text":"< 7.2-2ubuntu0.2","noFixRecorded":false,"fixedIn":null},{"text":"< 8.4-1ubuntu0.1","noFixRecorded":false,"fixedIn":null},{"text":"< 8.7.1-1ubuntu0.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.9.3-2ubuntu0.1~esm2 | < 4.8-1ubuntu1.1+esm1 | < 6.2-1ubuntu0.2 | < 7.2-2ubuntu0.2 | < 8.4-1ubuntu0.1 | < 8.7.1-1ubuntu0.1","eol":null,"hubHref":null}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://access.redhat.com/security/cve/CVE-2026-6842","label":"access.redhat.com/security/cve/CVE-2026-6842","hostname":"access.redhat.com","tags":["VDB Entry","X Refsource REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2460018","label":"bugzilla.redhat.com/show_bug.cgi?id=2460018","hostname":"bugzilla.redhat.com","tags":["Issue Tracking","X Refsource REDHAT","REPORT"]},{"url":"https://ubuntu.com/security/CVE-2026-6842","label":"ubuntu.com/security/CVE-2026-6842","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-6842","label":"www.cve.org/CVERecord?id=CVE-2026-6842","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2455314","label":"bugzilla.redhat.com/show_bug.cgi?id=2455314","hostname":"bugzilla.redhat.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-8386-1","label":"ubuntu.com/security/notices/USN-8386-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-6842","label":"security-tracker.debian.org/tracker/CVE-2026-6842","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-6842","label":"nvd.nist.gov/vuln/detail/CVE-2026-6842","hostname":"nvd.nist.gov","tags":["Oval","Advisory"]}],"lineage":{"upstream":[],"downstream":["MGASA-2026-0121","OPENSUSE-SU-2026:10851-1","OPENSUSE-SU-2026:21166-1","USN-8386-1"],"duplicates":[],"related":["OPENSUSE-SU-2026:10851-1","OPENSUSE-SU-2026:21166-1","USN-8386-1"]},"timeline":[{"kind":"published","date":"2026-04-22T07:34:26.360Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-09-01T12:07:35.563Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":10,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T01:52:28.545Z","stale":false,"partial":false}}