wong2/mcp-cli · Security
wong2 mcp-cli Command Injection Vulnerability
- GHSA ID
- GHSA-p6rm-483j-37jf
- CVE ID
- CVE-2025-9262
- Severity
- low
- Published
- Updated
- CVSS
- 5.6 · CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
- CVSS v3
- 5.6 · CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
- CVSS v4
- 2.9 · 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
Description
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.
This issue has been patched via commit 3562966.
CWEs
- CWE-77 · Improper Neutralization of Special Elements used in a Command ('Command Injection')
- CWE-78 · Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-9262 ↗
- https://gist.github.com/superboy-zjc/a01bd059c4078249d899f8c70c8feb0e ↗
- https://gist.github.com/superboy-zjc/a01bd059c4078249d899f8c70c8feb0e#proof-of-concept ↗
- https://vuldb.com/?ctiid.320804 ↗
- https://vuldb.com/?id.320804 ↗
- https://vuldb.com/?submit.631697 ↗
- https://github.com/wong2/mcp-cli/pull/16 ↗
- https://github.com/wong2/mcp-cli/commit/35629664cc5d3aea4c3d083d075fe26e7c346b59 ↗
- https://github.com/advisories/GHSA-p6rm-483j-37jf ↗