8.8high
CloakBrowser: Unauthenticated path traversal via fingerprint parameter in cloakserve leads to arbitrary directory deletion
- Severity
- 8.8high CVSS:4.0 by GitHub_M
- Exploit likelihood
- 0.47% (higher than 42% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-mf33-gv72-w2h5PYSEC-2026-2420
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| CloakHQ CloakBrowser | < 0.3.28 | CVE List |
| cloakbrowser (PyPI) | before 0.3.28 | GitHub Advisory Database, PyPA Advisory Database |
All scores
| GitHub_M | 8.8high CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N |
| GitHub | high CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N |
| PyPA Advisory Database | Not scored CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
What each source says
CVE List
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.
GitHub Advisory Database
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.
Impact
An attacker with network access to the cloakserve port can delete arbitrary directories accessible to the service user.
Patches
Fixed in v0.3.28.
Mitigations
- Upgrade to v0.3.28 or later
- Restrict network access to the cloakserve port
NVD (es)
CloakBrowser es una herramienta para eludir las pruebas de detección de bots. Antes de la versión 0.3.28, el multiplexor CDP de cloakserve utiliza el parámetro de consulta fingerprint proporcionado por el usuario directamente como un componente de ruta del sistema de archivos al crear directorios de perfil de Chrome. Un atacante no autenticado que puede alcanzar el puerto de cloakserve puede proporcionar un valor de fingerprint manipulado que contiene secuencias de salto de ruta para resolver user_data_dir fuera del data_dir configurado. Cuando Chrome no se inicia o el proceso se limpia, shutil.rmtree() elimina la ruta recorrida, lo que resulta en la eliminación arbitraria de directorios. Además, cloakserve se enlaza a 0.0.0.0 por defecto, lo que lo hace expuesto a la red. Este problema ha sido parcheado en la versión 0.3.28.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-45727 changed 2026-06-01 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-mf33-gv72-w2h5 changed 2026-07-13 | CC-BY-4.0 |
| NVD | CVE-2026-45727 changed 2026-07-22 | Public domain |
| PyPA Advisory Database | PYSEC-2026-2420 changed 2026-07-13 | CC-BY-4.0 |