CVE-2026-6143 Details
Description
A security flaw has been discovered in farion1231 cc-switch up to 3.12.3. Affected by this issue is some unknown functionality of the file src-tauri/src/proxy/server.rs of the component ProxyServer. The manipulation results in permissive cross-domain policy with untrusted domains. The attack can be executed remotely. The exploit has been released to the public and may be used for attacks.
A cross-origin resource sharing (CORS) misconfiguration vulnerability has been identified in Farion1231 cc-switch versions through 3.12.3. The local proxy server, accessible at 127.0.0.1:15721, allows any website to send cross-origin requests. This permissive policy enables remote exploitation, as the proxy automatically injects the user's API key into forwarded requests. Consequently, a malicious website can misuse the user's AI API (such as Claude, OpenAI, or Gemini) without knowledge of the API key, requiring only a single user action: visiting the webpage.
Users can update to cc-switch version 3.13.0, which addresses the CORS misconfiguration by restricting cross-origin requests to only those originating from localhost.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Apr 13, 2026CISA-ADP
Assessed Apr 13, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/farion1231/cc-switch/ | [email protected] | Source CodeVendor |
| https://github.com/farion1231/cc-switch/issues/1841 | [email protected] | ExploitIssue TrackingTechnical DescriptionVendor |
| https://github.com/farion1231/cc-switch/issues/1841#issue-4191294952 | [email protected] | ExploitIssue TrackingTechnical DescriptionVendor |
| https://github.com/farion1231/cc-switch/pull/1915 | [email protected] | Issue TrackingVendor |
| https://vuldb.com/submit/796145 | [email protected] | Technical Description |
| https://vuldb.com/vuln/357007 | [email protected] | AdvisoryExploit |
| https://vuldb.com/vuln/357007/cti | [email protected] | Content Wall |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-346 | Origin Validation Error | [email protected] |
| CWE-942 | Permissive Cross-domain Policy with Untrusted Domains | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| farion1231 cc-switch | All versions |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 26, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 29, 2026 | Data Remediation | [email protected] |
| Apr 13, 2026 | New CVE Received | [email protected] |
Volerion