CVE-2026-80051 (GCVE-0-2026-80051)
Vulnerability from cvelistv5
Published
2026-08-25 17:55
Modified
2026-08-25 19:22
Severity ?
VLAI Severity ?
EPSS score ?
CWE
- CWE-1287 - Improper Validation of Specified Type of Input
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.
References
| URL | Tags | |
|---|---|---|
Impacted products
| Vendor | Product | Version | ||
|---|---|---|---|---|
| graphql-go project | graphql-go |
Version: 0 ≤ 0.8.1 |
{
"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",
"vulnerability-lookup:meta": {
"vulnrichment": {
"containers": "{\"adp\": [{\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2026-80051\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"poc\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2026-08-25T19:21:05.710528Z\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2026-08-25T19:22:16.788Z\"}}], \"cna\": {\"metrics\": [{\"format\": \"CVSS\", \"cvssV4_0\": {\"Safety\": \"NOT_DEFINED\", \"version\": \"4.0\", \"Recovery\": \"NOT_DEFINED\", \"baseScore\": 5.9, \"Automatable\": \"NOT_DEFINED\", \"attackVector\": \"LOCAL\", \"baseSeverity\": \"MEDIUM\", \"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\", \"providerUrgency\": \"NOT_DEFINED\", \"userInteraction\": \"NONE\", \"attackComplexity\": \"LOW\", \"attackRequirements\": \"PRESENT\", \"privilegesRequired\": \"NONE\", \"subIntegrityImpact\": \"NONE\", \"vulnIntegrityImpact\": \"NONE\", \"subAvailabilityImpact\": \"NONE\", \"vulnAvailabilityImpact\": \"HIGH\", \"subConfidentialityImpact\": \"NONE\", \"vulnConfidentialityImpact\": \"NONE\", \"vulnerabilityResponseEffort\": \"NOT_DEFINED\"}, \"scenarios\": [{\"lang\": \"en\", \"value\": \"GENERAL\"}]}], \"affected\": [{\"repo\": \"https://github.com/graphql-go/graphql\", \"vendor\": \"graphql-go project\", \"product\": \"graphql-go\", \"versions\": [{\"status\": \"affected\", \"version\": \"0\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"0.8.1\"}], \"packageURL\": \"pkg:golang/github.com/graphql-go/graphql\", \"packageName\": \"github.com/graphql-go/graphql\", \"programFiles\": [\"scalars.go\"], \"collectionURL\": \"https://pkg.go.dev\", \"defaultStatus\": \"unknown\", \"programRoutines\": [{\"name\": \"coerceString\"}, {\"name\": \"coerceBool\"}]}], \"references\": [{\"url\": \"https://github.com/graphql-go/graphql/blob/v0.8.1/scalars.go#L307-L315\", \"tags\": [\"technical-description\"]}, {\"url\": \"https://www.openwall.com/lists/oss-security/2026/08/25/2\", \"tags\": [\"exploit\"]}], \"workarounds\": [{\"lang\": \"en\", \"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.\", \"supportingMedia\": [{\"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.\", \"base64\": false}]}], \"x_generator\": {\"engine\": \"CVE-Request-form 0.0.1\"}, \"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.\"}], \"problemTypes\": [{\"descriptions\": [{\"lang\": \"en\", \"type\": \"CWE\", \"cweId\": \"CWE-1287\", \"description\": \"CWE-1287 Improper Validation of Specified Type of Input\"}]}], \"configurations\": [{\"lang\": \"en\", \"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.\", \"supportingMedia\": [{\"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\", \"base64\": false}]}], \"cpeApplicability\": [{\"nodes\": [{\"negate\": false, \"cpeMatch\": [{\"criteria\": \"cpe:2.3:a:graphql-go_project:graphql-go:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndIncluding\": \"0.8.1\"}], \"operator\": \"OR\"}]}], \"providerMetadata\": {\"orgId\": \"8254265b-2729-46b6-b9e3-3dfca2d5bfca\", \"shortName\": \"mitre\", \"dateUpdated\": \"2026-08-25T17:55:57.383Z\"}}}",
"cveMetadata": "{\"cveId\": \"CVE-2026-80051\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2026-08-25T19:22:26.133Z\", \"dateReserved\": \"2026-08-25T17:55:04.047Z\", \"assignerOrgId\": \"8254265b-2729-46b6-b9e3-3dfca2d5bfca\", \"datePublished\": \"2026-08-25T17:55:57.383Z\", \"assignerShortName\": \"mitre\"}",
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
}
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.
Loading…
Loading…