CVE-2025-9262 wong2 mcp-cli oAuth provider.js redirectToAuthorization os command injection
Remote attackers can execute arbitrary OS commands via the OAuth provider in wong2 mcp-cli, requiring high complexity and permissions.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-9262?
CVE-2025-9262 is a medium-severity command injection vulnerability in wong2 mcp-cli, published on 20 Aug 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
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.
Which versions are affected by CVE-2025-9262?
2 open source packages ship an affected version, including @wong2/mcp-cli. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
@wong2/mcp-cli npm | All versions to 1.13.0 | None |
@wong2/mcp-cli npm | All versions to 1.13.0 | None |
Products include Wong2 Mcp-Cli.
How do I fix CVE-2025-9262?
No fix has been published for CVE-2025-9262 yet. Limit exposure of the affected software until one is available.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2025-9262 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-9262 exists.
Sources
Also known as GHSA-p6rm-483j-37jf.