File System Exposure in GraphQL Mesh Gateway from Ardatan
CVE-2025-27098

7.5HIGH

Key Information:

Vendor

Ardatan

Vendor
CVE Published:
20 February 2025

What is CVE-2025-27098?

A vulnerability in GraphQL Mesh's static file handler could allow unauthorized access to sensitive files within the server's file system. When the staticFiles configuration option is enabled, the handler fails to verify if the absolutePath remains within the designated directory. This misconfiguration could lead to exposure of sensitive files to any client. To remediate this issue, users are advised to update their dependencies or to eliminate the staticFiles configuration option and utilize alternative methods for serving static content.

Affected Version(s)

graphql-mesh @graphql-mesh/cli: >= 0.78.0, < 0.82.22 < @graphql-mesh/cli: 0.78.0, 0.82.22

graphql-mesh @graphql-mesh/http: < 0.3.19 < @graphql-mesh/http: 0.3.19

References

CVSS V3.1

Score:
7.5
Severity:
HIGH
Confidentiality:
High
Integrity:
None
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.