Skip to content
Heist/ feed
Back to feed
High

Spring GraphQL Annotation Detection Vulnerability

Type: advisorySources: OSV

The Spring GraphQL annotation detection mechanism for @Controller data fetchers may not correctly resolve annotations on methods within type hierarchies. This can be an issue if such annotations are used for authorization decisions. When all conditions are met, security annotations can be ignored at runtime. Affected versions: Spring for GraphQL 2.0.0 through 2.0.3; 1.4.0 through 1.4.5; 1.3.0 through 1.3.8; 1.0.0 through 1.0.6.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-41856
Confirmed fixed CVEs
Not specified
Updated in this feed
7 Nov 2026, 21:01 UTC · Revision 1

Source evidence

Spring GraphQL Annotation Detection Vulnerability

core-osv · Original source

Published 11 Jun 2026, 05:05 UTC

The Spring GraphQL annotation detection mechanism for @Controller data fetchers may not correctly resolve annotations on methods within type hierarchies. This can be an issue if such annotations are used for authorization decisions. When all conditions are met, security annotations can be ignored at runtime. Affected versions: Spring for GraphQL 2.0.0 through 2.0.3; 1.4.0 through 1.4.5; 1.3.0 through 1.3.8; 1.0.0 through 1.0.6.

osv:CVE-2026-41856
Complete source record
{
  "id": "738f4ed707c852928cc181f77825a2f67612ad93565c8ec73a87cb6a462d18a3",
  "url": "https://osv.dev/vulnerability/CVE-2026-41856",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Spring GraphQL Annotation Detection Vulnerability",
    "summary": "The Spring GraphQL annotation detection mechanism for @Controller data fetchers may not correctly resolve annotations on methods within type hierarchies. This can be an issue if such annotations are used for authorization decisions. When all conditions are met, security annotations can be ignored at runtime. Affected versions: Spring for GraphQL 2.0.0 through 2.0.3; 1.4.0 through 1.4.5; 1.3.0 through 1.3.8; 1.0.0 through 1.0.6.",
    "evidence": "osv:CVE-2026-41856",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-41856",
      "aliases": [
        "CVE-2026-41856",
        "GHSA-phxq-526m-79px"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/spring-projects/spring-graphql",
              "type": "GIT",
              "events": [
                {
                  "introduced": "b2d00cd888f7943166b65fcebe49e0bfd780bf4f"
                },
                {
                  "last_affected": "3100184962cde4dbe6340ff7ea5087dceef29c7b"
                },
                {
                  "introduced": "a745720895dee53d46b2329a2a07e024f534ad11"
                },
                {
                  "last_affected": "895cc8ef5fd7e9a20e4187c2a649cd6d7cc8ebfd"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "1.4.0"
                      },
                      {
                        "last_affected": "1.4.5"
                      }
                    ],
                    "source": "DESCRIPTION"
                  },
                  {
                    "range": [
                      {
                        "introduced": "1.0.0"
                      },
                      {
                        "last_affected": "1.0.6"
                      }
                    ],
                    "source": "DESCRIPTION"
                  }
                ]
              }
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-41856.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:51.521898172Z",
      "provider": "osv",
      "references": [
        "https://spring.io/security/cve-2026-41856",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/41xxx/CVE-2026-41856.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-41856"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-284"
        ],
        "cna_assigner": "vmware",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "2.0.0"
                  },
                  {
                    "fixed": "2.0.3.1"
                  },
                  {
                    "introduced": "1.4.0"
                  },
                  {
                    "fixed": "1.4.5.1"
                  },
                  {
                    "introduced": "1.3.0"
                  },
                  {
                    "fixed": "1.3.9"
                  },
                  {
                    "introduced": "1.0.0"
                  },
                  {
                    "fixed": "1.0.7"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/41xxx/CVE-2026-41856.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-41856",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 520400,
  "published_at": "2026-06-11T05:05:00.491+00:00"
}