Advisory

PYSEC-2026-2420

Also known as: CVE-2026-45727, GHSA-mf33-gv72-w2h5

Summary

CloakBrowser: Unauthenticated path traversal via fingerprint parameter in cloakserve leads to arbitrary directory deletion

Details

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

Severity

Not rated by the source.

Dates

Published
2026-07-13 15:19 UTC
Modified
2026-07-13 16:31 UTC

Affected packages and fixes

cloakbrowser

PyPI · All systems

Affected

  • introduced 0, fixed 0.3.28 (ecosystem)

Fixed versions

0.3.28

Fix

  • Fixed version 0.3.28
    pip install --upgrade cloakbrowser==0.3.28

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences