| Title | vvbbnn00 (https://github.com/vvbbnn00) WARP-Clash-API latest (main/master branch) CWE-362 (Race Condition / TOCTOU - non-atomic check-then-act wit |
|---|
| Description | The background saveAccount job (run every 120s) reads the account, does a network round-trip to refresh usage/quota, and writes the full object back — including a stale in-memory private_key if a concurrent web-worker reset_key call updated the on-disk key during the round-trip, silently reverting legitimate key rotations and breaking WireGuard connectivity for subsequently generated subscriptions.
|
|---|
| Source | ⚠️ https://gist.github.com/Galaxync/d09928879331ef9c7e2bfccd08c7288b |
|---|
| User | Galaxyn (UID 98388) |
|---|
| Submission | 07/19/2026 03:54 (2 months ago) |
|---|
| Moderation | 09/12/2026 10:47 (2 months later) |
|---|
| Status | Accepted |
|---|
| VulDB entry | 403094 [vvbbnn00 WARP-Clash-API up to c7bf2360073959861219b422e51ae86411051b46 Save Account Job race condition] |
|---|
| Points | 20 |
|---|