CVE-2026-80051

Published Aug 25, 2026 CVSS 4.0 · 5.9 Medium EPSS < 1% KEV · Not listed
Description
github.com/graphql-go/graphql (GraphQL for Go) through 0.8.1 does not validate that a scalar variable value matches its declared type. The built-in coerceString and coerceBool functions (scalars.go) accept input whose type does not match the declared String, ID, or Boolean scalar instead of raising the request error that the GraphQL specification mandates. In some cases (but not any typical case of JSON sent to a website), a deeply nested value leads to an unrecoverable "fatal error: stack overflow" condition.

Remediation

Vendor Workaround

Decode GraphQL variables with a deserializer that enforces a maximum nesting depth (Go's standard encoding/json does), which mitigates the stack-overflow condition. There is no library-level workaround for the type-confusion condition short of application-side validation of scalar arguments or a custom scalar; upgrading once a fix ships is the durable remedy.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description github.com/graphql-go/graphql (GraphQL for Go) through 0.8.1 does not validate that a scalar variable value matches its declared type. The built-in coerceString and coerceBool functions (scalars.go) accept input whose type does not match the declared String, ID, or Boolean scalar instead of raising the request error that the GraphQL specification mandates. In some cases (but not any typical case of JSON sent to a website), a deeply nested value leads to an unrecoverable "fatal error: stack overflow" condition.
First Time appeared Graphql-go Project
Graphql-go Project graphql-go
Weaknesses CWE-1287
CPEs cpe:2.3:a:graphql-go_project:graphql-go:*:*:*:*:*:*:*:*
Vendors & Products Graphql-go Project
Graphql-go Project graphql-go
References
Metrics cvssV4_0

{'score': 5.9, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 25, 2026, 7:22 PM
Reserved
Aug 25, 2026, 5:55 PM
Status
Awaiting Analysis
Published
Aug 25, 2026, 6:18 PM
Modified
Sep 9, 2026, 4:03 PM