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

CVE-2026-62374

SD JWT JS: Tampered disclosures silently dropped instead of rejected

Publiée le 29 oct. 2026 · modifiée le 4 nov. 2026 · Sources : NVD, CNA (éditeur ou attributeur), CERT-FR, EPSS (FIRST)

Moyen 40/100

Résumé

SD JWT JS is a JavaScript implementation of the Selective Disclosure JWT (SD-JWT) specification. In version 0.19.0 and earlier, `@sd-jwt/decode`, also used by `@sd-jwt/core`, silently drops a tampered Disclosure whose digest no longer matches the Issuer-signed `_sd` array and returns a reduced claim set, reporting success while the Issuer signature remains valid. Both a tampered Disclosure that remains valid JSON and a Disclosure containing invalid UTF-8 bytes reach this silent-drop behavior. In the latter case, the `TextDecoder / Buffer` decoding path substitutes U+FFFD replacement characters, recovering syntactically valid disclosure data instead of rejecting the malformed input. This violates RFC 9901 section 7.1 step 5, which requires rejection of unreferenced Disclosures, and section 7.1 step 3 / section 4.2.1, which require rejection of invalid Disclosures. A malicious holder can exploit this omission primitive, including through `SDJwtInstance.verify()` when key binding is required. An on-path attacker can also tamper with a Disclosure when the relying party does not enforce key binding; enforced key binding rejects on-path tampering because it invalidates the KB-JWT `sd_hash` binding. If the relying party defaults to allowing access when a constraining age, role, or restriction claim is absent, the silent claim reduction can change an authorization decision without an error. This issue is fixed in `@sd-jwt/core` version 0.20.0; no patched version of the standalone `@sd-jwt/decode` package is identified.

Aucune traduction française : description d’origine affichée.

Produits et versions affectés

openwallet-foundation (2 ligne(s))
openwallet-foundation
ProduitVersionsCorrigé dansSource
@sd-jwt/core Versions non précisées — CNA (éditeur ou attributeur)
@sd-jwt/decode Versions non précisées — CNA (éditeur ou attributeur)
npm (2 ligne(s))
npm
ProduitVersionsCorrigé dansSource
@sd-jwt/core avant 0.20.0 (exclu) 0.20.0 GitHub Advisory
@sd-jwt/decode jusqu’à 0.19.0 (inclus) — GitHub Advisory

Correctif

Mise à jour — npm/@sd-jwt/core 0.20.0source officielle

Source : GitHub Advisory

Contournement

Aucun contournement renseigné.

Savoir si vous êtes touché

Exploit signalé par les sources

Ces liens sont étiquetés « exploit » par le NVD ou par CVE.org. Nous ne les avons pas vérifiés ni copiés ; ouvrez-les avec prudence.

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
CNA (éditeur ou attributeur)
Faiblesse (CWE)
NVD
Vecteur CVSS
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N (CVSS 4.0, CNA:GitHub_M)
Faiblesse
CWE-176 · Autre (CWE-176)

Comment sont obtenues et calculées ces données