CVE Explorer
CVE-2026-30241
Mercurius is a GraphQL adapter for Fastify. Prior to version 16.8.0, Mercurius fails to enforce the configured queryDepth limit on GraphQL subscription queries received over WebSocket connections. The depth check is correctly applied to HTTP queries and mutations, but subscription queries are parsed and executed without invoking the depth validation. This allows a remote client to submit arbitrarily deeply nested subscription queries over WebSocket, bypassing the intended depth restriction. On s
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"mercurius","vendor":"mercurius-js","versions":[{"status":"affected","version":"< 16.8.0"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:47854627f9d385ae3fd4d3e90925c77a3562b92cf6dcecb2ae41e3638ea18088 · sha256:5d3c02bb2301ed92… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackRequirements":"NONE","attackVector":"NETWORK","baseScore":2.7,"baseSeverity":"LOW","privilegesRequired":"NONE","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"NONE","vectorString":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N/E:U","version":"4.0","vulnAvailabilityImpact":"LOW","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"LOW"},"metric_type":"cvssV4_0"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:47854627f9d385ae3fd4d3e90925c77a3562b92cf6dcecb2ae41e3638ea18088 · sha256:5d3c02bb2301ed92… · /containers/cna/metrics/0/cvssV4_0
CWE assertions
1 source assertion{"cweId":"CWE-863","description":"CWE-863: Incorrect Authorization","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:47854627f9d385ae3fd4d3e90925c77a3562b92cf6dcecb2ae41e3638ea18088 · sha256:5d3c02bb2301ed92… · /containers/cna/problemTypes/0/descriptions/0
Source references
2 source assertions{"name":"https://github.com/mercurius-js/mercurius/commit/5b56f60f4b0d60780b0ff499a479bd830bdd6986","tags":["x_refsource_MISC"],"url":"https://github.com/mercurius-js/mercurius/commit/5b56f60f4b0d60780b0ff499a479bd830bdd6986"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:47854627f9d385ae3fd4d3e90925c77a3562b92cf6dcecb2ae41e3638ea18088 · sha256:5d3c02bb2301ed92… · /containers/cna/references/1
{"name":"https://github.com/mercurius-js/mercurius/security/advisories/GHSA-m4h2-mjfm-mp55","tags":["x_refsource_CONFIRM"],"url":"https://github.com/mercurius-js/mercurius/security/advisories/GHSA-m4h2-mjfm-mp55"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:47854627f9d385ae3fd4d3e90925c77a3562b92cf6dcecb2ae41e3638ea18088 · sha256:5d3c02bb2301ed92… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.