CVE-2026-41856
Spring for GraphQL: Annotation Detection Vulnerability
Description
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.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.springframework.graphql » spring-graphql | >= 1.0.0, <= 1.0.6>= 1.3.0, <= 1.3.8>= 1.4.0, < 1.4.6>= 2.0.0, < 2.0.4 | 1.4.6, 2.0.4 |
Blast radius
57% of the dependent artifacts (89) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 355 |
| 2 hops | 944 |
| 3 hops | 1,121 |
| 4 hops | 95 |
| 5 hops | 84 |
| 6 hops | 42 |
Most used dependents
- org.springframework.boot » spring-boot-starter-graphql82 usages
- org.springframework.graphql » spring-graphql-test41 usages
- nl.nl-portal » graphql22 usages
- org.springframework.boot » spring-boot-starter-test-classic20 usages
- com.graphql-java-generator » graphql-maven-plugin13 usages
- com.netflix.graphql.dgs » graphql-dgs-spring-graphql-starter11 usages
- com.netflix.graphql.dgs » dgs-starter8 usages
- com.graphql-java-generator » graphql-maven-plugin-logic8 usages
- com.graphql-java-generator » graphql-java-client-dependencies7 usages
- org.openfilz » openfilz-api6 usages
- com.graphql-java-generator » graphql-java-common-runtime6 usages
- com.graphql-java-generator » graphql-java-server-dependencies5 usages
- io.github.zygarde-projects » zygarde-web-codegen5 usages
- de.terrestris » shogun-lib4 usages
- org.springframework.boot » spring-boot-graphql4 usages
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
| Advisory | NVD CVE-2026-41856 | nvd.nist.gov |
| Package | spring-projects/spring-graphql | github.com |
| Web | spring-projects/spring-graphql commit 63a89ed | github.com |
| Web | security/cve-2026-41856 | spring.io |
