Spring for GraphQL: Annotation Detection Vulnerability
High severity
GitHub Reviewed
Published
Jun 11, 2026
to the GitHub Advisory Database
•
Updated Aug 21, 2026
Package
Affected versions
>= 2.0.0, <= 2.0.3
>= 1.4.0, <= 1.4.5
>= 1.3.0, <= 1.3.8
>= 1.0.0, <= 1.0.6
Patched versions
2.0.4
1.4.6
Description
Published by the National Vulnerability Database
Jun 11, 2026
Published to the GitHub Advisory Database
Jun 11, 2026
Reviewed
Aug 21, 2026
Last updated
Aug 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