GHSA-p6rm-483j-37jf
wong2 mcp-cli Command Injection Vulnerability
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | @wong2/mcp-cli | <= 1.13.0 | no fix listed |
Details
As written in the advisory (Markdown source, shown as plain text).
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.
References
External links from the advisory. They lead to third-party sites.
- 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