npm
CVE-2026-62374
SD JWT JS: Tampered disclosures silently dropped instead of rejected
- Severity
- High
- Published
- 2 Nov 2026
- Last changed
- 2 Nov 2026
- Added to UpHeron
- 23 Nov 2026
- Fixed in
- 0.20.0
- Exploit chance
- 0.2% in the next 30 daysHigher than 13% of CVEs. EPSS by FIRST, 24 Nov 2026
- Weakness
- CWE-176
- Also known as
- GHSA-f9j6-8p6x-r9j6
- Sources
- OSV.dev and GitHub
Description
When one Disclosure in an SD-JWT presentation is tampered so its digest no longer matches the Issuer-signed _sd array, @sd-jwt/decode 0.19.0 does not reject the presentation. It silently drops the unmatched Disclosure and returns a reduced claim set, reporting success. The Issuer signature is untouched and valid.
This is a downgrade/omission primitive. A malicious or curious holder can present a tampered Disclosure and have the relying party receive fewer claims than the credential carries, with no error surfaced. Where the relying party does not enforce key binding, an in-transit (on-path) attacker can achieve the same by mangling one Disclosure's bytes; where key binding is enforced, on-path tampering instead breaks the holder's KB-JWT sd_hash binding (so it is rejected), and the downgrade is then exercisable by the key-bound holder — confirmed end-to-end with KB required.
Two distinct tampering inputs converge on the same silent-drop sink:
Affected software
| Software | Affected versions |
|---|---|
@sd-jwt/corenpm · osv:npm:@sd-jwt/core |
|
@sd-jwt/decodenpm · osv:npm:@sd-jwt/decode |
|
About @sd-jwt/core
- Weekly downloads (npm)
- 45,987npm, 24 Nov 2026
This is the only vulnerability in @sd-jwt/core in our list.
About @sd-jwt/decode
- Weekly downloads (npm)
- 40,995npm, 24 Nov 2026
This is the only vulnerability in @sd-jwt/decode in our list.
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-62374
- GitHub Advisory Database https://github.com/advisories/GHSA-f9j6-8p6x-r9j6