Search
Find a vulnerability
Search criteria
ⓘ
Use this form to refine search results.
Full-text search supports keyword queries with ranking and filtering.
You can combine vendor, product, and sources to narrow results.
Enable “Apply ordering” to sort by date instead of relevance.
2 vulnerabilities by graphql-go project
CVE-2026-80051 (GCVE-0-2026-80051)
Vulnerability from nvd – Published: 2026-08-25 17:55 – Updated: 2026-08-25 19:22
VLAI
EPSS
VEX
Summary
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.
Severity
SSVC
Exploitation: poc
Automatable: no
Technical Impact: partial
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2026-08-25 19:21 UTC
CWE
- CWE-1287 - Improper Validation of Specified Type of Input
Assigner
References
2 references
| URL | Tags |
|---|---|
| https://github.com/graphql-go/graphql/blob/v0.8.1… | technical-description |
| https://www.openwall.com/lists/oss-security/2026/… | exploit |
Impacted products
1 product
| Vendor | Product | Version | |
|---|---|---|---|
| graphql-go project | graphql-go |
Affected:
0 , ≤ 0.8.1
(semver)
cpe:2.3:a:graphql-go_project:graphql-go:*:*:*:*:*:*:*:* |
{
"containers": {
"adp": [
{
"metrics": [
{
"other": {
"content": {
"id": "CVE-2026-80051",
"options": [
{
"Exploitation": "poc"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"role": "CISA Coordinator",
"timestamp": "2026-08-25T19:21:05.710528Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2026-08-25T19:22:26.133Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
}
],
"cna": {
"affected": [
{
"collectionURL": "https://pkg.go.dev",
"defaultStatus": "unknown",
"packageName": "github.com/graphql-go/graphql",
"packageURL": "pkg:golang/github.com/graphql-go/graphql",
"product": "graphql-go",
"programFiles": [
"scalars.go"
],
"programRoutines": [
{
"name": "coerceString"
},
{
"name": "coerceBool"
}
],
"repo": "https://github.com/graphql-go/graphql",
"vendor": "graphql-go project",
"versions": [
{
"lessThanOrEqual": "0.8.1",
"status": "affected",
"version": "0",
"versionType": "semver"
}
]
}
],
"configurations": [
{
"lang": "en",
"supportingMedia": [
{
"base64": false,
"type": "text/html",
"value": "\u003cp\u003eThe denial-of-service (stack-overflow) condition requires that the application\u0027s variable-deserialization \u003ci\u003e\u003c/i\u003elayer does not impose an input nesting-depth limit. Go\u0027s standard encoding/json caps nesting at depth 10000, \u003ci\u003e\u003c/i\u003ewhereas the crash requires ~600,000 levels so the standard JSON path is not exploitable. \u003ci\u003e\u003c/i\u003eRealistic exposure is via a non-JSON transport, programmatically-constructed variable values, or a JSON \u003ci\u003e\u003c/i\u003edecoder configured without a depth cap. The type-validation defect itself requires no special configuration.\u003c/p\u003e"
}
],
"value": "The denial-of-service (stack-overflow) condition requires that the application\u0027s variable-deserialization layer does not impose an input nesting-depth limit. Go\u0027s standard encoding/json caps nesting at depth 10000, whereas the crash requires ~600,000 levels so the standard JSON path is not exploitable. Realistic exposure is via a non-JSON transport, programmatically-constructed variable values, or a JSON decoder configured without a depth cap. The type-validation defect itself requires no special configuration."
}
],
"cpeApplicability": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:a:graphql-go_project:graphql-go:*:*:*:*:*:*:*:*",
"versionEndIncluding": "0.8.1",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "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."
}
],
"metrics": [
{
"cvssV4_0": {
"Automatable": "NOT_DEFINED",
"Recovery": "NOT_DEFINED",
"Safety": "NOT_DEFINED",
"attackComplexity": "LOW",
"attackRequirements": "PRESENT",
"attackVector": "LOCAL",
"baseScore": 5.9,
"baseSeverity": "MEDIUM",
"privilegesRequired": "NONE",
"providerUrgency": "NOT_DEFINED",
"subAvailabilityImpact": "NONE",
"subConfidentialityImpact": "NONE",
"subIntegrityImpact": "NONE",
"userInteraction": "NONE",
"valueDensity": "NOT_DEFINED",
"vectorString": "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",
"version": "4.0",
"vulnAvailabilityImpact": "HIGH",
"vulnConfidentialityImpact": "NONE",
"vulnIntegrityImpact": "NONE",
"vulnerabilityResponseEffort": "NOT_DEFINED"
},
"format": "CVSS",
"scenarios": [
{
"lang": "en",
"value": "GENERAL"
}
]
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-1287",
"description": "CWE-1287 Improper Validation of Specified Type of Input",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-08-25T17:55:57.383Z",
"orgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
"shortName": "mitre"
},
"references": [
{
"tags": [
"technical-description"
],
"url": "https://github.com/graphql-go/graphql/blob/v0.8.1/scalars.go#L307-L315"
},
{
"tags": [
"exploit"
],
"url": "https://www.openwall.com/lists/oss-security/2026/08/25/2"
}
],
"workarounds": [
{
"lang": "en",
"supportingMedia": [
{
"base64": false,
"type": "text/html",
"value": "Decode GraphQL variables with a deserializer that enforces a maximum nesting depth (Go\u0027s standard\u0026nbsp;encoding/json does), which mitigates the stack-overflow condition. There is no library-level workaround for\u0026nbsp;the type-confusion condition short of application-side validation of scalar arguments or a custom scalar;\u0026nbsp;upgrading once a fix ships is the durable remedy."
}
],
"value": "Decode GraphQL variables with a deserializer that enforces a maximum nesting depth (Go\u0027s standard\u00a0encoding/json does), which mitigates the stack-overflow condition. There is no library-level workaround for\u00a0the type-confusion condition short of application-side validation of scalar arguments or a custom scalar;\u00a0upgrading once a fix ships is the durable remedy."
}
],
"x_generator": {
"engine": "CVE-Request-form 0.0.1"
}
}
},
"cveMetadata": {
"assignerOrgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
"assignerShortName": "mitre",
"cveId": "CVE-2026-80051",
"datePublished": "2026-08-25T17:55:57.383Z",
"dateReserved": "2026-08-25T17:55:04.047Z",
"dateUpdated": "2026-08-25T19:22:26.133Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
CVE-2026-80051 (GCVE-0-2026-80051)
Vulnerability from cvelistv5 – Published: 2026-08-25 17:55 – Updated: 2026-08-25 19:22
VLAI
EPSS
VEX
Summary
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.
Severity
SSVC
Exploitation: poc
Automatable: no
Technical Impact: partial
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2026-08-25 19:21 UTC
CWE
- CWE-1287 - Improper Validation of Specified Type of Input
Assigner
References
2 references
| URL | Tags |
|---|---|
| https://github.com/graphql-go/graphql/blob/v0.8.1… | technical-description |
| https://www.openwall.com/lists/oss-security/2026/… | exploit |
Impacted products
1 product
| Vendor | Product | Version | |
|---|---|---|---|
| graphql-go project | graphql-go |
Affected:
0 , ≤ 0.8.1
(semver)
cpe:2.3:a:graphql-go_project:graphql-go:*:*:*:*:*:*:*:* |
{
"containers": {
"adp": [
{
"metrics": [
{
"other": {
"content": {
"id": "CVE-2026-80051",
"options": [
{
"Exploitation": "poc"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"role": "CISA Coordinator",
"timestamp": "2026-08-25T19:21:05.710528Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2026-08-25T19:22:26.133Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
}
],
"cna": {
"affected": [
{
"collectionURL": "https://pkg.go.dev",
"defaultStatus": "unknown",
"packageName": "github.com/graphql-go/graphql",
"packageURL": "pkg:golang/github.com/graphql-go/graphql",
"product": "graphql-go",
"programFiles": [
"scalars.go"
],
"programRoutines": [
{
"name": "coerceString"
},
{
"name": "coerceBool"
}
],
"repo": "https://github.com/graphql-go/graphql",
"vendor": "graphql-go project",
"versions": [
{
"lessThanOrEqual": "0.8.1",
"status": "affected",
"version": "0",
"versionType": "semver"
}
]
}
],
"configurations": [
{
"lang": "en",
"supportingMedia": [
{
"base64": false,
"type": "text/html",
"value": "\u003cp\u003eThe denial-of-service (stack-overflow) condition requires that the application\u0027s variable-deserialization \u003ci\u003e\u003c/i\u003elayer does not impose an input nesting-depth limit. Go\u0027s standard encoding/json caps nesting at depth 10000, \u003ci\u003e\u003c/i\u003ewhereas the crash requires ~600,000 levels so the standard JSON path is not exploitable. \u003ci\u003e\u003c/i\u003eRealistic exposure is via a non-JSON transport, programmatically-constructed variable values, or a JSON \u003ci\u003e\u003c/i\u003edecoder configured without a depth cap. The type-validation defect itself requires no special configuration.\u003c/p\u003e"
}
],
"value": "The denial-of-service (stack-overflow) condition requires that the application\u0027s variable-deserialization layer does not impose an input nesting-depth limit. Go\u0027s standard encoding/json caps nesting at depth 10000, whereas the crash requires ~600,000 levels so the standard JSON path is not exploitable. Realistic exposure is via a non-JSON transport, programmatically-constructed variable values, or a JSON decoder configured without a depth cap. The type-validation defect itself requires no special configuration."
}
],
"cpeApplicability": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:a:graphql-go_project:graphql-go:*:*:*:*:*:*:*:*",
"versionEndIncluding": "0.8.1",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "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."
}
],
"metrics": [
{
"cvssV4_0": {
"Automatable": "NOT_DEFINED",
"Recovery": "NOT_DEFINED",
"Safety": "NOT_DEFINED",
"attackComplexity": "LOW",
"attackRequirements": "PRESENT",
"attackVector": "LOCAL",
"baseScore": 5.9,
"baseSeverity": "MEDIUM",
"privilegesRequired": "NONE",
"providerUrgency": "NOT_DEFINED",
"subAvailabilityImpact": "NONE",
"subConfidentialityImpact": "NONE",
"subIntegrityImpact": "NONE",
"userInteraction": "NONE",
"valueDensity": "NOT_DEFINED",
"vectorString": "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",
"version": "4.0",
"vulnAvailabilityImpact": "HIGH",
"vulnConfidentialityImpact": "NONE",
"vulnIntegrityImpact": "NONE",
"vulnerabilityResponseEffort": "NOT_DEFINED"
},
"format": "CVSS",
"scenarios": [
{
"lang": "en",
"value": "GENERAL"
}
]
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-1287",
"description": "CWE-1287 Improper Validation of Specified Type of Input",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-08-25T17:55:57.383Z",
"orgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
"shortName": "mitre"
},
"references": [
{
"tags": [
"technical-description"
],
"url": "https://github.com/graphql-go/graphql/blob/v0.8.1/scalars.go#L307-L315"
},
{
"tags": [
"exploit"
],
"url": "https://www.openwall.com/lists/oss-security/2026/08/25/2"
}
],
"workarounds": [
{
"lang": "en",
"supportingMedia": [
{
"base64": false,
"type": "text/html",
"value": "Decode GraphQL variables with a deserializer that enforces a maximum nesting depth (Go\u0027s standard\u0026nbsp;encoding/json does), which mitigates the stack-overflow condition. There is no library-level workaround for\u0026nbsp;the type-confusion condition short of application-side validation of scalar arguments or a custom scalar;\u0026nbsp;upgrading once a fix ships is the durable remedy."
}
],
"value": "Decode GraphQL variables with a deserializer that enforces a maximum nesting depth (Go\u0027s standard\u00a0encoding/json does), which mitigates the stack-overflow condition. There is no library-level workaround for\u00a0the type-confusion condition short of application-side validation of scalar arguments or a custom scalar;\u00a0upgrading once a fix ships is the durable remedy."
}
],
"x_generator": {
"engine": "CVE-Request-form 0.0.1"
}
}
},
"cveMetadata": {
"assignerOrgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
"assignerShortName": "mitre",
"cveId": "CVE-2026-80051",
"datePublished": "2026-08-25T17:55:57.383Z",
"dateReserved": "2026-08-25T17:55:04.047Z",
"dateUpdated": "2026-08-25T19:22:26.133Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}