High

@mobilenext/mobile-mcp: Arbitrary Android Intent Execution via mobile_open_url

  • Disclosed: 04.04.2026
  • Updated: 11.10.2026 10:22

Summary

The mobile_open_url tool in mobile-mcp passes user-supplied URLs directly to Android's intent system without any scheme validation, allowing execution of arbitrary Android intents, including USSD codes, phone calls, SMS messages, and content provider access.

Details

The vulnerable code passes URLs directly to adb shell am start -a android.intent.action.VIEW -d <url> without checking the URL scheme. This can enable malicious schemes such as tel:, sms:, mailto:, content://, and market:// to be executed.

Since MCP servers are designed to be operated by AI agents, which are vulnerable to prompt injection attacks, a malicious document or website could inject instructions that cause the AI to execute dangerous intents on a connected mobile device.

Impact

An attacker via prompt injection can:

  • Execute USSD codes (e.g., tel:*#06# to display IMEI - confirmed on Pixel 7a, behavior varies by device; or device-specific factory reset codes)
  • Initiate phone calls to premium rate numbers
  • Draft SMS messages with attacker-controlled content
  • Access content providers (contacts, SMS, call logs)
  • Open app installation prompts

Proof of Concept

js
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"mobile_open_url","arguments":{"device":"<id>","url":"tel:*#06#"}}}

Result: IMEI displayed on device.

js
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"mobile_open_url","arguments":{"device":"<id>","url":"sms:1234567890?body=HACKED"}}}

Result: SMS app opens with a pre-filled message.

Remediation

Upgrade to version 0.0.50 or later, which restricts mobile_open_url to http:// and https:// schemes by default. Users who require other URL schemes can opt in by setting MOBILEMCP_ALLOW_UNSAFE_URLS=1.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
npm package @mobilenext/mobile-mcp < 0.0.50 0.0.50

References

CVSS score 8.3/10
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:H
Weakness (CWE)
CWE-939
Platform
npm
Package
@mobilenext/mobile-mcp
Disclosed
04.04.2026
Updated
11.10.2026 10:22

Sources and licenses

OSV / GitHub Advisory Database - GHSA-5qhv-x9j4-c3vm - CC BY 4.0

Vulnerability history: @mobilenext/mobile-mcp

All published vulnerabilities of this package (npm package), newest first. Shows whether this is a one-off slip or a package that needs watching.

Total entries
2
First → latest
03.2026 04.2026
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • High 2

Disclosures per year

  1. 2026: 2
  1. @mobilenext/mobile-mcp: Arbitrary Android Intent Execution via mobile_open_url this entry
    High · 8.3 CVE-2026-35394 < 0.0.50 0.0.50

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.