Skip to main content
← All vulnerabilities
CVE-2025-31496GHSA-7MPV-9XG6-5R79

apollo-compiler Named Fragment Processing Vulnerability

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.27.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

Summary

apollo-compiler is a query-based compiler for the GraphQL query language. Prior to 1.27.0, a vulnerability in Apollo Compiler allowed queries with deeply nested and reused named fragments to be prohibitively expensive to validate. Named fragments were being processed once per fragment spread in some cases during query validation, leading to exponential resource usage when deeply nested and reused fragments were involved. This could lead to excessive resource consumption and denial of service in applications. This vulnerability is fixed in 1.27.0.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • apollographql apollo-rs

    fixed in 1.27.0

  • apollo-compilercrates.io

    fixed in 1.27.0

References 2

GitHub · apollographql/apollo-rs