Vulnerability · Published Oct 23, 2026 · Assigned by GitHub_M

CVE-2026-115887graphql-scalars PhoneNumber scalar is vulnerable to regular expression denial of service

High 7.5

In plain English

A high-severity regular-expression denial of service in graphql-scalars from graphql-hive. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 42% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)0.5%top 57.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

GraphQL Scalars is a library of custom GraphQL scalars for creating precise type-safe GraphQL schemas. From 1.24.1 until 2.0.1, GraphQLPhoneNumber in src/scalars/PhoneNumber.ts uses ambiguous nested digit quantifiers that backtrack exponentially when a PhoneNumber value contains a run of digits followed by a character that makes the match fail. GraphQL evaluates parseLiteral during document validation and parseValue during variable coercion before resolver authentication or authorization, so a small unauthenticated request can block the Node.js event loop and stall the server process. serialize is also affected when unvalidated stored values are returned through the scalar. This issue is fixed in version 2.0.1.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
npmgraphql-scalars2.0.1GHSA-x8rm-f576-gq67

Affected products (as reported)

VendorProductVersions
graphql-hive graphql-scalars >= 1.24.1, < 2.0.1

Weakness: CWE-1333 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References