Vulnerabilities in pkg:pypi/cloakbrowser
PACKAGECVE-2026-45727 is a HIGH path traversal vulnerability (CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')) affecting CloakBrowser libraries in the PyPI ecosystem. The issue involves unauthenticated path traversal via fingerprint parameter in cloakserve leads to arbitrary directory deletion. Remediation is available by upgrading affected packages to version 0.3.28.
pkg:pypi/cloakbrowser
Vulnerability advisories affecting package pkg:pypi/cloakbrowser. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-mf33-gv72-w2h5 | CVE-2026-45727 | HIGH | CloakBrowser: Unauthenticated path traversal via fingerprint parameter in cloakserve leads to arbitrary directory deletion |
CVE-2026-45727 at a Glance
How to Fix CVE-2026-45727
To remediate this vulnerability, upgrade all affected CloakBrowser dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install cloakbrowser>=0.3.28
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show cloakbrowser
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2026-45727, inspect your installed packages using pip:
pip show cloakbrowser
Analyze the terminal output to locate any version of CloakBrowser in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.3.28), your application is affected.
Note: The pip show cloakbrowser command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal'), where the product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory. In CloakBrowser, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-45727 Affected CloakBrowser Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
cloakbrowser
|
PyPI |
< 0.3.28
|
0.3.28
|
References
Frequently Asked Questions
What is CVE-2026-45727?
Which CloakBrowser versions are affected?
What version fixes CVE-2026-45727?
Is cloakbrowser affected?
What CWE is associated with CVE-2026-45727?
How can I check PyPI dependencies for CVE-2026-45727?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-mf33-gv72-w2h5",
"modified" : "2026-06-09T10:50:57Z",
"published" : "2026-05-18T17:50:21Z",
"aliases" : [ "CVE-2026-45727" ],
"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.\n\nAdditionally, `cloakserve` bound to `0.0.0.0` by default, making it network-exposed.\n\n### Impact\n\nAn attacker with network access to the cloakserve port can delete arbitrary directories accessible to the service user.\n\n### Patches\n\nFixed in v0.3.28.\n\n### Mitigations\n\n- Upgrade to v0.3.28 or later\n- Restrict network access to the cloakserve port",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "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"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "cloakbrowser"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.3.28"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 0.3.27"
}
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/CloakHQ/CloakBrowser/security/advisories/GHSA-mf33-gv72-w2h5"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-45727"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/CloakHQ/CloakBrowser"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-22" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2026-05-18T17:50:21Z",
"nvd_published_at" : "2026-06-01T19:16:53Z"
}
}