# 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

- Severity: Medium 5.1 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.45%, higher than 40% of CVEs (2026-12-01)
- Published: 2023-10-10T21:29:50.000Z
- Modified: 2026-06-17T09:03:01.603Z
- Also known as: GHSA-rr4x-crhf-8886
- Weaknesses: CWE-400, CWE-401
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- ardatan graphql-mesh: @graphql-mesh/runtime: >= 0.96.9, < 0.96.9
- @graphql-mesh/runtime (npm): from 0.96.5 before 0.96.9
- the-guild graphql_mesh: 0.96.5; 0.96.6; 0.96.7; 0.96.8

## Every score

- GitHub_M: CVSS:4.0 5.1 Medium `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`
- GitHub: CVSS:4.0 Medium `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`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/ardatan/graphql-mesh/security/advisories/GHSA-rr4x-crhf-8886> (vendor-advisory, web)
- <https://github.com/Urigo/graphql-mesh/security/advisories/GHSA-rr4x-crhf-8886> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-27097> (advisory)
- <https://github.com/Urigo/graphql-mesh/commit/482d813a9f75935024aa77872125d197f5fca3d0> (web)
- <https://github.com/Urigo/graphql-mesh> (package)
- <https://github.com/Urigo/graphql-mesh/releases/tag/release-1696859949678> (web)

## Sources

- CVE List: [CVE-2025-27097](https://www.cve.org/CVERecord?id=CVE-2025-27097), CVE Terms of Use, modified 2025-02-20
- GitHub Advisory Database: [GHSA-rr4x-crhf-8886](https://github.com/advisories/GHSA-rr4x-crhf-8886), CC-BY-4.0, modified 2025-02-20
- NVD: [CVE-2025-27097](https://nvd.nist.gov/vuln/detail/CVE-2025-27097), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-27097 · Whole record: https://cve.day/CVE-2025-27097.json · Rebuilt by cve.day 2026-11-25T22:58:54.202Z
