CVE-2025-32033: Apollo Router Operation Limits Vulnerable to Bypass via Integer Overflow

Published Apr 7, 2025
·
Updated

Impact

Summary

A vulnerability in Apollo Router allowed certain queries to bypass configured operation limits, specifically due to integer overflow.

Details

The operation limits plugin uses unsigned 32-bit integers to track limit counters (e.g. for a query's height). If a counter exceeded the maximum value for this data type (4,294,967,295), it wrapped around to 0, unintentionally allowing queries to bypass configured thresholds. This could occur for large queries if the payload limit were sufficiently increased, but could also occur for small queries with deeply nested and reused named fragments.

Fix/Mitigation

Logic was updated to ensure counter overflow is handled correctly and does not wrap around to 0.

Patches

This has been remediated in apollo-router versions 1.61.2 and 2.1.1.

Workarounds

The only known workaround is "Safelisting" or "Safelisting with IDs only" per Safelisting with Persisted Queries - Apollo GraphQL Docs.

Acknowledgements

We appreciate the efforts of the security community in identifying and improving the performance and security of operation limiting mechanisms.

Other sources

The Apollo Router Core is a configurable, high-performance graph router written in Rust to run a federated supergraph that uses Apollo Federation 2. Prior to 1.61.2 and 2.1.1, the operation limits plugin uses unsigned 32-bit integers to track limit counters (e.g. for a query's height). If a counter exceeded the maximum value for this data type (4,294,967,295), it wrapped around to 0, unintentionally allowing queries to bypass configured thresholds. This could occur for large queries if the payload limit were sufficiently increased, but could also occur for small queries with deeply nested and reused named fragments. This has been remediated in apollo-router versions 1.61.2 and 2.1.1.

MITRE

Affected Software

4 affected componentsFixes available
Apollo Router<1.61.2
Apollo Router<2.1.1
rust/apollo-router>=2.0.0-alpha.0<2.1.1
2.1.1
rust/apollo-router<1.61.2
1.61.2

Event History

Apr 7, 2025
Advisory Published
via GitHub·06:59 PM
CVE Published
via MITRE·08:48 PM
Data Sourced
via MITRE·08:48 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·09:15 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2025-32033?

CVE-2025-32033 has a high severity due to the potential for integer overflow in the operation limits plugin.

2

How do I fix CVE-2025-32033?

To fix CVE-2025-32033, upgrade to Apollo Router versions 1.61.2 or 2.1.1 or later.

3

What are the potential impacts of CVE-2025-32033?

CVE-2025-32033 can lead to unexpected behavior in query handling, including denial of service states.

4

Which versions of Apollo Router are affected by CVE-2025-32033?

Apollo Router versions prior to 1.61.2 and 2.1.1 are affected by CVE-2025-32033.

5

Where can I find more information about CVE-2025-32033?

Details about CVE-2025-32033 can be found in the official Apollo Router security advisories.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203