Live threats

All CVEs / Mercurius Project

CVE-2021-43801Mercurius Project Mercurius

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
1.6%
probability of exploitation in 30 days · percentile 76
Auth required
No
Published
Dec 13, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-754
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 from Mercurius@8.10.0 to 8.11.1 are subjected to a denial of service attack by sending a malformed JSON to `/graphql` unless they are using a custom error handler. The vulnerability has been fixed in https://github.com/mercurius-js/mercurius/pull/678 and shipped as v8.11.2. As a workaround users may use a custom error handler.

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 ≥ 8.10.0 < 8.11.2 8.11.2 npm install mercurius@8.11.2

Per OSV / GitHub Advisories (GHSA-273r-rm8g-7f3x). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
mercurius_projectmercurius≥ 8.10.0 < 8.11.2

Official sources

References

Links published by the sources. Open them with care.