Vulnerabilities in pkg:npm/@phala/dcap-qvl-web
PACKAGECVE-2026-22696 is a CRITICAL dcap-qvl has missing verification for vulnerability (CWE-295: Improper Certificate Validation) affecting Dcap qvl libraries in the crates.io ecosystem. The issue involves dcap-qvl has missing verification for qe identity. Remediation is available by upgrading affected packages to version 0.3.9.
pkg:npm/@phala/dcap-qvl-web
Vulnerability advisories affecting package pkg:npm/@phala/dcap-qvl-web. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-796p-j2gh-9m2q | CVE-2026-22696 | CRITICAL | dcap-qvl has Missing Verification for QE Identity |
CVE-2026-22696 at a Glance
How to Fix CVE-2026-22696
To remediate this vulnerability, upgrade all affected Dcap qvl dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade dcap-qvl to 0.3.9
npm install @phala/dcap-qvl@0.3.9
npm install @phala/dcap-qvl-web@Latest secure release
npm install @phala/dcap-qvl-node@Latest secure release
pip install dcap-qvl>=0.3.9
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for dcap-qvl
How to Check if You Are Affected
To determine whether your application is affected by CVE-2026-22696, inspect your project dependencies for Dcap qvl:
inspect dependencies for dcap-qvl
Analyze the terminal output to locate any version of Dcap qvl in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.3.9), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-295: Improper Certificate Validation, where the product does not validate, or incorrectly validates, a certificate. In Dcap qvl, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-22696 Affected Dcap qvl Versions
5 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
dcap-qvl
|
crates.io |
< 0.3.9
|
0.3.9
|
|
@phala/dcap-qvl
|
npm |
< 0.3.9
|
0.3.9
|
|
@phala/dcap-qvl-web
|
npm |
≤ 0.3.3
|
|
|
@phala/dcap-qvl-node
|
npm |
≤ 0.3.3
|
|
|
dcap-qvl
|
PyPI |
< 0.3.9
|
0.3.9
|
References
Frequently Asked Questions
What is CVE-2026-22696?
Which Dcap qvl versions are affected?
What version fixes CVE-2026-22696?
Is dcap-qvl affected?
Is @phala/dcap-qvl affected?
What CWE is associated with CVE-2026-22696?
How can I check crates.io dependencies for CVE-2026-22696?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-796p-j2gh-9m2q",
"modified" : "2026-01-29T03:22:29Z",
"published" : "2026-01-26T18:55:13Z",
"aliases" : [ "CVE-2026-22696" ],
"summary" : "dcap-qvl has Missing Verification for QE Identity",
"details" : "## Impact\nThis vulnerability involves a critical gap in the cryptographic verification process within the dcap-qvl.\n\nThe 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.\n\n## Consequences\nAn 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.\n\n## Who is impacted\nAll deployments utilizing the dcap-qvl library for SGX or TDX quote verification are affected.\n\n## Patches\nThe 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.\n\nUsers of the `@phala/dcap-qvl-node` and `@phala/dcap-qvl-web` packages should switch to the pure JavaScript implementation, `@phala/dcap-qvl`.\n\n## Workarounds\nThere are no known workarounds for this vulnerability. Users must upgrade to the patched version to ensure that QE Identity collateral is properly verified.\n\n## Credit\nThis bug was reported by Rahul Saxena <saxenism@bluethroatlabs.com>.",
"severity" : [ {
"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" : [ {
"package" : {
"ecosystem" : "crates.io",
"name" : "dcap-qvl"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.3.9"
} ]
} ]
}, {
"package" : {
"ecosystem" : "npm",
"name" : "@phala/dcap-qvl"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.3.9"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 0.3.0"
}
}, {
"package" : {
"ecosystem" : "npm",
"name" : "@phala/dcap-qvl-web"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "0.3.3"
} ]
} ]
}, {
"package" : {
"ecosystem" : "npm",
"name" : "@phala/dcap-qvl-node"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "0.3.3"
} ]
} ]
}, {
"package" : {
"ecosystem" : "PyPI",
"name" : "dcap-qvl"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.3.9"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/Phala-Network/dcap-qvl/security/advisories/GHSA-796p-j2gh-9m2q"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-22696"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/Phala-Network/dcap-qvl"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-295", "CWE-347" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2026-01-26T18:55:13Z",
"nvd_published_at" : "2026-01-26T22:15:55Z"
}
}