Spring for GraphQL WebSocket Client Denial of Service

MEDIUM | AUGUST 20, 2026 | CVE-2026-59287

Description

Spring for GraphQL is vulnerable to Denial of Service attacks when using the WebSocket client with keepAlive enabled.

More precisely, an application is vulnerable when all the following are true:

  • the application is using the WebSocketGraphQlClient to query a GraphQL API
  • the keepAlive option is configured on the client
  • the attacker can interfere with the WebSocket connection

When all the conditions above are met, an attacker may exhaust application memory, resulting in a Denial of Service. For this, the attacker needs to control the GraphQL server or perform a Man-in-the-Middle attack on the WebSocket connection.

Affected Spring Products and Versions

Spring for GraphQL:

  • 2.0.0 - 2.0.4
  • 1.4.0 - 1.4.6
  • 1.3.0 - 1.3.9

Mitigation

Users of affected versions should upgrade to the corresponding fixed version.
Fix versionAvailability
2.0.5OSS
2.0.4.1Enterprise Support Only
1.4.7Enterprise Support Only
1.3.10Enterprise Support Only

No further mitigation steps are necessary.

History

  • 2026-08-20: Initial vulnerability report published.

Get ahead

VMware offers training and certification to turbo-charge your progress.

Learn more

Get support

Tanzu Spring offers support and binaries for OpenJDK™, Spring, and Apache Tomcat® in one simple subscription.

Learn more

Upcoming events

Check out all the upcoming events in the Spring community.

View all