Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.springframework.graphql/spring-graphql
  4. ›
  5. CVE-2026-41856

CVE-2026-41856: Spring for GraphQL: Annotation Detection Vulnerability

June 11, 2026 (updated August 21, 2026)

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.

References

  • github.com/advisories/GHSA-phxq-526m-79px
  • github.com/spring-projects/spring-graphql/commit/63a89ed1379be646822dca9779b15dbf2ce45839
  • nvd.nist.gov/vuln/detail/CVE-2026-41856
  • spring.io/security/cve-2026-41856

Code Behaviors & Features

Detect and mitigate CVE-2026-41856 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 1.0.0 up to 1.0.6, all versions starting from 1.3.0 up to 1.3.8, all versions starting from 1.4.0 before 1.4.6, all versions starting from 2.0.0 before 2.0.4

Fixed versions

  • 1.4.6
  • 2.0.4

Solution

Upgrade to versions 1.4.6, 2.0.4 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-284: Improper Access Control

Source file

maven/org.springframework.graphql/spring-graphql/CVE-2026-41856.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 06 Sep 2026 12:17:41 +0000.