Path traversal in MCP Gateway - #VU139377
Published: July 26, 2026
Vulnerability details
The vulnerability allows a local user to disclose sensitive information.
The vulnerability exists due to path traversal in ResolveFile in workingset.go when processing a file:// server reference. A local user can supply a file:// reference to an arbitrary absolute host path to disclose sensitive information.
Only files that pass later content or extension validation are accepted as server definitions, which limits what data is reflected back.