Skip to main content

Spring for GraphQL CVE-2026-41856

| EUVDEUVD-2026-36214 HIGH
Improper Access Control (CWE-284)
2026-06-11 vmware GHSA-phxq-526m-79px
7.5
CVSS 3.1 · Vendor: vmware
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Enumerate GraphQL schema via introspection
  2. Delivery
    Identify field backed by inherited-annotation controller
  3. Exploit
    Send unauthenticated GraphQL query to endpoint
  4. Execution
    Annotation lookup misses inherited @PreAuthorize
  5. Persist
    Data fetcher executes without authorization check
  6. Impact
    Exfiltrate restricted field data

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Access control enforcement
MITRE ATT&CK

1 technique across 1 tactic: Defense Evasion

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires a Spring for GraphQL application on an affected version that (a) exposes @Controller-based data fetchers (@SchemaMapping, @QueryMapping, @MutationMapping, @SubscriptionMapping) and (b) relies on Spring Security method-level annotations such as @PreAuthorize, @PostAuthorize, @Secured, or custom meta-annotations declared on a superclass, interface, or otherwise inherited method rather than on the concrete overriding method. The CVSS vector AV:N/AC:L/PR:N/UI:N indicates no authentication or user interaction is needed once such a controller is reachable, but exploitation is limited to applications whose authorization model depends on inherited annotations - controllers that annotate the concrete handler directly, or that enforce authorization in an interceptor, gateway, or service layer, are not bypassed by this flaw, and there is no integrity or availability impact (C:H/I:N/A:N), only unauthorized data disclosure of fields the affected fetcher returns.

Impact

The CVSS 3.1 vector AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N describes a network-reachable, unauthenticated, low-complexity confidentiality breach with no integrity or availability impact, which is consistent with a GraphQL query exposing data that should have been gated by a security annotation. EPSS, KEV, and SSVC signals were not provided in the input, and no public exploit identified at time of analysis, so this is not yet a known mass-exploitation target - but the risk is highly deployment-dependent: applications that rely on inherited @PreAuthorize/@Secured annotations on controller hierarchies are exposed, while applications that annotate the concrete method directly are not. The C:H/I:N rating implies attackers can read protected fields but cannot mutate state through this flaw alone, so real-world priority should be high for any internet-facing Spring GraphQL service that uses class- or interface-level method security, and moderate where GraphQL is internal-only or where authorization is enforced at a different layer (e.g., a gateway or DataFetcherExceptionResolver).

Exploit ScenarioDerived

An unauthenticated attacker sends an ordinary GraphQL query over HTTP to a public Spring GraphQL endpoint, targeting a field whose @Controller data fetcher inherits a @PreAuthorize check from a base class; because the framework fails to discover the inherited annotation, Spring Security does not intervene and the resolver returns data that should have been restricted to authorized users. No exploit code is publicly known, but the attack reduces to crafting a normal query against a known schema, so weaponization is trivial once a vulnerable field is identified.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 11, 2026

Authorization bypass in Spring for GraphQL (versions 1.0.0-1.0.6, 1.3.0-1.3.8, 1.4.0-1.4.5, and 2.0.0-2.0.3) allows remote attackers to invoke @Controller data fetcher methods whose security annotations are declared on parent classes or interfaces, because the framework's annotation detection does not consistently resolve annotations across type hierarchies. The flaw is rated CVSS 7.5 (confidentiality-only impact) and no public exploit identified at time of analysis, but the network-reachable, no-privilege CVSS vector makes any affected GraphQL endpoint a meaningful exposure.

RemediationAI

Upgrade the org.springframework.graphql:spring-graphql dependency to a fixed maintenance release on your branch as listed in the Spring advisory at https://spring.io/security/cve-2026-41856 (2.0.x users should move past 2.0.3, 1.4.x past 1.4.5, 1.3.x past 1.3.8, and 1.0.x past 1.0.6); exact fix versions should be taken from that advisory rather than guessed. As a workaround until the upgrade lands, move @PreAuthorize/@Secured/method-security annotations off base classes and interfaces and onto the concrete @SchemaMapping/@QueryMapping/@MutationMapping methods themselves so annotation lookup cannot miss them, which closes the gap at the cost of some duplication; alternatively, enforce authorization in a GraphQL interceptor (WebGraphQlInterceptor) or at the API gateway, accepting that you lose method-granular policies. Audit logs and access patterns on sensitive queries/mutations before and after the change.

Affected VersionsENISA

Spring for GraphQL 1.4.0 <1.4.6
Spring for GraphQL 1.3.0 <1.3.9
Spring for GraphQL 1.0.0 <1.0.7
Spring for GraphQL 2.0.0 <2.0.4

Affected Packages

maven org.springframework.graphql:spring-graphql fix: 1.4.6, 2.0.4
euvd spring_for_graphql fix: 1.0.7, 1.3.9, 1.4.6, 2.0.4

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in maven, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Spring for GraphQL is VMware/Broadcom's integration layer that maps GraphQL operations onto Spring MVC/WebFlux @Controller beans, with each field backed by a @SchemaMapping/@QueryMapping/@MutationMapping data fetcher method. Authorization is commonly enforced by stacking annotations such as @PreAuthorize, @Secured, or method-security meta-annotations on those handler methods, often inherited from a base class or interface. The bug - classified as CWE-284 Improper Access Control - is in the reflective annotation lookup used when constructing the data fetcher: when the concrete method overrides or inherits a method that carries the security annotation on the supertype, the lookup may fail to surface that annotation, so Spring Security's method interceptor sees an unguarded method and the data fetcher executes without the intended check. The CPE cpe:2.3:a:spring:spring_for_graphql:*:*:*:*:*:*:*:* covers all maintained branches affected.

Know when Spring gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (vmware) PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
vuln.today AI 7.5 HIGH

Network-reachable GraphQL endpoint, no auth or user interaction needed, bypass leaks data the fetcher returns (C:H) without altering state (I:N/A:N); scope unchanged within the app.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (vmware).

CVSS VectorVendor: vmware

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

Lifecycle Timeline

1
Patch available
Jun 11, 2026 - 08:01 EUVD

DescriptionCVE.org

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.

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 20 maven packages depend on org.springframework.graphql:spring-graphql (4 direct, 16 indirect)

Ecosystem-wide dependent count for version 2.0.0.

Executive ViewAI

Why It Matters

Spring for GraphQL versions 1.0 through 2.0 contain an authorization bypass vulnerability allowing unauthenticated remote attackers to invoke protected controller methods through inherited security annotations. Organizations using affected versions risk unauthorized access to sensitive GraphQL operations and confidential data exposure. Immediate inventory and mitigation required, as no vendor patch is currently available.

Business Impact: High
Compensating Controls

Network-level access controls to restrict GraphQL endpoint reach; Web Application Firewall (WAF) rules enforcing authentication prior to GraphQL method invocation; application-level authorization validation independent of Spring annotation inheritance; disable or isolate unused GraphQL endpoints; implement API rate limiting and continuous monitoring for unauthorized access attempts.

Threat Intelligence Overview

EPSS Score
0.0%
Top 90% exploitable
Threat Intel
1
1 sources
Social Media
3
Sightings
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

More in Spring

View all
CVE-2025-70982 CRITICAL POC
9.9 Jan 26

Access control bypass in SpringBlade v4.5.0 importUser function allows low-privileged users to import sensitive user dat

CVE-2026-22739 HIGH POC
8.6 Mar 24

Spring Cloud Config Server contains a path traversal vulnerability when using the native file system backend, allowing u

CVE-2025-41242 MEDIUM POC
5.9 Aug 18

Spring Framework MVC applications can be vulnerable to a “Path Traversal Vulnerability” when deployed on a non-compliant

CVE-2025-70983 CRITICAL
9.9 Jan 23

SpringBlade v4.5.0 has an access control flaw in authRoutes allowing low-privileged users to escalate to admin through t

CVE-2026-41699 CRITICAL
9.8 Jun 11

Remote code execution in Spring for GraphQL versions 1.3.0-1.3.8, 1.4.0-1.4.5, and 2.0.0-2.0.3 allows unauthenticated at

CVE-2026-59313 CRITICAL
9.8 Aug 27

Server-Sent Events (SSE) stream corruption affects Spring MVC applications built on the functional web framework across

CVE-2026-22738 CRITICAL
9.8 Mar 27

Spring AI versions 1.0.0 through 1.0.4 and 1.1.0 through 1.1.3 allow unauthenticated remote code execution through Sprin

CVE-2026-41855 CRITICAL
9.8 Jun 09

Unsafe JSON deserialization in Spring Framework's JMS message converters (MappingJackson2MessageConverter and JacksonJso

CVE-2025-41232 CRITICAL
9.1 May 21

Spring Security Aspects may not correctly locate method security annotations on private methods. Rated critical severity

CVE-2026-59283 CRITICAL
9.1 Aug 27

Safety-guard bypass in the Spring Framework SpEL engine (VMware/Broadcom) lets attacker-controlled expression input esca

CVE-2026-40982 CRITICAL
9.1 May 07

Directory traversal in Spring Cloud Config server module allows remote unauthenticated attackers to read arbitrary files

CVE-2026-22732 CRITICAL POC
9.1 Mar 19

Spring Security fails to properly write HTTP response headers in servlet applications across multiple versions (5.7.0-5.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy