GHSA-R8Q4-FCXM-V42Q
Bearer SD-JWT VCs are accepted without holder binding although the DCQL query requires cryptographic holder binding by default
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
Fuente: GitHub
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | GHSA-R8Q4-FCXM-V42Q divulgada · CVSS 5.9 (GitHub) | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
Impact
OpenID4VP 1.0 §6.1 defines the credential query parameter `require_cryptographic_holder_binding`, which defaults to `true`. §8.6 requires the verifier to check that every presentation carries a proof of holder binding unless the query opted out. Appendix B.3 adds that SD-JWTs without a `cnf` claim cannot be returned in that case.
Before this fix, `verifyPresentation` and `verifyAuthorizationResponse` never read `require_cryptographic_holder_binding`. A Key Binding JWT was required only when the credential carried `cnf` (the fix for GHSA-h548-cr7v-4v97) or when the caller set `requireKeyBinding: true`. With default options, an issuer-signed SD-JWT VC without `cnf` and without a KB-JWT was therefore accepted as `valid: true`.
A captured bearer credential could be replayed indefinitely, because the request `nonce` never enters the check.
Not affected:
- credentials that carry `cnf`, which most HAIP/PID issuers include, because their KB-JWT is already mandatory;
- integrations that pass `requireKeyBinding: true`.
Patches
Fixed in 0.14.0: `verifyPresentation` and `verifyAuthorizationResponse` enforce the matched credential query's `require_cryptographic_holder_binding`, defaulting to `true`. Without a valid KB-JWT, a bearer SD-JWT is rejected. To accept bearer credentials on purpose, set `require_cryptographic_holder_binding: false` in that credential query.
Workarounds
Pass `requireKeyBinding: true` in the verification options.
### References
- OpenID4VP 1.0 §6.1, §8.6 and Appendix B.3: https://openid.net/specs/openid-4-verifiable-presentations-1_0.html
- Related: GHSA-h548-cr7v-4v97
- Found during an internal specification-conformance audit, 2026-10-20.
Desglose de métricas
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
npm@openeudi/openid4vp |
Sin parche | — | — | — |
Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://github.com/openeudi/openid4vp/security/advisories/GHSA-r8q4-fcxm-v42qLas referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
