- Accueil
- Vulnérabilités
- CVE-2026-121476
CVE-2026-121476
Openpgp-cert-d: following symbolic links when updating certificates enables arbitrary file modification
Résumé
A flaw was found in openpgp-cert-d. When updating a certificate, the application opens the certificate file for writing without checking for symbolic links (symlinks). In environments where a certificate directory is shared between users, a local attacker could replace a certificate file with a symlink pointing to an arbitrary file. This can lead to unauthorized file modification, causing another user updating the certificate store to inadvertently overwrite or alter files of the attacker's choice.
Aucune traduction française : description d’origine affichée.
Produits et versions affectés
Redhat (3 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| Hat Enterprise Linux 10 | Versions non précisées | — | CNA (éditeur ou attributeur) |
| Hat Enterprise Linux 9 | Versions non précisées | — | CNA (éditeur ou attributeur) |
| Hat Hardened Images | Versions non précisées | — | CNA (éditeur ou attributeur) |
crates.io (1 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| openpgp-cert-d | de 0.0.0-0 (inclus) à 0.3.5 (exclu) |
0.3.5 |
OSV |
Correctif
Mise à jour — crates.io/openpgp-cert-d 0.3.5source officielle
Source : OSV
Contournement
Contournementsource officielle
Ensure certificate directories are not shared across multiple users and restrict directory permissions to the owning user. To restrict permissions on the default user certificate directory: ``` chmod 700 ~/.local/share/pgpkeys ``` If using a custom directory defined via `$PGP_CERT_D`, apply the same restriction: ``` chmod 700 /path/to/cert-d ``` Caveat: Collaborative environments that depend on multiple local users modifying a single shared certificate store will be disrupted; each user must maintain an isolated certificate store.
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 CERT-FR
- RUSTSEC-2026-0606 — Following symbolic links when updating certificates enables arbitrary file modification 27 nov. 2026
Références
- https://access.redhat.com/security/cve/CVE-2026-121476vdb-entry, x_refsource_REDHAT
- https://bugzilla.redhat.com/show_bug.cgi?id=2565798issue-tracking, x_refsource_REDHAT
Provenance des données
- Statut
- NVD
- Date de publication
- NVD
- Description
- CNA (éditeur ou attributeur)
- Score CVSS
- NVD
- Faiblesse (CWE)
- NVD
- Vecteur CVSS
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:N(CVSS 3.1, NVD)- Faiblesse
- CWE-59 · Autre (CWE-59)