Intel

AIKIDO-2026-383752

spring-graphql is vulnerable to Deserialization of Untrusted Data

Deserialization of Untrusted DataCVE-2026-59285 Published 5 days ago

81

High Risk

This Affects:

JAVAspring-graphql
2.0.0 - 2.0.4
Fixed in 2.0.5
Are you affected? Scan for Free

TL;DR

spring-graphql pagination support can deserialize untrusted Connection arguments with Jackson 2.x. If gadget classes are on the classpath, a crafted GraphQL request can execute unintended logic during deserialization. This requires exposed Connection fields plus Jackson 2.x. The patch restricts types that pagination cursors and arguments may deserialize into.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and paginated GraphQL Connection fields are deserialized with Jackson 2.x.

Background info

spring-graphql is vulnerable to Deserialization of Untrusted Data in versions 2.0.0 - 2.0.4.

How to fix this

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