CVE-2025-9262: 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.
References
- gist.github.com/superboy-zjc/a01bd059c4078249d899f8c70c8feb0e
- gist.github.com/superboy-zjc/a01bd059c4078249d899f8c70c8feb0e
- github.com/advisories/GHSA-p6rm-483j-37jf
- github.com/wong2/mcp-cli
- github.com/wong2/mcp-cli/commit/35629664cc5d3aea4c3d083d075fe26e7c346b59
- github.com/wong2/mcp-cli/pull/16
- nvd.nist.gov/vuln/detail/CVE-2025-9262
- vuldb.com/?ctiid.320804
- vuldb.com/?id.320804
- vuldb.com/?submit.631697
Code Behaviors & Features
Detect and mitigate CVE-2025-9262 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →