CVE-2026-115887
GraphQL Scalars is a library of custom GraphQL scalars for creating …
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 now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/graphql-hive/graphql-scalars/commit/210fd2485641afa2452800c00144245c74361701
- github.com/graphql-hive/graphql-scalars/pull/2719
- github.com/graphql-hive/graphql-scalars/releases/tag/v2.0.1
- github.com/graphql-hive/graphql-scalars/security/advisories/GHSA-x8rm-f576-gq67
- nvd.nist.gov/vuln/detail/CVE-2026-115887
- github.com/advisories/GHSA-x8rm-f576-gq67
- nvd.nist.gov/vuln/detail/CVE-2026-115887
- cve.org/CVERecord?id=CVE-2026-115887
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.