CVE-2026-115887
HIGH 7.5CVSS 3.1graphql-scalars PhoneNumber scalar is vulnerable to regular expression denial of service
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.
- Published
- 23 Oct 2026
- Last modified
- 30 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Awaiting Analysis
- Weakness
- CWE-1333
- Also known as
- GHSA-x8rm-f576-gq67
- Sources
- NVDJSONOSV GHSA-x8rm-f576-gq67JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | graphql-scalars | >= 1.24.1, < 2.0.1 | 2.0.1 |
References
- https://github.com/graphql-hive/graphql-scalars/commit/210fd2485641afa2452800c00144245c74361701 · WEB
- https://github.com/graphql-hive/graphql-scalars/pull/2719 · WEB
- https://github.com/graphql-hive/graphql-scalars/releases/tag/v2.0.1 · WEB
- https://github.com/graphql-hive/graphql-scalars/security/advisories/GHSA-x8rm-f576-gq67 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-115887 · ADVISORY
- https://github.com/graphql-hive/graphql-scalars · PACKAGE
History
- 25 Nov 2026 21:22 UTC · NVD: first stored (published 23 Oct 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 28 Oct 2026)