Skip to main content

godot-mcp CVE-2026-15522

| EUVDEUVD-2026-43264 LOW
Path Traversal (CWE-22)
2026-07-13 VulDB GHSA-9cqv-qvmj-xrc4
1.9
CVSS 4.0 · Vendor: VulDB

Severity by source

Vendor (VulDB) PRIMARY
1.9 MEDIUM
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
vuln.today AI
5.3 MEDIUM

Local-only attack requiring low privileges to supply projectPath; write-capable traversal yields limited file read/write/overwrite with no scope change.

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (VulDB).

CVSS VectorVendor: VulDB

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
X

Lifecycle Timeline

3
Severity Changed
Jul 13, 2026 - 03:22 NVD
MEDIUM LOW
CVSS changed
Jul 13, 2026 - 03:22 NVD
4.8 (MEDIUM) 1.9 (LOW)
Analysis Generated
Jul 13, 2026 - 03:00 vuln.today

DescriptionCVE.org

A security flaw has been discovered in tugcantopaloglu godot-mcp 2.0.0. Affected by this vulnerability is the function validatePath of the file build/index.js of the component run_project. The manipulation of the argument projectPath results in path traversal. Attacking locally is a requirement. The exploit has been released to the public and may be used for attacks. Upgrading to version 3.0.0 addresses this issue. The patch is identified as eb63add552aa4bd9205395cf91b40654654a3cf2. It is suggested to upgrade the affected component.

AnalysisAI

Path traversal in tugcantopaloglu godot-mcp 2.0.0 allows a local low-privileged user to escape the intended project directory by manipulating the projectPath argument passed to the validatePath function within the run_project component. A public proof-of-concept has been disclosed via GitHub issue #9, raising practical exploitability above the raw CVSS score of 4.8 would suggest. No active exploitation is confirmed by CISA KEV; a vendor-released patch is available in version 3.0.0.

Technical ContextAI

godot-mcp is a Model Context Protocol (MCP) server integration designed to bridge AI tooling with the Godot game engine, identified by CPE cpe:2.3:a:tugcantopaloglu:godot-mcp. The vulnerability originates in the validatePath function in build/index.js, which is responsible for sanitizing file system paths supplied to the run_project component. The root cause class is CWE-22 (Improper Limitation of a Pathname to a Restricted Directory - Path Traversal): the function fails to canonicalize or adequately normalize the projectPath argument before using it to access the file system, allowing traversal sequences such as '../' to escape the intended working directory. This pattern is a well-understood failure mode in JavaScript/Node.js file handling code where path.resolve() or equivalent canonicalization is omitted.

RemediationAI

Upgrade godot-mcp to version 3.0.0, which resolves the path traversal via commit eb63add552aa4bd9205395cf91b40654654a3cf2 (https://github.com/tugcantopaloglu/godot-mcp/commit/eb63add552aa4bd9205395cf91b40654654a3cf2); the patched release is available at https://github.com/tugcantopaloglu/godot-mcp/releases/tag/v3.0.0. If immediate upgrade is not feasible, restrict local system access to only trusted users who require interaction with the run_project component, reducing the pool of potential local attackers. Additionally, consider wrapping the MCP server invocation in a sandboxed environment (e.g., a container or restricted user account with minimal filesystem permissions) to limit the directories reachable via traversal - note that sandboxing adds operational complexity and does not address the underlying input validation defect.

Share

CVE-2026-15522 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy