Skip to main content

Spring for GraphQL CVE-2026-41700

| EUVDEUVD-2026-36213 HIGH
Origin Validation Error (CWE-346)
2026-06-11 vmware GHSA-m39w-hqxx-3r48
8.1
CVSS 3.1 · Vendor: vmware
View

Attack ChainAIDerived

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

  1. Recon
    Identify target using Spring GraphQL WebSocket endpoint
  2. Delivery
    Host malicious page with WebSocket client JS
  3. Exploit
    Lure authenticated victim to visit page
  4. Install
    Browser opens wss://target/graphql with session cookie
  5. C2
    Server skips Origin check and accepts handshake
  6. Execute
    Attacker JS issues GraphQL queries and mutations
  7. Impact
    Exfiltrate data and modify state as victim

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Origin validation
Exploitation Conditions

Exploitation requires that the target Spring for GraphQL application has explicitly enabled the WebSocket transport (graphql-ws / graphql-transport-ws on an endpoint such as /graphql) and authenticates that WebSocket using ambient browser credentials - typically a session cookie or HTTP Basic auth - without Origin allowlisting or a header-bound CSRF token. The victim must already hold an authenticated session and be socially engineered into loading an attacker-controlled page in the same browser (CVSS UI:R). Limiting factors: applications that use only the default HTTP POST GraphQL transport are not exposed; deployments that already enforce an Origin allowlist on WebSocket handshakes or use non-cookie bearer tokens supplied via JavaScript are not exploitable; and SameSite=Lax/Strict session cookies materially reduce, though do not always eliminate, the attack surface depending on cookie scope and browser.

Impact

Signals are largely consistent and point to a real, but not top-tier, priority. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N, 8.1 High) reflects network reachability, low complexity, no attacker authentication, but a required victim interaction (visiting a malicious page) - typical for CSWSH. No EPSS score, KEV listing, or POC was provided in the intelligence package, and the only reference is the vendor advisory at spring.io, suggesting this is a freshly disclosed coordinated advisory rather than an exploited zero-day. The 'Information Disclosure' tag understates the issue: PR:N plus C:H/I:H means an attacker can both read sensitive data the victim can query and execute mutations on their behalf. Conflict to flag: the input lists no EPSS, KEV, or POC data at all - absence of these signals is not evidence of safety, and CSWSH PoCs are trivially constructible from public CSRF/WebSocket tooling, so realistic exploit availability is likely higher than the 'no public exploit' status implies.

Exploit ScenarioDerived

An authenticated user of a Spring-GraphQL-backed application visits an attacker-controlled web page (phishing link, malvertising, watering-hole). The page's JavaScript opens a WebSocket to wss://victim-app.example.com/graphql; the browser attaches the user's session cookie, the server accepts the upgrade without checking Origin, and the attacker's script sends graphql-ws messages issuing queries to exfiltrate sensitive data and mutations to change account state in the victim's name.

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

Cross-Site WebSocket Hijacking in Spring for GraphQL allows remote attackers to execute arbitrary GraphQL operations under an authenticated victim's identity when the application has enabled the GraphQL WebSocket transport. The flaw stems from missing origin validation on WebSocket handshakes (CWE-346), affecting Spring for GraphQL 1.0.x, 1.3.x, 1.4.x, and 2.0.x branches up to 2.0.3. No public exploit identified at time of analysis, but the high CVSS (8.1) and reliance only on a single victim click make this a meaningful risk for any deployment exposing the WebSocket endpoint.

RemediationAI

Upstream fix available per the Spring advisory (https://spring.io/security/cve-2026-41700); released patched version not independently confirmed in the provided data, but applications should upgrade to the latest maintenance release on their branch (2.0.4, 1.4.6, 1.3.9, or 1.0.7 family) once published by VMware/Broadcom. As an immediate compensating control, disable the GraphQL WebSocket transport in the GraphQlWebSocketHandler / GraphQlWebFluxAutoConfiguration if subscriptions are not used - this fully removes the attack surface but breaks any real-time subscription clients. Where WebSockets must remain enabled, add a server-side Origin header allowlist on the WebSocket handshake (e.g., via a HandshakeInterceptor or AllowedOrigins on the WebSocket configurer) restricted to your own front-end origins, and consider requiring a header-bound CSRF token rather than cookie-only authentication on the /graphql WebSocket endpoint; the trade-off is that legitimate cross-origin SPAs and CLI clients that previously relied on ambient cookies must be reconfigured.

Affected VersionsENISA

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

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 official integration between the GraphQL Java engine and the Spring Framework (Spring MVC and Spring WebFlux). It supports the graphql-ws and graphql-transport-ws WebSocket sub-protocols to deliver subscriptions and streaming queries. CWE-346 (Origin Validation Error) applies here: WebSocket upgrade requests are not subject to the browser's Same-Origin Policy in the way XHR/fetch are, so a server that authenticates the upgrade purely via session cookies - without verifying the Origin header or requiring a CSRF-style token - will accept a connection initiated by any cross-origin page. The CPE cpe:2.3:a:spring:spring_for_graphql confirms the vulnerable component is the framework library itself, not a specific application built on top of it, so any downstream Spring Boot service pulling in a vulnerable spring-graphql artifact and exposing /graphql over WS inherits the issue.

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 8.1 HIGH
AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
vuln.today AI 8.1 HIGH

Network-reachable WebSocket endpoint, no attacker auth (PR:N), but victim must visit attacker page (UI:R); attacker reads and mutates victim data (C:H/I:H), no availability impact.

3.1 AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/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
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

Lifecycle Timeline

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

DescriptionCVE.org

Spring for GraphQL applications that have enabled the WebSocket transport are vulnerable to Cross-Site WebSocket Hijacking. An attacker can trick an authenticated user into visiting a malicious page, allowing the attacker to execute arbitrary GraphQL operations with the victim's credentials.

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.x through 2.0.3 contain a vulnerability allowing attackers to perform unauthorized GraphQL operations on behalf of authenticated users through a compromised website or social engineering. The flaw affects any deployment with GraphQL WebSocket functionality enabled and requires minimal attacker effort. With a CVSS score of 8.1, this poses material risk to organizations handling sensitive data or transactions via affected framework versions.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Implement explicit origin validation to reject WebSocket upgrade requests from unauthorized origins; (2) enforce SameSite=Strict on all authentication and session cookies; (3) disable GraphQL WebSocket endpoints if not business-critical; (4) deploy Web Application Firewall rules to detect and block suspicious cross-origin WebSocket requests; (5) implement request-level integrity controls such as signed GraphQL operation tokens.

Threat Intelligence Overview

EPSS Score
0.0%
Top 96% exploitable
Threat Intel
1
1 sources
Social Media
2
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
No
Human Impact
High
Technical Impact
Total

Priority Score

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

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

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