Skip to content

CVE-2026-80051 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) a...

MediumCVSS 5.9 EPSS 0.18%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial

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.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
graphql-go github.com/graphql-go/graphql(Go) <= 0.8.1 after 0.8.1 Fixed

Affected products

ProductAffected versionsFixed in
graphql-go github.com/graphql-go/graphql(Go) <= 0.8.1 No fix listed

References