Vulnerability · Published Aug 20, 2025 · Assigned by VulDB
CVE-2025-9262wong2 mcp-cli oAuth provider.js redirectToAuthorization os command injection
Medium 5.6
In plain English
A medium-severity OS command injection in mcp-cli from wong2. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 4.3% (higher than 91% of all known vulnerabilities).
Official 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. The vendor was contacted early about this disclosure but did not respond in any way.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | @wong2/mcp-cli | no fix listed | GHSA-p6rm-483j-37jf |
Affected products (as reported)
Weakness: CWE-78, CWE-77 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R
References
- VDB-320804 | wong2 mcp-cli oAuth provider.js redirectToAuthorization os command injection vdb-entry, technical-description
- VDB-320804 | CTI Indicators (IOB, IOC, TTP, IOA) signature, permissions-required
- Submit #631697 | mcp-cli 1.13.0 OS Command Injection third-party-advisory
- https://gist.github.com/superboy-zjc/a01bd059c4078249d899f8c70c8feb0e related
- https://gist.github.com/superboy-zjc/a01bd059c4078249d899f8c70c8feb0e#proof-of-concept exploit