HIGH 7.5

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)

ArtifactAffected versionsFixed 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

1affected artifacts
25affected versions
156dependent artifacts (est.)
2,641dependent versions

57% of the dependent artifacts (89) still pull an affected version in their latest release.

DepthDependent versions
Direct
355
2 hops
944
3 hops
1,121
4 hops
95
5 hops
84
6 hops
42

Most used dependents

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.