This vulnerability exposes a fundamental trust boundary failure in Spring for GraphQL's pagination abstraction. The framework treats GraphQL pagination arguments (first, last, cursor-based page traversal) as a safe passthrough to Spring Data repositories, but these arguments control query volume — not just query shape — and should be validated independently.
The core issue: GraphQL validates query structure through its schema, but volume parameters live outside that contract. When Spring for GraphQL forwards unbounded pagination arguments to Spring Data, it collapses a trust boundary that repositories were never designed to defend. A client requesting first: 1000000 or conducting sustained cursor-based iteration can multiply datastore load in ways the schema definition never anticipated. This isn't a one-time DoS — it's a sustained engagement where iteration compounds exposure across time.
The vulnerability affects both 1.x and 2.x branches, indicating this wasn't a regression but a baked-in design assumption: that GraphQL arguments are inherently bounded because the schema exists. This assumption has precedent — Elasticsearch scroll API exhaustion, MongoDB cursor attacks, and JDBC fetch size debates all share the same pattern. The fix likely imposes hard limits on pagination parameters, but the deeper question is whether the framework should estimate query cost before execution rather than just clamping values.
Check your deployments: verify whether Connection types expose Spring Data repositories without intermediate validation layers, and audit for other argument-forwarding patterns (contextual filters, fetch limits, sort parameters) that may exhibit similar passthrough behavior. The patch will address pagination — the more important question is whether the conceptual shift from "passthrough" to "untrusted input" propagates through the framework's design philosophy.