medium5.6
CVE-2025-9262
wong2 mcp-cli Command Injection Vulnerability
Impact
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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | @wong2/mcp-cli | <= 1.13.0 | none recorded |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Wong2 | Mcp-Cli | Version 1.13.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- 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/advisories/GHSA-p6rm-483j-37jf
- https://nvd.nist.gov/vuln/detail/CVE-2025-9262
- https://github.com/wong2/mcp-cli/pull/16
- https://github.com/wong2/mcp-cli/commit/35629664cc5d3aea4c3d083d075fe26e7c346b59