CVE-2022-40126: A misconfiguration in the Service Mode profile directory of Clash for Windows v0.19.9 allows attackers to esca
CVE-2022-40126 is a high-severity flaw (CVSS 7.8) affecting clash. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
A misconfiguration in the Service Mode profile directory of Clash for Windows v0.19.9 allows attackers to escalate privileges and execute arbitrary commands when Service Mode is activated.
Why this priority
- High severity
- Public exploit reference
No fix is published yet: follow the downgrade or mitigation steps.
Risk facts
| CVSS score | 7.8 (High) |
| Attack vector | Local |
| Attack complexity | Low |
| Privileges needed | Low |
| User interaction | None |
| EPSS exploit chance | 0.3% (top 75%) |
| CISA exploited list | No |
| Weakness | CWE-552 |
| Published | 2022-09-29 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2022-40126?
clash: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2022-40126 being exploited?
CVE-2022-40126 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2022-40126 affect?
CVE-2022-40126 affects clash. Severity is high (CVSS 7.8). A misconfiguration in the Service Mode profile directory of Clash for Windows v0.19.9 allows attackers to escalate privileges and execute arbitrary commands when Service Mode is activated.
How urgent is CVE-2022-40126?
Priority 38/100. High severity; Public exploit reference
Software pages
Related CVEs
- CVE-2024-5732 HIGH 7.3 UPGRADE A vulnerability was found in Clash up to 0.20.1 on Windows
- CVE-2023-24205 CRITICAL 9.8 DOWNGRADE Clash for Windows v0.20.12 was discovered to contain a remote code execution (RCE) vulnerability which is expl