CVE-2026-30241

Source
https://cve.org/CVERecord?id=CVE-2026-30241
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-30241.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-30241
Aliases
Published
2026-03-06T21:15:33.433Z
Modified
2026-03-14T13:46:15.488069Z
Severity
  • 2.7 (Low) CVSS_V4 - 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 CVSS Calculator
Summary
Mercurius: queryDepth limit bypassed for WebSocket subscriptions
Details

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 schemas with recursive types, this can lead to denial of service through exponential data resolution on each subscription event. This issue has been patched in version 16.8.0.

Database specific
{
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-863"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/30xxx/CVE-2026-30241.json"
}
References

Affected packages

Git / github.com/mercurius-js/mercurius

Affected ranges

Type
GIT
Repo
https://github.com/mercurius-js/mercurius
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

13.*
13.0.0
8.*
8.1.2
Other
untagged-320a6f59c58f12bd5bea
v0.*
v0.7.0
v0.8.0
v1.*
v1.0.0
v1.1.0
v1.2.0
v1.3.0
v1.4.0
v1.5.0
v10.*
v10.0.0
v10.1.0
v10.1.1
v10.2.0
v10.3.0
v10.4.0
v10.5.0
v10.5.1
v11.*
v11.0.0
v11.0.1
v11.1.0
v11.2.0
v11.3.0
v11.4.0
v11.5.0
v12.*
v12.0.0
v12.0.1
v12.1.0
v12.2.0
v13.*
v13.1.0
v13.2.0
v13.2.1
v13.2.2
v13.3.0
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