GHSA-796p-j2gh-9m2q

Suggest an improvement
Source
https://github.com/advisories/GHSA-796p-j2gh-9m2q
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/01/GHSA-796p-j2gh-9m2q/GHSA-796p-j2gh-9m2q.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-796p-j2gh-9m2q
Aliases
Published
2026-01-26T18:55:13Z
Modified
2026-02-03T03:06:21.970096Z
Severity
  • 9.3 (Critical) CVSS_V4 - 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 CVSS Calculator
Summary
dcap-qvl has Missing Verification for QE Identity
Details

Impact

This vulnerability involves a critical gap in the cryptographic verification process within the dcap-qvl.

The library fetches QE Identity collateral (including qeidentity, qeidentitysignature, and qeidentityissuerchain) 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 saxenism@bluethroatlabs.com.

Database specific
{
    "cwe_ids": [
        "CWE-295",
        "CWE-347"
    ],
    "github_reviewed_at": "2026-01-26T18:55:13Z",
    "nvd_published_at": "2026-01-26T22:15:55Z",
    "severity": "CRITICAL",
    "github_reviewed": true
}
References

Affected packages

crates.io / dcap-qvl

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.3.9

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"

npm / @phala/dcap-qvl

Package

Name
@phala/dcap-qvl
View open source insights on deps.dev
Purl
pkg:npm/%40phala/dcap-qvl

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.3.9

Database specific

last_known_affected_version_range
"<= 0.3.0"
source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/01/GHSA-796p-j2gh-9m2q/GHSA-796p-j2gh-9m2q.json"

npm / @phala/dcap-qvl-web

Package

Name
@phala/dcap-qvl-web
View open source insights on deps.dev
Purl
pkg:npm/%40phala/dcap-qvl-web

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Last affected
0.3.3

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"

npm / @phala/dcap-qvl-node

Package

Name
@phala/dcap-qvl-node
View open source insights on deps.dev
Purl
pkg:npm/%40phala/dcap-qvl-node

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Last affected
0.3.3

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"

PyPI / dcap-qvl

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.3.9

Affected versions

0.*
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"