Analysis and contextual insights are available on OpenCVE Cloud.
No vendor fix or workaround currently provided.
Additional remediation guidance may be available on OpenCVE Cloud.
Tracking
Sign in to view the affected projects.
No advisories yet.
No reference.
Wed, 29 Apr 2026 08:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Weaknesses | CWE-732 | |
| References |
|
|
| Metrics |
cvssV4_0
|
Wed, 29 Apr 2026 07:45:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Description | GNU nano creates the user’s ~/.local directory with overly permissive permissions when the directory does not exist yet. On first use of features requiring Cross-Desktop Group (XDG) data storage, nano explicitly requests directory mode 0777, making the directory world‑writable in environments where the process umask does not sufficiently restrict permissions. In systems with a relaxed or zero umask, such as container environments, CI/CD runners, embedded systems, or user shells configured with umask 000, this results in ~/.local being created as world‑writable. A local attacker can exploit a race window between nano’s creation of ~/.local and its subsequent creation of more restrictive subdirectories to write attacker‑controlled files into the victim’s XDG directory hierarchy. This problem was fixed in nano version 9.0 | This CVE ID has been rejected or withdrawn by its CVE Numbering Authority. |
| Title | Insecure Directory Permissions in GNU nano Leading to Privilege Abuse | |
| Metrics |
cvssV4_0
|
cvssV4_0
|
Tue, 28 Apr 2026 16:15:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Gnu
Gnu nano |
|
| Vendors & Products |
Gnu
Gnu nano |
Tue, 28 Apr 2026 14:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Description | GNU nano creates the user’s ~/.local directory with overly permissive permissions when the directory does not exist yet. On first use of features requiring Cross-Desktop Group (XDG) data storage, nano explicitly requests directory mode 0777, making the directory world‑writable in environments where the process umask does not sufficiently restrict permissions. In systems with a relaxed or zero umask, such as container environments, CI/CD runners, embedded systems, or user shells configured with umask 000, this results in ~/.local being created as world‑writable. A local attacker can exploit a race window between nano’s creation of ~/.local and its subsequent creation of more restrictive subdirectories to write attacker‑controlled files into the victim’s XDG directory hierarchy. This problem was fixed in nano version 9.0 | |
| Title | Insecure Directory Permissions in GNU nano Leading to Privilege Abuse | |
| Weaknesses | CWE-732 | |
| References |
| |
| Metrics |
cvssV4_0
|
Status: REJECTED
Assigner: CERT-PL
Published:
Updated: 2026-04-29T07:17:27.349Z
Reserved: 2026-04-14T09:44:32.553Z
Link: CVE-2026-40556
Updated:
Status : Rejected
Published: 2026-04-28T15:16:30.150
Modified: 2026-04-29T08:16:17.750
Link: CVE-2026-40556
No data.
OpenCVE Enrichment
Updated: 2026-04-28T19:15:25Z
No weakness.