CVE-2026-45727 CloakBrowser: Unauthenticated path traversal via fingerprint parameter in cloakserve leads to arbitrary directory deletion
Unauthenticated attackers can delete arbitrary directories via path traversal in the fingerprint parameter of CloakBrowser's cloakserve component.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-45727?
CVE-2026-45727 is a high-severity path traversal vulnerability in CloakHQ CloakBrowser, published on 1 Jun 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
CloakBrowser is a tool to bypass bot detection tests. Prior to version 0.3.28, the cloakserve CDP multiplexer uses the user-supplied fingerprint query parameter directly as a filesystem path component when creating Chrome profile directories. An unauthenticated attacker who can reach the cloakserve port can supply a crafted fingerprint value containing path traversal sequences to resolve user_data_dir outside the configured data_dir. When Chrome fails to start or the process is cleaned up, shutil.rmtree() deletes the traversed path, resulting in arbitrary directory deletion. Additionally, cloakserve bound to 0.0.0.0 by default, making it network-exposed. This issue has been patched in version 0.3.28.
Weakness: CWE-22
Which versions are affected by CVE-2026-45727?
3 open source packages ship an affected version, including cloakbrowser.
| Package | Affected | Fixed in |
|---|---|---|
cloakbrowser PyPI | All versions | 0.3.28 |
cloakbrowser PyPI | All versions | 0.3.28 |
cloakbrowser PyPI | All versions | 0.3.28 |
How do I fix CVE-2026-45727?
Upgrade cloakbrowser to 0.3.28 or later.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2026-45727 being exploited?
There is no known exploitation of CVE-2026-45727 in the wild and no public exploit code.
Sources
Also known as GHSA-mf33-gv72-w2h5, PYSEC-2026-2420.