Description
Mobile Next is an MCP server for mobile development and automation. Prior to version 0.0.49, the `@mobilenext/mobile-mcp` server contains a Path Traversal vulnerability in the `mobile_save_screenshot` and `mobile_start_screen_recording` tools. The `saveTo` and `output` parameters were passed directly to filesystem operations without validation, allowing an attacker to write files outside the intended workspace. Version 0.0.49 fixes the issue.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| mobile-next | mobile-mcp | < 0.0.49 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | @mobilenext/mobile-mcp | < 0.0.49 | 0.0.49 | GHSA-3p2m-h2v6-g9mx |