{"id":"CVE-2026-6842","aliases":["CVE-2026-6842"],"related":[],"kind":"vulnerability","state":"published","title":"Nano: nano: local attacker can inject malicious .desktop launcher due to insecure directory permissions","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Se encontró una falla en nano. En entornos con configuraciones de umask permisivas, un atacante local puede explotar permisos de directorio incorrectos (0777 en lugar de 0700) para el directorio “~/.local”. Esto permite al atacante inyectar un lanzador “.desktop” malicioso, lo que podría llevar a acciones no deseadas o revelación de información si el lanzador se procesa posteriormente.","source":"nvd"}],"published":"2026-04-22T07:34:26.360Z","modified":"2026-11-25T17:17:59.750Z","severity":{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N","score":2.5,"rating":"LOW"},"severities":[{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N","score":2.5,"rating":"LOW"}],"cwes":["CWE-732"],"affected":[{"ranges":[{"type":"semver","introduced":"2.9.1","fixed":"9.0","status":"affected"}],"package":"nano","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 10","package":"nano","cpe":"cpe:/o:redhat:enterprise_linux:10","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 6","package":"nano","cpe":"cpe:/o:redhat:rhel_els:6","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 7","package":"nano","cpe":"cpe:/o:redhat:rhel_els:7","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","package":"nano","cpe":"cpe:/o:redhat:enterprise_linux:8","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","package":"nano","cpe":"cpe:/o:redhat:enterprise_linux:9","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4","package":"openshift/ose-rhel-coreos-8","cpe":"cpe:/a:redhat:openshift:4","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4","package":"openshift/ose-rhel-coreos-9","cpe":"cpe:/a:redhat:openshift:4","source":"cvelist"}],"references":[{"url":"https://access.redhat.com/security/cve/CVE-2026-6842","tags":["vdb-entry","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2460018","tags":["issue-tracking","x-refsource-redhat"],"sources":["cvelist","nvd"]}],"credits":["Red Hat would like to thank Michał Majchrowicz, Marcin Wyczechowski (AFINE Team) for reporting this issue."],"assigner":"redhat","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-04-22T13:07:50.621Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-6842","url":"https://www.cve.org/CVERecord?id=CVE-2026-6842","licence":"CVE Terms of Use","modified":"2026-11-25T16:34:27.961Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-6842","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-6842","licence":"Public domain","modified":"2026-11-25T17:17:59.750Z"}],"updatedAt":"2026-11-25T23:18:17.070Z","epss":{"score":0.00112,"percentile":0.01519,"date":"2026-12-01T12:00:22.000Z"}}