Get a Demo

Let's Patch It!

Book a short call with one our specialists, we'll walk you through how Endor Patches work, and ask you a few questions about your environment (like your primary programming languages and repository management). We'll also send you an email right after you fill out the form, feel free to reply with any questions you have in advance!

CVE

CVE-2026-35394

@mobilenext/mobile-mcp: Arbitrary Android Intent Execution via mobile_open_url
Back to all
CVE

CVE-2026-35394

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

Summary

The mobileopenurl 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

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

Result: IMEI displayed on device.

{"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 mobileopenurl to http:// and https:// schemes by default. Users who require other URL schemes can opt in by setting MOBILEMCPALLOWUNSAFE_URLS=1.

Package Versions Affected

Package Version
patch Availability
No items found.

Automatically patch vulnerabilities without upgrading

Fix Without Upgrading
Detect compatible fix
Apply safe remediation
Fix with a single pull request

CVSS Version

Severity
Base Score
CVSS Version
Score Vector
C
H
U
8.3
-
3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:H
C
H
U
0
-
3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:H
C
H
U
-

Related Resources

No items found.

References

https://github.com/mobile-next/mobile-mcp/security/advisories/GHSA-5qhv-x9j4-c3vm, https://nvd.nist.gov/vuln/detail/CVE-2026-35394, https://github.com/mobile-next/mobile-mcp/pull/299, https://github.com/mobile-next/mobile-mcp, https://github.com/mobile-next/mobile-mcp/releases/tag/0.0.50

Severity

8.3

CVSS Score
0
10

Basic Information

Ecosystem
Base CVSS
8.3
EPSS Probability
0.00027%
EPSS Percentile
0.07969%
Introduced Version
0
Fix Available
0.0.50

Fix Critical Vulnerabilities Instantly

Secure your app without upgrading.
Fix Without Upgrading