Intel

AIKIDO-2026-639746

spring-graphql is vulnerable to Missing Origin Validation in WebSockets

Missing Origin Validation in WebSocketsCVE-2026-41700 Published Today

81

High Risk

This Affects:

JAVAspring-graphql
0.0.1 - 1.0.6
Fixed in 1.0.7
1.1.0 - 1.3.8
Fixed in 1.3.9
1.4.0 - 1.4.5
Fixed in 1.4.6
2.0.0 - 2.0.3
Fixed in 2.0.4
Are you affected? Scan for Free

TL;DR

Spring for GraphQL applications that enable the GraphQL WebSocket transport and rely on cookie-based session authentication may be vulnerable to Cross-Site WebSocket Hijacking when WebSocket Origin validation is not enforced. An attacker can trick an authenticated user into visiting a malicious webpage, allowing arbitrary GraphQL operations to be executed through the victim's authenticated session and potentially leading to unauthorized access or modification of application data.

Who does this affect?

You are affected if using a vulnerable version.

Background info

spring-graphql is vulnerable to Missing Origin Validation in WebSockets in versions 2.0.0 - 2.0.3, 1.4.0 - 1.4.5, 1.1.0 - 1.3.8 and 0.0.1 - 1.0.6.

How to fix this

Upgrade the org.springframework.graphql:spring-graphql library to the patch version.