~/talk

DoS Wars: Revenge of the Fragments

Talkat GraphQLConf 2026 · on Wednesday, 2026-05-20· at 16:25· Grand Ballroom II - IV· [graphql, security]
links:none on file
slides:none on file

Fragments can hide exponential work behind linear execution: validation often visits named fragments once while some validators and planners do not, producing exponential validation or planning time and enabling denial‑of‑service. Examples include CVE-2025-31496 (Apollo compiler revisiting fragments), planner blowups in Apollo Router and Gateway from inlining fragments, and a wrapping arithmetic bug that lets metrics overflow. Remedies: memoize fragment visits, precompute expanded operation size, and use non‑wrapping integer types for cost limits.

AI-written summary · about

  1. 0:00Introduction
  2. 1:03Fragment cycles and execution
  3. 2:46Field collection in fragments
  4. 7:39Apollo compiler vulnerability
  5. 8:42Federation query planner issues
  6. 10:03Router plugin arithmetic flaw
  7. 11:08Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.