9.9critical
zrok Python ProxyShare can be used as an SSRF proxy through absolute URL paths
- Severity
- 9.9critical CVSS:4.0 by GitHub_M
- Exploit likelihood
- 0.36% (higher than 31% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-jh67-hwqw-m5r7PYSEC-2026-577
Description
zrok is software for sharing web services, files, and network resources. Prior to 2.0.3, zrok's Python SDK ProxyShare Flask proxy route accepts an absolute URL in the request path and passes it to urllib.parse.urljoin, allowing the requested path to replace the configured target host and causing requests.request to return a server-side response from an attacker-chosen URL. This issue is fixed in version 2.0.3.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| openziti zrok | >= 0.4.47, < 2.0.3 | CVE List |
| zrok (PyPI) | from 0.4.47 up to 1.1.11 | GitHub Advisory Database, PyPA Advisory Database |
| netfoundry zrok | from 0.4.47 before 2.0.3 | NVD |
All scores
| GitHub_M | 9.9critical CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:H/SI:H/SA:L |
| GitHub | critical CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:H/SI:H/SA:L |
| NVD | 9.1critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| PyPA Advisory Database | Not scored CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:H/SI:H/SA:L |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.
What each source says
CVE List
zrok is software for sharing web services, files, and network resources. Prior to 2.0.3, zrok's Python SDK ProxyShare Flask proxy route accepts an absolute URL in the request path and passes it to urllib.parse.urljoin, allowing the requested path to replace the configured target host and causing requests.request to return a server-side response from an attacker-chosen URL. This issue is fixed in version 2.0.3.
GitHub Advisory Database
Summary
Alice exposes a Python SDK ProxyShare with a fixed target URL. Bob sends a request to the share with an absolute URL in the path. The Flask handler passes that path to urllib.parse.urljoin, which replaces Alice's configured target host with Bob's host and returns the server-side response to Bob.
Details
The Python SDK proxy route accepts every path under the share:
@app.route('/', defaults={'path': ''}, methods=['GET', 'POST', 'PUT', 'DELETE', 'PATCH', 'OPTIONS'])
@app.route('/<path:path>', methods=['GET', 'POST', 'PUT', 'DELETE', 'PATCH', 'OPTIONS'])
def proxy(path):
It constructs the outbound URL with urljoin and then sends the request:
url = urllib.parse.urljoin(self.target, path)
resp = requests.request(
method=request.method,
url=url,
headers={key: value for (key, value) in request.headers
if key.lower() not in HOP_BY_HOP_HEADERS},
data=request.get_data(),
cookies=request.cookies,
allow_redirects=False,
stream=True,
verify=self.verify_ssl
)
When path is [http://127.0.0.1:19190/metadata](http://127.0.0.1:19190/metadata%60), urljoin(self.target, path) returns [http://127.0.0.1:19190/metadata](http://127.0.0.1:19190/metadata%60). The proxy sends the request to Bob's chosen URL rather than Alice's target.
NVD (es)
zrok es un software para compartir servicios web, archivos y recursos de red. Antes de la versión 2.0.3, la ruta de proxy ProxyShare Flask del SDK de Python de zrok acepta una URL absoluta en la ruta de la solicitud y la pasa a urllib.parse.urljoin, permitiendo que la ruta solicitada reemplace el host de destino configurado y haciendo que requests.request devuelva una respuesta del lado del servidor desde una URL elegida por el atacante. Este problema se ha solucionado en la versión 2.0.3.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-45568 changed 2026-07-17 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-jh67-hwqw-m5r7 changed 2026-06-29 | CC-BY-4.0 |
| NVD | CVE-2026-45568 changed 2026-10-24 | Public domain |
| PyPA Advisory Database | PYSEC-2026-577 changed 2026-07-01 | CC-BY-4.0 |