Medium severity5.6NVD Advisory· Published Aug 20, 2025· Updated Apr 29, 2026
CVE-2025-9262
CVE-2025-9262
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
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
@wong2/mcp-clinpm | <= 1.13.0 | — |
Affected products
1Patches
135629664cc5dfix(auth): sanitize authorization URL (#16)
2 files changed · +4 −2
package.json+2 −1 modified@@ -30,6 +30,7 @@ "prompts": "^2.4.2", "uri-template": "^2.0.0", "yocto-spinner": "^0.2.2", - "yoctocolors": "^2.1.1" + "yoctocolors": "^2.1.1", + "strict-url-sanitise": "^0.0.1" } }
src/oauth/provider.js+2 −1 modified@@ -2,6 +2,7 @@ import open from 'open' import { config } from '../config.js' +import { sanitizeUrl } from 'strict-url-sanitise' /** @typedef {import("@modelcontextprotocol/sdk/client/auth.js").OAuthClientProvider} OAuthClientProvider */ /** @implements {OAuthClientProvider} */ @@ -39,7 +40,7 @@ export class McpOAuthClientProvider { } async redirectToAuthorization(authorizationUrl) { - await open(authorizationUrl.toString()) + await open(sanitizeUrl(authorizationUrl.toString())) } async codeVerifier() {
Vulnerability mechanics
Generated by null/stub on May 9, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.
References
9- gist.github.com/superboy-zjc/a01bd059c4078249d899f8c70c8feb0envdExploitThird Party AdvisoryWEB
- gist.github.com/superboy-zjc/a01bd059c4078249d899f8c70c8feb0envdExploitThird Party AdvisoryWEB
- github.com/advisories/GHSA-p6rm-483j-37jfghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2025-9262ghsaADVISORY
- vuldb.comnvdThird Party AdvisoryVDB EntryWEB
- vuldb.comnvdThird Party AdvisoryVDB EntryWEB
- github.com/wong2/mcp-cli/commit/35629664cc5d3aea4c3d083d075fe26e7c346b59ghsaWEB
- github.com/wong2/mcp-cli/pull/16ghsaWEB
- vuldb.comnvdPermissions RequiredVDB EntryWEB
News mentions
0No linked articles in our index yet.