Skip to main content
← All vulnerabilities
CVE-2026-62374EUVD-2026-113215

SD JWT JS: Tampered disclosures silently dropped instead of rejected

Published
Last modified
published
Not listed in CISA KEV
None on Exploit-DB, Metasploit or GitHub

Summary

The SD-JWT JS libraries (`@sd-jwt/decode` and `@sd-jwt/core`) silently drop tampered or malformed selective disclosures instead of rejecting them, so verification reports success with a reduced set of claims. If a relying party treats a missing age, role, or restriction claim as permission, this can change an authorization decision without any error.

Summarized by anthropic/claude-haiku-5.5. Verify details against the original sources.

Read the original description

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.

Timeline

  1. CVE published
  2. First seen by cve.now

Affected versions

  • openwallet-foundation @sd-jwt/core

    through 0.19.0

  • openwallet-foundation @sd-jwt/decode

    through 0.19.0

References 1

GitHub · openwallet-foundation/sd-jwt-js