Spring for GraphQL Unsafe Deserialization in pagination support

HIGH | AUGUST 20, 2026 | CVE-2026-59285

Description

Spring for GraphQL applications are vulnerable to Unsafe Deserialization when processing paginated GraphQL queries.

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

  • the application is using Spring GraphQL
  • the application is using Jackson 2.x for JSON deserialization
  • the application exposes a paginated (Connection) field
  • the application's classpath contains specific classes that can be leveraged to execute unintended logic during instantiation or deserialization

When all the conditions above are met, an attacker can craft a malicious GraphQL request that can lead to Remote Code Execution.

Affected Spring Products and Versions

Spring for GraphQL:

  • 2.0.0 - 2.0.4

Mitigation

Users of affected versions should upgrade to the corresponding fixed version.
Fix versionAvailability
2.0.5OSS
2.0.4.1Enterprise 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