CVE-2026-22696
Validación de certificados en dcap-qvl
En resumen
Un atacante remoto, sin usuario ni contraseña, podría modificar información o el sistema sin que nadie haga nada.
Cómo se ataca
- Se puede atacar por la red, incluso desde internet si el servicio está expuesto.
- No requiere condiciones especiales: el ataque se puede repetir de forma confiable.
- No necesita usuario ni contraseña.
- No necesita que nadie haga nada: ni abrir un archivo ni hacer clic.
Qué puede lograr el atacante
- Leer información confidencial: datos, archivos o credenciales.
- Modificar información o el sistema; en los casos graves, ejecutar sus propios programas.
Cómo corregirla
- Revise si usa alguno de los productos y versiones de la lista «A qué afecta».
- Aplique la actualización o la mitigación que indica el fabricante.
- Si no puede actualizar ya, reduzca la exposición: que el servicio no sea accesible desde internet, o desactive la función afectada.
- Como pudo explotarse antes de corregirla, revise los registros del equipo en busca de accesos o cambios extraños.
Recomendaciones para este tipo de fallo
- No desactivar la verificación (verify=False, rejectUnauthorized: false, TrustAllCerts).
- Comprobar el nombre del servidor y la cadena de confianza.
- Aplicar la actualización del fabricante.
A qué afecta
Phala-Network · dcap-qvl
< 0.3.9
Qué es: Validación incorrecta de certificados
El programa acepta cualquier certificado en una conexión cifrada, y un atacante en la red se hace pasar por el servidor (ataque de intermediario).
Para «que funcione», se desactiva la verificación del certificado o no se comprueba que el nombre coincida. La conexión sigue viéndose cifrada, pero cualquiera en el camino (Wi-Fi pública, red comprometida) puede presentar su propio certificado y leer o cambiar todo.
Guía completa: dónde aparece, cómo se corrige y qué evitarDescripción oficial (en inglés)
dcap-qvl implements the quote verification logic for DCAP (Data Center Attestation Primitives). A vulnerability present in versions prior to 0.3.9 involves a critical gap in the cryptographic verification process within the dcap-qvl. The library fetches QE Identity collateral (including qe_identity, qe_identity_signature, and qe_identity_issuer_chain) from the PCCS. However, it skips to verify the QE Identity signature against its certificate chain and does not enforce policy constraints on the QE Report. An attacker can forge the QE Identity data to whitelist a malicious or non-Intel Quoting Enclave. This allows the attacker to forge the QE and sign untrusted quotes that the verifier will accept as valid. Effectively, this bypasses the entire remote attestation security model, as the verifier can no longer trust the entity responsible for signing the quotes. All deployments utilizing the dcap-qvl library for SGX or TDX quote verification are affected. The vulnerability has been patched in dcap-qvl version 0.3.9. The fix implements the missing cryptographic verification for the QE Identity signature and enforces the required checks for MRSIGNER, ISVPRODID, and ISVSVN against the QE Report. Users of the `@phala/dcap-qvl-node` and `@phala/dcap-qvl-web` packages should switch to the pure JavaScript implementation, `@phala/dcap-qvl`. There are no known workarounds for this vulnerability. Users must upgrade to the patched version to ensure that QE Identity collateral is properly verified.