Confirm the scope: the Windows service only

This guide covers the Clash Verge Rev Windows service on Windows 10/11 x64. The official advisory lists GHSA-99qg-xv7m-jf4v as affecting v2.5.4 and earlier and explicitly names v2.5.4+autobuild.0908.bbab52d as a fixed build. Do not infer a fix from ordinary 2.5.4 or from a higher major version alone.

This is a local privilege-escalation risk: a low-privilege local user or process may cause the service to execute under LocalSystem. The advisory says it is not directly remotely exploitable over the network. The affected component is the Windows service, not Mihomo rules, subscription URLs or proxy nodes; macOS, Linux and other clients are outside this guide.

Closing the window or turning off TUN does not prove that the background service stopped. Check the full build and the actual service state.

Record the full build and service state

  1. Open the Clash Verge Rev About or version area and record the complete version string, not only the main version. Also note TUN, System Proxy and service-installation state.
  2. Open Windows Services and locate the service belonging to Clash Verge Rev. Record whether it exists, whether it is running and its start mode. Do not stop a similarly named network service whose ownership you cannot confirm.
  3. If you can only confirm ordinary 2.5.4 or earlier while the service is installed or running, treat it as within the affected range. If the named fixed build is present, still confirm that the old service was replaced.

Maintainer issue 7477 also documents a separate service-mode symptom where the core and proxy port work while the UI reports a core communication error. That symptom does not prove the service is secure.

Disable the old service when the fix is unverified

  1. Turn off TUN first so the client does not depend on the virtual adapter while the service is removed.
  2. Use Uninstall Service in the client settings or the delete action beside the virtual adapter. Approve the administrator prompt. Do not manually delete an unfamiliar system file or bypass authorization by changing permissions.
  3. Restart Windows, open Services again and confirm that the relevant service did not return. If removal fails or you cannot identify the service, keep TUN off and ask an administrator to handle it.

Do not run a public PoC to “check” the vulnerability. The full build, service presence and service state are enough for this decision; a privilege-escalation test can create high-privilege side effects and damage evidence.

Restore service mode only with verified evidence

If you need TUN or service mode, obtain a maintainer-approved build and verify its complete string before replacing the old service. The advisory explicitly names v2.5.4+autobuild.0908.bbab52d as fixed; this guide does not automatically treat “v2.5.5 or newer” as proof that this GHSA is fixed.

After replacement, record the new build, confirm the service file was replaced and check its state before enabling TUN again. If you only need browser proxying, use a verified System Proxy setup that does not depend on the old service and make one real HTTPS request before deciding whether to restore TUN.

If you suspect an existing local compromise, stop sensitive work and contact an administrator or security team. Preserve only the minimum evidence: build string, service path and timeline. Do not publish subscription URLs, keys, complete logs or service files.

This guide runs no Windows device test, service uninstall, TUN, PoC, network scan or installer test. No exact-match real screenshot was confirmed, so old images and simulated UI are omitted.

Official sources and version scope

本文限定 Clash Verge Rev Windows service、Windows 10/11 x64。GHSA-99qg-xv7m-jf4v的受影响范围按官方安全公告记录为 <=2.5.4,公告明确列出的修复构建为 v2.5.4+autobuild.0908.bbab52;普通2.5.4或仅看到更高主版本号都不能在本文中自行推断为已修复。