Vulnerabilities in pkg:npm/@mobilenext/mobile-mcp
PACKAGECVE-2026-35394 is a HIGH (CVSS 8.3) arbitrary android intent execution vulnerability (CWE-939: Improper Authorization in Handler for Custom URL Scheme) affecting @mobilenext/mobile-mcp libraries in the npm ecosystem. The issue involves arbitrary android intent execution via mobile_open_url. Remediation is available by upgrading affected packages to version 0.0.50.
pkg:npm/@mobilenext/mobile-mcp
Vulnerability advisories affecting package pkg:npm/@mobilenext/mobile-mcp. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-5qhv-x9j4-c3vm | CVE-2026-35394 | HIGH | @mobilenext/mobile-mcp: Arbitrary Android Intent Execution via mobile_open_url |
| GHSA-3p2m-h2v6-g9mx | CVE-2026-33989 | HIGH | @mobilenext/mobile-mcp alllows arbitrary file write via Path Traversal in mobile screen capture tools |
CVE-2026-35394 at a Glance
Security Impact
CVSS: 8.3
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:H).
How to Fix CVE-2026-35394
To remediate this vulnerability, upgrade all affected @mobilenext/mobile-mcp dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install @mobilenext/mobile-mcp@0.0.50
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls @mobilenext/mobile-mcp
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2026-35394, inspect your project dependencies using npm:
npm ls @mobilenext/mobile-mcp
Analyze the terminal output to locate any version of @mobilenext/mobile-mcp in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.0.50), your application is affected.
Note: The npm ls @mobilenext/mobile-mcp command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-939: Improper Authorization in Handler for Custom URL Scheme, where the product uses a handler for a custom url scheme, but it does not properly restrict which actors can invoke the handler using the scheme. In @mobilenext/mobile-mcp, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-35394 Affected @mobilenext/mobile-mcp Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
@mobilenext/mobile-mcp
|
npm |
< 0.0.50
|
0.0.50
|
References
Frequently Asked Questions
What is CVE-2026-35394?
Which @mobilenext/mobile-mcp versions are affected?
What version fixes CVE-2026-35394?
Is @mobilenext/mobile-mcp affected?
What is the CVSS score of CVE-2026-35394?
What CWE is associated with CVE-2026-35394?
How can I check npm dependencies for CVE-2026-35394?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-5qhv-x9j4-c3vm",
"modified" : "2026-04-06T23:43:53Z",
"published" : "2026-04-04T05:37:10Z",
"aliases" : [ "CVE-2026-35394" ],
"summary" : "@mobilenext/mobile-mcp: Arbitrary Android Intent Execution via mobile_open_url",
"details" : "### Summary\n\nThe `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.\n\n### Details\n\nThe 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.\n\nSince 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.\n\n### Impact\n\nAn attacker via prompt injection can:\n- Execute USSD codes (e.g., `tel:*#06#` to display IMEI - confirmed on Pixel 7a, behavior varies by device; or device-specific factory reset codes)\n- Initiate phone calls to premium rate numbers\n- Draft SMS messages with attacker-controlled content\n- Access content providers (contacts, SMS, call logs)\n- Open app installation prompts\n\n### Proof of Concept\n```json\n{\"jsonrpc\":\"2.0\",\"id\":1,\"method\":\"tools/call\",\"params\":{\"name\":\"mobile_open_url\",\"arguments\":{\"device\":\"<id>\",\"url\":\"tel:*#06#\"}}}\n```\n\nResult: IMEI displayed on device.\n```json\n{\"jsonrpc\":\"2.0\",\"id\":1,\"method\":\"tools/call\",\"params\":{\"name\":\"mobile_open_url\",\"arguments\":{\"device\":\"<id>\",\"url\":\"sms:1234567890?body=HACKED\"}}}\n```\n\nResult: SMS app opens with a pre-filled message.\n\n### Remediation\n\nUpgrade 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`.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "@mobilenext/mobile-mcp"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.0.50"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/mobile-next/mobile-mcp/security/advisories/GHSA-5qhv-x9j4-c3vm"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-35394"
}, {
"type" : "WEB",
"url" : "https://github.com/mobile-next/mobile-mcp/pull/299"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/mobile-next/mobile-mcp"
}, {
"type" : "WEB",
"url" : "https://github.com/mobile-next/mobile-mcp/releases/tag/0.0.50"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-939" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2026-04-04T05:37:10Z",
"nvd_published_at" : "2026-04-06T21:16:21Z"
}
}