CVE-2026-102242 Path Traversal via Symlink Following in allowedLocalRoots in MCP Toolbox for Databases
Remote authenticated attackers can bypass directory restrictions via symbolic links to read or overwrite arbitrary local files outside permitted roots.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-102242?
CVE-2026-102242 is a high-severity path traversal vulnerability in Google MCP Toolbox for Databases, published on 29 Sep 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
Improper link resolution (CWE-59 / CWE-22) in the allowedLocalRoots path validation in Google MCP Toolbox for Databases versions 1.2.0 through 1.9.0 allows a remote authenticated attacker with tool execution permissions to bypass directory boundary restrictions via symbolic links. Because path validation checks directories lexically without resolving symbolic links first, an attacker can access or overwrite arbitrary local files located outside the permitted root directories.
Which versions are affected by CVE-2026-102242?
How do I fix CVE-2026-102242?
No fix has been published for CVE-2026-102242 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2026-102242 being exploited?
There is no known exploitation of CVE-2026-102242 in the wild and no public exploit code.
Sources
Also known as GHSA-3gp8-hjh6-xf3r.