Intel

AIKIDO-2026-639746

spring-graphql is vulnerable to Missing Origin Validation in WebSockets

CVE-2026-41700Published Jun 15, 2026
June 15, 2026

81

CVE Score

High

Missing Origin Validation in WebSockets

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.

How do I fix this?

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

Who does this affect?

You are affected if using a vulnerable version.

Versions

0.0.1 - 1.4.5

Fixed in 1.4.6

2.0.0 - 2.0.3

Fixed in 2.0.4

Background info

spring-graphql is vulnerable to Missing Origin Validation in WebSockets in versions 2.0.0 - 2.0.3 and 0.0.1 - 1.4.5.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea