CVE-2025-31496 - CVE House
Back to Database
Status published High CVE-2025-31496

apollo-compiler Named Fragment Processing Vulnerability

Vulnerability Description

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.

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2025-31496

Credits & Attribution

No credits recorded in the NVD database.

Affected Vendor

apollographql

View all reports →

Affected Software

apollo-rs
Vulnerable Versions:
< 1.27.0

Timeline

Official Publish: April 7th, 2025
Last Modified: April 8th, 2025
Added to House: July 22nd, 2026

CVSS Vectors

V3: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Weaknesses (CWE)