Home / ardatan / graphql-mesh / CVE-2025-27098
CVE-2025-27098: is it exploited, and which versions of ardatan graphql-mesh are affected and fixed?
CVE-2025-27098 is a path traversal (reading or writing files outside the intended folder) vulnerability in ardatan graphql-mesh. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 16:39 UTC). Affected: @graphql-mesh/cli from 0.78.0 before 0.82.22 and @graphql-mesh/http before 0.3.19 (GitHub advisory GHSA-j2wh-wrv3-4x4g). Fixed in 0.82.22 and 0.3.19 (GitHub advisory GHSA-j2wh-wrv3-4x4g). Severity: Medium (5.8, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 16:39 UTC, CVE record November 19, 2026, 07:09 UTC and NVD November 19, 2026, 07:22 UTC.
What is CVE-2025-27098?
Unwanted access to the entire file system vulnerability due to a missing check in `staticFiles` HTTP handler in graphql-mesh
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. Missing check vulnerability in the static file handler allows any client to access the files in the server's file system. When `staticFiles` is set in the `serve` settings in the configuration file, the following handler doesn't check if `absolutePath` is still under the directory provided as `staticFiles`. Users have two options to fix vulnerability; 1. Update `@graphql-mesh/cli` to a version higher than `0.82.21`, and if you use `@graphql-mesh/http`, update it to a version higher than `0.3.18` 2. Remove `staticFiles` option from the configuration, and use other solutions to serve static files.
From the CVE record by GitHub_M, last updated February 20, 2025, 21:04 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| ardatan | graphql-mesh | @graphql-mesh/cli: >= 0.78.0, < 0.82.22 @graphql-mesh/http: < 0.3.19 |
As the CVE record by GitHub_M states it, last updated February 20, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| npm | @graphql-mesh/cli | >= 0.78.0, < 0.82.22 | 0.82.22 | GHSA-j2wh-wrv3-4x4g |
| npm | @graphql-mesh/http | < 0.3.19 | 0.3.19 | GHSA-j2wh-wrv3-4x4g |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated February 20, 2025. Summary: Unwanted access to the entire file system vulnerability due to a missing check in `staticFiles` HTTP handler.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| the-guild | graphql mesh cli | from 0.78.0 before 0.82.22 | application |
| the-guild | graphql mesh http | before 0.3.19 | application |
NVD analysis (status Analyzed), last modified June 17, 2026, 09:03 UTC.
How severe is CVE-2025-27098?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:L | GitHub_M |
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2025-27098 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: partial (CISA ADP, February 20, 2025)
- EPSS
- 0.37% probability of exploitation activity in the next 30 days, percentile 32.8 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
Where are the vendor advisories and references?
- https://github.com/ardatan/graphql-mesh/security/advisories/GHSA-j2wh-wrv3-4x4g x_refsource_CONFIRM
When was it published, and where is the official record?
- Reserved
- February 18, 2025
- Published
- February 20, 2025, 20:13 UTC
- CVE record updated
- February 20, 2025, 21:04 UTC by GitHub_M
- NVD
- Analyzed, last modified June 17, 2026, 09:03 UTC
- Last checked
- CVE list November 19, 2026, 07:09 UTC; NVD November 19, 2026, 07:22 UTC; KEV December 3, 2026, 16:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect graphql-mesh?
- Feb 20, 2025CVE-2025-27097 ardatan graphql-mesh: denial of service (uncontrolled resource consumption)
Questions about CVE-2025-27098
Is CVE-2025-27098 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 16:39 UTC. FIRST's EPSS gives it a 0.37% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of ardatan graphql-mesh are affected by CVE-2025-27098?
@graphql-mesh/cli from 0.78.0 before 0.82.22 and @graphql-mesh/http before 0.3.19, per the GitHub advisory GHSA-j2wh-wrv3-4x4g. The tables above give every range the sources list.
Which version fixes CVE-2025-27098?
0.82.22 and 0.3.19, per the GitHub advisory GHSA-j2wh-wrv3-4x4g. Check the vendor's advisory before you rely on it.
How severe is CVE-2025-27098?
Medium (5.8, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2025-27098?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.