Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: 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) 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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-80051
Confirmed fixed CVEs
Not specified
Updated in this feed
5 Nov 2026, 06:04 UTC · Revision 1

Source evidence

CVE-2026-80051

core-osv · Original source

Published 25 Aug 2026, 17:55 UTC

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.

osv:CVE-2026-80051
Complete source record
{
  "id": "7193b3486bb3429e193ac824ee93cc32404213d0b39017f8711d9ab48b7bf4b6",
  "url": "https://osv.dev/vulnerability/CVE-2026-80051",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2026-80051",
    "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.",
    "evidence": "osv:CVE-2026-80051",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2026-80051",
      "aliases": [
        "CVE-2026-80051"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "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"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/graphql-go/graphql",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "a9741863816e423e4287fd8947731d637451cf6c"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "0.8.1"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandardRange"
                  },
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "0.8.1"
                      }
                    ],
                    "source": "DESCRIPTION"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v0.8.1",
            "v0.8.0",
            "v0.7.9",
            "v0.7.8",
            "v0.7.7",
            "v0.7.6",
            "v0.7.5",
            "v0.7.4",
            "v0.7.3",
            "v0.7.2",
            "v0.7.1",
            "v0.7.0",
            "v0.5.0",
            "v0.4.18"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-80051.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:42.904803900Z",
      "provider": "osv",
      "references": [
        "https://pkg.go.dev",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/80xxx/CVE-2026-80051.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-80051",
        "https://github.com/graphql-go/graphql",
        "https://github.com/graphql-go/graphql/blob/v0.8.1/scalars.go#L307-L315",
        "https://www.openwall.com/lists/oss-security/2026/08/25/2"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-1287"
        ],
        "cna_assigner": "mitre",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/80xxx/CVE-2026-80051.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-80051",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 510942,
  "published_at": "2026-08-25T17:55:57.383+00:00"
}