CVE-2026-80051 (GCVE-0-2026-80051)

Vulnerability from cvelistv5 – Published: 2026-08-25 17:55 – Updated: 2026-08-25 19:22
VLAI
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.
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
mitre CNA under the mitre root
CNA scorecard E 29/100 over 2159 records in the last 180 days details
Impacted products
Vendor Product Version CPE status
graphql-go project graphql-go Affected: 0 , ≤ 0.8.1 (semver)
    cpe:2.3:a:graphql-go_project:graphql-go:*:*:*:*:*:*:*:*
Create a notification for this product.
Show details on NVD website

{
  "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": {
    "epss": {
      "cve": "CVE-2026-80051",
      "date": "2026-11-11",
      "epss": "0.00184",
      "percentile": "0.08102"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "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"
                  }
                ]
              }
            ],
            "source": "cve@mitre.org"
          }
        ],
        "cveTags": [],
        "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."
          }
        ],
        "id": "CVE-2026-80051",
        "lastModified": "2026-09-09T16:03:22.897",
        "metrics": {
          "cvssMetricV40": [
            {
              "cvssData": {
                "Automatable": "NOT_DEFINED",
                "Recovery": "NOT_DEFINED",
                "Safety": "NOT_DEFINED",
                "attackComplexity": "LOW",
                "attackRequirements": "PRESENT",
                "attackVector": "LOCAL",
                "availabilityRequirement": "NOT_DEFINED",
                "baseScore": 5.9,
                "baseSeverity": "MEDIUM",
                "confidentialityRequirement": "NOT_DEFINED",
                "exploitMaturity": "NOT_DEFINED",
                "integrityRequirement": "NOT_DEFINED",
                "modifiedAttackComplexity": "NOT_DEFINED",
                "modifiedAttackRequirements": "NOT_DEFINED",
                "modifiedAttackVector": "NOT_DEFINED",
                "modifiedPrivilegesRequired": "NOT_DEFINED",
                "modifiedSubAvailabilityImpact": "NOT_DEFINED",
                "modifiedSubConfidentialityImpact": "NOT_DEFINED",
                "modifiedSubIntegrityImpact": "NOT_DEFINED",
                "modifiedUserInteraction": "NOT_DEFINED",
                "modifiedVulnAvailabilityImpact": "NOT_DEFINED",
                "modifiedVulnConfidentialityImpact": "NOT_DEFINED",
                "modifiedVulnIntegrityImpact": "NOT_DEFINED",
                "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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X",
                "version": "4.0",
                "vulnAvailabilityImpact": "HIGH",
                "vulnConfidentialityImpact": "NONE",
                "vulnIntegrityImpact": "NONE",
                "vulnerabilityResponseEffort": "NOT_DEFINED"
              },
              "source": "cve@mitre.org",
              "type": "Secondary"
            }
          ],
          "ssvcV203": [
            {
              "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "ssvcData": {
                "id": "CVE-2026-80051",
                "options": [
                  {
                    "exploitation": "poc"
                  },
                  {
                    "automatable": "no"
                  },
                  {
                    "technicalImpact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-08-25T19:21:05.710528Z",
                "version": "2.0.3"
              }
            }
          ]
        },
        "published": "2026-08-25T18:18:07.120",
        "references": [
          {
            "source": "cve@mitre.org",
            "url": "https://github.com/graphql-go/graphql/blob/v0.8.1/scalars.go#L307-L315"
          },
          {
            "source": "cve@mitre.org",
            "url": "https://www.openwall.com/lists/oss-security/2026/08/25/2"
          }
        ],
        "sourceIdentifier": "cve@mitre.org",
        "vulnStatus": "Awaiting Analysis",
        "weaknesses": [
          {
            "description": [
              {
                "lang": "en",
                "value": "CWE-1287"
              }
            ],
            "source": "cve@mitre.org",
            "type": "Secondary"
          }
        ]
      }
    },
    "vulnrichment": {
      "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:16.788Z",
              "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"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
How durations are calculated

Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation.

Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.

Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.