- Accueil
- Vulnérabilités
- CVE-2026-6842
CVE-2026-6842
Nano: nano: local attacker can inject malicious .desktop launcher due to insecure directory permissions
Résumé
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.
Aucune traduction française : description d’origine affichée.
Produits et versions affectés
Redhat (6 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| Hat Enterprise Linux 10 | Versions non précisées | — | CNA (éditeur ou attributeur) |
| Hat Enterprise Linux 6 | Versions non précisées | — | CNA (éditeur ou attributeur) |
| Hat Enterprise Linux 7 | Versions non précisées | — | CNA (éditeur ou attributeur) |
| Hat Enterprise Linux 8 | Versions non précisées | — | CNA (éditeur ou attributeur) |
| Hat Enterprise Linux 9 | Versions non précisées | — | CNA (éditeur ou attributeur) |
| Hat OpenShift Container Platform 4 | Versions non précisées | — | CNA (éditeur ou attributeur) |
Correctif
Non renseigné par l’éditeur.
Contournement
Contournementsource officielle
Ensure that the system's umask is configured to a secure value, such as `0022` or `0077`, to prevent the creation of world-writable directories. This can be set system-wide in `/etc/profile` or `/etc/bashrc`, or for individual users in their `~/.bashrc` or `~/.profile`. A secure umask will ensure that newly created directories, including `~/.local` by `nano`, have appropriate permissions.
Source : CNA (éditeur ou attributeur)
Savoir si vous êtes touché
Aucune méthode de vérification renseignée.
Chronologie
- — Publication de la CVE (cve)
- — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1385)
Avis CERT-FR
- CERTFR-2026-AVI-1385 — Multiples vulnérabilités dans les produits VMware (26 octobre 2026) 26 oct. 2026
Références
- https://access.redhat.com/security/cve/CVE-2026-6842vdb-entry, x_refsource_REDHAT
- https://bugzilla.redhat.com/show_bug.cgi?id=2460018issue-tracking, x_refsource_REDHAT
Provenance des données
- Statut
- NVD
- Date de publication
- NVD
- Description
- CNA (éditeur ou attributeur)
- Score CVSS
- CNA (éditeur ou attributeur)
- Faiblesse (CWE)
- CNA (éditeur ou attributeur)
- Vecteur CVSS
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N(CVSS 3.1, CNA:secalert@redhat.com)- Faiblesse
- CWE-732 · Autre (CWE-732)