Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2025-27098

MEDIUM 5.8EPSS 37%

Unwanted access to the entire file system vulnerability due to a missing check in `staticFiles` HTTP handler in graphql-mesh

Also known as GHSA-j2wh-wrv3-4x4g

Mitigation

  • Upgrade @graphql-mesh/cli to 0.82.22 or later.
  • Upgrade @graphql-mesh/http to 0.3.19 or later.

Who should check

  • Projects that depend on npm package @graphql-mesh/cli (>= 0.78.0, < 0.82.22)
  • Projects that depend on npm package @graphql-mesh/http (< 0.3.19)
  • Anyone running ardatan graphql-mesh @graphql-mesh/cli: >= 0.78.0, < 0.82.22; @graphql-mesh/http: < 0.3.19

Vulnerability facts

Affected
@graphql-mesh/cli >= 0.78.0, < 0.82.22; @graphql-mesh/http < 0.3.19
Fixed in
0.82.22, 0.3.19
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, no login needed
CVSS
5.8 (v3.1, CNA)CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:LOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Network
  • Attack complexity: High
  • Privileges required: None
  • User interaction: Required
  • Scope: Changed (impact reaches other components)
  • Confidentiality impact: Low
  • Integrity impact: Low
  • Availability impact: Low
EPSS
0.51% chance of exploitation in 30 days (percentile 37, 2026-11-26)
CWE
CWE-22
Published
Modified

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

Affected and fixed versions

Package / productAffectedFixedSource
npm @graphql-mesh/cli>= 0.78.0, < 0.82.220.82.22osv
npm @graphql-mesh/http< 0.3.190.3.19osv
ardatan graphql-mesh@graphql-mesh/cli: >= 0.78.0, < 0.82.22; @graphql-mesh/http: < 0.3.19—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2025-27098. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-27098.md
Affected: @graphql-mesh/cli >= 0.78.0, < 0.82.22; @graphql-mesh/http < 0.3.19
Fixed in: 0.82.22, 0.3.19

Steps:
1. Search this machine and project for @graphql-mesh/cli (npm), @graphql-mesh/http (npm), ardatan graphql-mesh: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2025-27098 being exploited?

There is no confirmed exploitation: CVE-2025-27098 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.51% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2025-27098?

Medium: CVSS 5.8 (v3.1, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work. The attack needs conditions outside the attacker's control, which makes it harder.

Which versions are affected by CVE-2025-27098?

@graphql-mesh/cli >= 0.78.0, < 0.82.22; @graphql-mesh/http < 0.3.19.

Is there a fix for CVE-2025-27098?

Yes. Fixed in 0.82.22, 0.3.19. Upgrade @graphql-mesh/cli to 0.82.22 or later. Upgrade @graphql-mesh/http to 0.3.19 or later.

How do I check if I'm affected by CVE-2025-27098?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors