// Security Advisory Triage

graphql-scalars PhoneNumber scalar vulnerable to ReDoS

GitHub advisories — npm · published 2026-10-31 05:45 UTC
ACTION NEEDED PATCH_NOW SECURITY
WHAT CHANGEDGitHub published CVE-2026-115887 on 28 October 2026, rating the PhoneNumber scalar in graphql-scalars as high severity for regular expression denial of service. Version 2.0.1 patches the vulnerability.
WHY IT MATTERSAn attacker can craft phone number inputs that cause the regex validator to hang, blocking the event loop and denying service to other requests in Node.js applications using this scalar.
WHAT TO DOUpdate graphql-scalars to 2.0.1 or later if you use the PhoneNumber scalar in your GraphQL schema.
Model-reported confidence 85% (not measured accuracy) Primary source ↗ written by anthropic/claude-sonnet-4.5
Show the reasoning — raw diff, triage verdict, confidence
RAW DIFF
+ghsa_id: GHSA-x8rm-f576-gq67
+summary: graphql-scalars PhoneNumber scalar is vulnerable to regular expression denial of service
+severity: high
+published_at: 2026-10-28T21:13:10Z
+cve_id: CVE-2026-115887
+vulnerabilities[].package.name: graphql-scalars
+vulnerabilities[].first_patched_version: 2.0.1
HOW IT WAS JUDGED
Triage signals below are model-reported assertions, preserved verbatim; they are not independent arithmetic verification.
triage verdictMATERIAL at 0.78, needed 0.5
triage reasoninggraphql-scalars is a common GraphQL utility package; ReDoS in input validation affects availability of services using it.
signalsnpm package in dependency tree · GraphQL ecosystem — common in API services · ReDoS vulnerability — denial of service · High severity rating · Fixed version available (2.0.1) · Published advisory with CVE
suppression—
triage modelanthropic/claude-haiku-4.5 ($0.00000)
writer modelanthropic/claude-sonnet-4.5 ($0.00000)