Skip to content
Heist/ feed
Back to feed
CriticalFix available

dcap-qvl has Missing Verification for QE Identity

Type: advisorySources: OSV

## Impact This vulnerability 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. ## Consequences 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. ## Who is impacted All deployments utilizing the dcap-qvl library for SGX or TDX quote verification are affected. ## Patches 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`. ## Workarounds There are no known workarounds for this vulnerability. Users must upgrade to the patched version to ensure that QE Identity collateral is properly verified. ## Credit This bug was reported by Rahul Saxena

Products
@phala/dcap-qvl, @phala/dcap-qvl-node, @phala/dcap-qvl-web, dcap-qvl
Affected versions
0.1.0, 0.1.1, 0.1.2, 0.1.3, 0.2.2, 0.3.0, 0.3.2, 0.3.4, 0.3.5, 0.3.6, 0.3.7, 0.3.8
Fixed versions
0.3.9
CVEs
CVE-2026-22696
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 18:47 UTC · Revision 1

Source evidence

dcap-qvl has Missing Verification for QE Identity

core-osv · Original source

Published 26 Jan 2026, 18:55 UTC

## Impact This vulnerability 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. ## Consequences 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. ## Who is impacted All deployments utilizing the dcap-qvl library for SGX or TDX quote verification are affected. ## Patches 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`. ## Workarounds There are no known workarounds for this vulnerability. Users must upgrade to the patched version to ensure that QE Identity collateral is properly verified. ## Credit This bug was reported by Rahul Saxena

osv:GHSA-796p-j2gh-9m2q

dcap-qvl

Fixed versions: 0.3.9

@phala/dcap-qvl

Fixed versions: 0.3.9

@phala/dcap-qvl-web

Fixed versions: Not specified

@phala/dcap-qvl-node

Fixed versions: Not specified

dcap-qvl

Fixed versions: 0.3.9

Complete source record
{
  "id": "02f5709da297f060906a06d0dbf4908563db5d7316c2a86ea0b50588dc6e1e0d",
  "url": "https://osv.dev/vulnerability/GHSA-796p-j2gh-9m2q",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "dcap-qvl has Missing Verification for QE Identity",
    "summary": "## Impact This vulnerability 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. ## Consequences 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. ## Who is impacted All deployments utilizing the dcap-qvl library for SGX or TDX quote verification are affected. ## Patches 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`. ## Workarounds There are no known workarounds for this vulnerability. Users must upgrade to the patched version to ensure that QE Identity collateral is properly verified. ## Credit This bug was reported by Rahul Saxena ",
    "evidence": "osv:GHSA-796p-j2gh-9m2q",
    "products": [
      {
        "name": {
          "value": "dcap-qvl",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "0.3.9",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "@phala/dcap-qvl",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "0.3.9",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "@phala/dcap-qvl-web",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": []
      },
      {
        "name": {
          "value": "@phala/dcap-qvl-node",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": []
      },
      {
        "name": {
          "value": "dcap-qvl",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "0.3.9",
            "evidence": "/affected/4/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "0.1.0",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "0.1.1",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "0.1.2",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "0.1.3",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "0.2.2",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "0.3.0",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "0.3.2",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "0.3.4",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "0.3.5",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "0.3.6",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "0.3.7",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "0.3.8",
            "evidence": "/affected/4/versions"
          }
        ]
      }
    ],
    "severity": "critical",
    "structured": {
      "id": "GHSA-796p-j2gh-9m2q",
      "aliases": [
        "CVE-2026-22696",
        "GHSA-796p-j2gh-9m2q",
        "PYSEC-2026-326"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "SEMVER",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "0.3.9"
                }
              ]
            }
          ],
          "package": {
            "name": "dcap-qvl",
            "purl": "pkg:cargo/dcap-qvl",
            "ecosystem": "crates.io"
          },
          "database_specific": {
            "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/01/GHSA-796p-j2gh-9m2q/GHSA-796p-j2gh-9m2q.json"
          }
        },
        {
          "ranges": [
            {
              "type": "SEMVER",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "0.3.9"
                }
              ]
            }
          ],
          "package": {
            "name": "@phala/dcap-qvl",
            "purl": "pkg:npm/%40phala/dcap-qvl",
            "ecosystem": "npm"
          },
          "database_specific": {
            "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/01/GHSA-796p-j2gh-9m2q/GHSA-796p-j2gh-9m2q.json",
            "last_known_affected_version_range": "<= 0.3.0"
          }
        },
        {
          "ranges": [
            {
              "type": "SEMVER",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "0.3.3"
                }
              ]
            }
          ],
          "package": {
            "name": "@phala/dcap-qvl-web",
            "purl": "pkg:npm/%40phala/dcap-qvl-web",
            "ecosystem": "npm"
          },
          "database_specific": {
            "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/01/GHSA-796p-j2gh-9m2q/GHSA-796p-j2gh-9m2q.json"
          }
        },
        {
          "ranges": [
            {
              "type": "SEMVER",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "0.3.3"
                }
              ]
            }
          ],
          "package": {
            "name": "@phala/dcap-qvl-node",
            "purl": "pkg:npm/%40phala/dcap-qvl-node",
            "ecosystem": "npm"
          },
          "database_specific": {
            "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/01/GHSA-796p-j2gh-9m2q/GHSA-796p-j2gh-9m2q.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "0.3.9"
                }
              ]
            }
          ],
          "package": {
            "name": "dcap-qvl",
            "purl": "pkg:pypi/dcap-qvl",
            "ecosystem": "PyPI"
          },
          "versions": [
            "0.1.0",
            "0.1.1",
            "0.1.2",
            "0.1.3",
            "0.2.2",
            "0.3.0",
            "0.3.2",
            "0.3.4",
            "0.3.5",
            "0.3.6",
            "0.3.7",
            "0.3.8"
          ],
          "database_specific": {
            "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/01/GHSA-796p-j2gh-9m2q/GHSA-796p-j2gh-9m2q.json"
          }
        }
      ],
      "modified": "2026-10-27T16:30:07.261058380Z",
      "provider": "osv",
      "references": [
        "https://github.com/Phala-Network/dcap-qvl/security/advisories/GHSA-796p-j2gh-9m2q",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-22696",
        "https://github.com/Phala-Network/dcap-qvl",
        "https://github.com/pypa/advisory-database/tree/main/vulns/dcap-qvl/PYSEC-2026-326.yaml",
        "https://pypi.org/project/dcap-qvl"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-295",
          "CWE-347"
        ],
        "severity": "CRITICAL",
        "github_reviewed": true,
        "nvd_published_at": "2026-01-26T22:15:55Z",
        "github_reviewed_at": "2026-01-26T18:55:13Z"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-22696",
        "evidence": "/aliases"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/database_specific/severity"
  },
  "source_id": "core-osv",
  "document_id": 462877,
  "published_at": "2026-01-26T18:55:13+00:00"
}