Live threats

All CVEs / Mercurius Project

CVE-2023-22477Mercurius Project Mercurius

High 7.5 No auth needed

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Mercurius.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
mercurius_projectmercurius< 8.13.2
mercurius_projectmercurius≥ 9.0.0 < 11.5.0

Official sources

References

Links published by the sources. Open them with care.