CVE-2025-27097 Details
Description
GraphQL Mesh is a GraphQL Federation framework and gateway for both GraphQL Federation and non-GraphQL Federation subgraphs, non-GraphQL services, such as REST and gRPC, and also databases such as MongoDB, MySQL, and PostgreSQL. When a user transforms on the root level or single source with transforms, and the client sends the same query with different variables, the initial variables are used in all following requests until the cache evicts DocumentNode. If a token is sent via variables, the following requests will act like the same token is sent even if the following requests have different tokens. This can cause a short memory leak but it won't grow per each request but per different operation until the cache evicts DocumentNode by LRU mechanism.
A vulnerability exists in GraphQL Mesh versions 0.96.5 through 0.96.8, specifically within the @graphql-mesh/runtime package. This issue arises when transforms are applied at the root level or on a single source, and the client submits the same query with varying variables. In such cases, the initial set of variables is retained and used in subsequent requests until the cache evicts the DocumentNode. If a token is transmitted through the variables, subsequent requests will behave as if the same token is still being sent, regardless of any changes. This vulnerability can lead to a temporary memory leak, accumulating per operation until the cache clears the DocumentNode using a least-recently-used eviction strategy.
Users can upgrade to GraphQL Mesh version 0.96.9 to address this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Feb 20, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/ardatan/graphql-mesh/security/advisories/GHSA-rr4x-crhf-8886 | [email protected] | Vendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-400 | Uncontrolled Resource Consumption | [email protected] |
| CWE-401 | Missing Release of Memory after Effective Lifetime | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| the-guild graphql mesh | 0.96.5 0.96.6 0.96.7 0.96.8 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Feb 27, 2025 | Initial Analysis | [email protected] |
| Feb 20, 2025 | New CVE Received | [email protected] |