wong2 mcp-cli Command Injection Vulnerability
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 software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| npm package | @wong2/mcp-cli | <= 1.13.0 | no fix |
References
- 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
- https://gist.github.com/superboy-zjc/a01bd059c4078249d899f8c70c8feb0e
- https://gist.github.com/superboy-zjc/a01bd059c4078249d899f8c70c8feb0e#proof-of-concept
- https://github.com/wong2/mcp-cli
- https://vuldb.com/?ctiid.320804
- https://vuldb.com/?id.320804
- https://vuldb.com/?submit.631697
- CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L- Weakness (CWE)
CWE-77, CWE-78- Platform
- npm
- Package
@wong2/mcp-cli- Disclosed
- 21.08.2025
- Updated
- 11.10.2026 10:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-p6rm-483j-37jf - CC BY 4.0
Vulnerability history: @wong2/mcp-cli
All published vulnerabilities of this package (npm package), newest first. Shows whether this is a one-off slip or a package that needs watching.
This is the only known vulnerability of this package.
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.