Improper Validation of Specified Type of Input Affecting github.com/graphql-go/graphql package, versions >=0.0.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.13% (3rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-GITHUBCOMGRAPHQLGOGRAPHQL-19276675
  • published27 Aug 2026
  • disclosed25 Aug 2026
  • creditWilliam Carrier

Introduced: 25 Aug 2026

NewCVE-2026-80051  (opens in a new tab)
CWE-1287  (opens in a new tab)

How to fix?

There is no fixed version for github.com/graphql-go/graphql.

Overview

Affected versions of this package are vulnerable to Improper Validation of Specified Type of Input through the built-in coerceString and coerceBool scalar coercion functions in scalars.go. An attacker can trigger request handling errors or crash the process by supplying a scalar variable value whose runtime type does not match its declared String, ID, or Boolean GraphQL type. In some cases, a deeply nested value reaches an unrecoverable fatal error: stack overflow, breaking the service for users running the affected GraphQL server.

CVSS Base Scores

version 4.0
version 3.1