Vulnerability 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.
CVSS Score
HIGH
Related Weaknesses (CWE)
References
- https://github.com/graphql-hive/graphql-scalars/commit/210fd2485641afa2452800c00
- https://github.com/graphql-hive/graphql-scalars/pull/2719
- https://github.com/graphql-hive/graphql-scalars/releases/tag/v2.0.1
- https://github.com/graphql-hive/graphql-scalars/security/advisories/GHSA-x8rm-f5
- https://github.com/graphql-hive/graphql-scalars/security/advisories/GHSA-x8rm-f5
FAQ
What is CVE-2026-115887?
CVE-2026-115887 is a vulnerability with a CVSS score of 7.5 (HIGH). 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 d...
How severe is CVE-2026-115887?
CVE-2026-115887 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-115887?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.