1. Accueil
  2. Vulnérabilités
  3. CVE-2026-121476

CVE-2026-121476

Openpgp-cert-d: following symbolic links when updating certificates enables arbitrary file modification

Publiée le 1 déc. 2026 · modifiée le 3 déc. 2026 · Sources : NVD, CNA (éditeur ou attributeur), CERT-FR, EPSS (FIRST)

Faible 16/100

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))
Redhat
ProduitVersionsCorrigé dansSource
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))
crates.io
ProduitVersionsCorrigé dansSource
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

  1. — Publication de la CVE (cve)

Avis CERT-FR

Références

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)

Comment sont obtenues et calculées ces données