CVE-2025-27097

Cache variables with the operations when transforms exist on the root level even if variables change in the further requests with the same operation

Published Feb 20, 2025 CVSS 4.0 · 5.1 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2023-2806 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.
Github GHSA Github GHSA GHSA-rr4x-crhf-8886 Cache variables with the operations when transforms exist on the root level even if variables change in the further requests with the same operation
History
Type Values Removed Values Added
First Time appeared The-guild
The-guild graphql Mesh
Weaknesses CWE-401
CPEs cpe:2.3:a:the-guild:graphql_mesh:0.96.5:*:*:*:*:node.js:*:*
cpe:2.3:a:the-guild:graphql_mesh:0.96.6:*:*:*:*:node.js:*:*
cpe:2.3:a:the-guild:graphql_mesh:0.96.7:*:*:*:*:node.js:*:*
cpe:2.3:a:the-guild:graphql_mesh:0.96.8:*:*:*:*:node.js:*:*
Vendors & Products The-guild
The-guild graphql Mesh
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title Cache variables with the operations when transforms exist on the root level even if variables change in the further requests with the same operation
Weaknesses CWE-400
References
Metrics cvssV4_0

{'score': 5.1, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Feb 20, 2025, 9:01 PM
Reserved
Feb 18, 2025, 4:44 PM
Status
Analyzed
Published
Feb 20, 2025, 9:15 PM
Modified
Jun 17, 2026, 9:03 AM