7.5High
CVE-2026-41856Spring 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.
Weakness (CWE):
CWE-284
Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.
Affected products and versions
| Vendor | Product | Versions | |
|---|---|---|---|
| Spring | Spring for GraphQL | 2.0.0 – < 2.0.3.1, 1.4.0 – < 1.4.5.1, 1.3.0 – < 1.3.9, 1.0.0 – < 1.0.7 | |
| vmware | spring for graphql | 1.0.0 – < 1.0.7 |
References and patches
- https://spring.io/security/cve-2026-41856 Vendor Advisory
CPE matches (NVD) (4)
cpe:2.3:a:vmware:spring_for_graphql:*:*:*:*:*:*:*:*≥ 1.0.0 < 1.0.7cpe:2.3:a:vmware:spring_for_graphql:*:*:*:*:*:*:*:*≥ 1.3.0 < 1.3.9cpe:2.3:a:vmware:spring_for_graphql:*:*:*:*:*:*:*:*≥ 1.4.0 < 1.4.5.1cpe:2.3:a:vmware:spring_for_graphql:*:*:*:*:*:*:*:*≥ 2.0.0 < 2.0.3.1