CVE-2026-41856: Spring for GraphQL: Annotation Detection Vulnerability
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;
Published Jun 11, 2026 · Updated Aug 21, 2026
Affected packages
org.springframework.graphql:spring-graphql
- Ecosystem
- Maven
- Affected
- >= 2.0.0, <= 2.0.3
- Fixed in
- 2.0.4
- Check
mvn dependency:tree -Dincludes=org.springframework.graphql:spring-graphql
org.springframework.graphql:spring-graphql
- Ecosystem
- Maven
- Affected
- >= 1.4.0, <= 1.4.5
- Fixed in
- 1.4.6
- Check
mvn dependency:tree -Dincludes=org.springframework.graphql:spring-graphql
org.springframework.graphql:spring-graphql
- Ecosystem
- Maven
- Affected
- >= 1.3.0, <= 1.3.8
- Fixed in
- No patched version yet
- Check
mvn dependency:tree -Dincludes=org.springframework.graphql:spring-graphql
org.springframework.graphql:spring-graphql
- Ecosystem
- Maven
- Affected
- >= 1.0.0, <= 1.0.6
- Fixed in
- No patched version yet
- Check
mvn dependency:tree -Dincludes=org.springframework.graphql:spring-graphql
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
