CVE-2025-57755: @musistudio/claude code router @musistudio/claude-code-router Has Improper CORS Configuration Vulnerability
HIGHCVE-2025-57755 is a HIGH (CVSS 0.0) @musistudio/claude-code-router has improper cors configuration vulnerability (CWE-942: Permissive Cross-domain Security Policy with Untrusted Domains) affecting @musistudio/claude code router libraries in the npm ecosystem. The issue involves @musistudio/claude-code-router has improper cors configuration. Remediation is available by upgrading affected packages to version 1.0.34.
CVE-2025-57755 at a Glance
Security Impact
CVSS: 0.0
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N).
How to Fix CVE-2025-57755
To remediate this vulnerability, upgrade all affected @musistudio/claude code router dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install @musistudio/claude-code-router@1.0.34
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls @musistudio/claude-code-router
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2025-57755, inspect your project dependencies using npm:
npm ls @musistudio/claude-code-router
Analyze the terminal output to locate any version of @musistudio/claude code router in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.0.34), your application is affected.
Note: The npm ls @musistudio/claude-code-router command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-942: Permissive Cross-domain Security Policy with Untrusted Domains, where the product uses a web-client protection mechanism such as a content security policy (csp) or cross-domain policy file, but the policy includes untrusted domains with which the web client is allowed to communicate. In @musistudio/claude code router, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2025-57755 Affected @musistudio/claude code router Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
@musistudio/claude-code-router
|
npm |
< 1.0.34
|
1.0.34
|
References
Frequently Asked Questions
What is CVE-2025-57755?
Which @musistudio/claude code router versions are affected?
What version fixes CVE-2025-57755?
Is @musistudio/claude-code-router affected?
What is the CVSS score of CVE-2025-57755?
What CWE is associated with CVE-2025-57755?
How can I check npm dependencies for CVE-2025-57755?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-8hmm-4crw-vm2c",
"modified" : "2025-08-21T19:17:34Z",
"published" : "2025-08-21T14:54:24Z",
"aliases" : [ "CVE-2025-57755" ],
"summary" : "@musistudio/claude-code-router has improper CORS configuration",
"details" : "### Impact\nDue to improper Cross-Origin Resource Sharing (CORS) configuration, there is a risk that user API Keys or equivalent credentials may be exposed to untrusted domains. Attackers could exploit this misconfiguration to steal credentials, abuse accounts, exhaust quotas, or access sensitive data.\n\n### Patches\nThe issue has been patched in v1.0.34.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "@musistudio/claude-code-router"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.0.34"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/musistudio/claude-code-router/security/advisories/GHSA-8hmm-4crw-vm2c"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-57755"
}, {
"type" : "WEB",
"url" : "https://github.com/musistudio/claude-code-router/issues/549"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/musistudio/claude-code-router"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-200", "CWE-942" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2025-08-21T14:54:24Z",
"nvd_published_at" : "2025-08-21T17:15:31Z"
}
}