CVE-2023-22477Mercurius Project Mercurius
High 7.5 No auth needed
Follow: this CVE · Mercurius Project · Mercurius Project Mercurius We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- 1.3% probability of exploitation in 30 days · percentile 72
- Auth required
- No
- Published
- Jan 9, 2023
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-248
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
Mercurius is a GraphQL adapter for Fastify. Any users of Mercurius until version 10.5.0 are subjected to a denial of service attack by sending a malformed packet over WebSocket to `/graphql`. This issue was patched in #940. As a workaround, users can disable subscriptions.
What to do
- Apply the vendor's security update for Mercurius.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | mercurius |
≥ 9.0.0 < 11.5.0 |
11.5.0 |
npm install mercurius@11.5.0 |
| npm | mercurius |
< 8.13.2 |
8.13.2 |
npm install mercurius@8.13.2 |
Per OSV / GitHub Advisories (GHSA-cm8h-q92v-xcfc). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| mercurius_project | mercurius | < 8.13.2 |
| mercurius_project | mercurius | ≥ 9.0.0 < 11.5.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Exploit Issue Tracking Third Party Advisory
- github.com Patch Third Party Advisory
- github.com Patch Third Party Advisory