CVE-2025-9262: @wong2/mcp cli Wong2 Mcp-cli Command Injection Vulnerability Vulnerability
LOWCVE-2025-9262 is a LOW (CVSS 5.6) wong2 mcp-cli command injection vulnerability vulnerability (CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')) affecting @wong2/mcp cli libraries in the npm ecosystem. The issue involves wong2 mcp-cli command injection vulnerability. Remediation is available in the latest vendor maintenance releases.
CVE-2025-9262 at a Glance
Security Impact
CVSS: 5.6
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L).
How to Fix CVE-2025-9262
To remediate this vulnerability, upgrade all affected @wong2/mcp cli 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 @wong2/mcp-cli@Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls @wong2/mcp-cli
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2025-9262, inspect your project dependencies using npm:
npm ls @wong2/mcp-cli
Analyze the terminal output to locate any version of @wong2/mcp cli in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.
Note: The npm ls @wong2/mcp-cli 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-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection'), where the product constructs all or part of an os command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended os command when it is sent to a downstream component. In @wong2/mcp cli, 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-2025-9262 Affected @wong2/mcp cli Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
@wong2/mcp-cli
|
npm |
≤ 1.13.0
|
|
References
Frequently Asked Questions
What is CVE-2025-9262?
Which @wong2/mcp cli versions are affected?
What version fixes CVE-2025-9262?
Is @wong2/mcp-cli affected?
What is the CVSS score of CVE-2025-9262?
What CWE is associated with CVE-2025-9262?
How can I check npm dependencies for CVE-2025-9262?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-p6rm-483j-37jf",
"modified" : "2025-09-13T04:47:33Z",
"published" : "2025-08-21T00:30:20Z",
"aliases" : [ "CVE-2025-9262" ],
"summary" : "wong2 mcp-cli Command Injection Vulnerability",
"details" : "A flaw has been found in wong2 mcp-cli 1.13.0. Affected is the function redirectToAuthorization of the file /src/oauth/provider.js of the component oAuth Handler. This manipulation causes os command injection. The attack may be initiated remotely. The attack is considered to have high complexity. The exploitability is told to be difficult. The exploit has been published and may be used.\n\nThis issue has been patched via commit 3562966.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "@wong2/mcp-cli"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "1.13.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-9262"
}, {
"type" : "WEB",
"url" : "https://github.com/wong2/mcp-cli/pull/16"
}, {
"type" : "WEB",
"url" : "https://github.com/wong2/mcp-cli/commit/35629664cc5d3aea4c3d083d075fe26e7c346b59"
}, {
"type" : "WEB",
"url" : "https://gist.github.com/superboy-zjc/a01bd059c4078249d899f8c70c8feb0e"
}, {
"type" : "WEB",
"url" : "https://gist.github.com/superboy-zjc/a01bd059c4078249d899f8c70c8feb0e#proof-of-concept"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/wong2/mcp-cli"
}, {
"type" : "WEB",
"url" : "https://vuldb.com/?ctiid.320804"
}, {
"type" : "WEB",
"url" : "https://vuldb.com/?id.320804"
}, {
"type" : "WEB",
"url" : "https://vuldb.com/?submit.631697"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-77", "CWE-78" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2025-08-21T14:52:32Z",
"nvd_published_at" : "2025-08-20T23:15:30Z"
}
}