Skip to content
OpenAdvisories
High · 7.5 CVE-2026-115887 EUVD-2026-109185GHSA-x8rm-f576-gq67

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

Published Oct 23, 2026 · Updated Oct 30, 2026 · Assigned by GitHub_M

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 products

VendorProductAffectedFixed
graphql-hive graphql-scalars >= 1.24.1, < 2.0.1 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling langfuse-3-worker 3.225.15-r1 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm graphql-scalars >= 1.24.1, < 2.0.1 2.0.1 GHSA-x8rm-f576-gq67

References