{"id":"CVE-2026-45568","aliases":["CVE-2026-45568","GHSA-jh67-hwqw-m5r7","PYSEC-2026-577"],"related":[],"kind":"vulnerability","state":"published","title":"zrok Python ProxyShare can be used as an SSRF proxy through absolute URL paths","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"## Summary\n\nAlice 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.\n\n## Details\n\nThe Python SDK proxy route accepts every path under the share:\n\n```python\n@app.route('/', defaults={'path': ''}, methods=['GET', 'POST', 'PUT', 'DELETE', 'PATCH', 'OPTIONS'])\n@app.route('/<path:path>', methods=['GET', 'POST', 'PUT', 'DELETE', 'PATCH', 'OPTIONS'])\ndef proxy(path):\n```\n\nIt constructs the outbound URL with `urljoin` and then sends the request:\n\n```python\nurl = urllib.parse.urljoin(self.target, path)\nresp = requests.request(\n    method=request.method,\n    url=url,\n    headers={key: value for (key, value) in request.headers\n             if key.lower() not in HOP_BY_HOP_HEADERS},\n    data=request.get_data(),\n    cookies=request.cookies,\n    allow_redirects=False,\n    stream=True,\n    verify=self.verify_ssl\n)\n```\n\nWhen `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.","format":"markdown","source":"ghsa"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2026-05-19T15:16:08.000Z","modified":"2026-10-24T20:10:00.137Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"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","score":9.9,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"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","score":9.9,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","score":9.1,"rating":"CRITICAL"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:4.0","vector":"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"}],"cwes":["CWE-22"],"affected":[{"ranges":[{"version":">= 0.4.47, < 2.0.3","status":"affected"}],"vendor":"openziti","product":"zrok","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0.4.47","status":"affected","lastAffected":"1.1.11"}],"ecosystem":"PyPI","package":"zrok","purl":"pkg:pypi/zrok","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"0.4.47","fixed":"2.0.3"}],"vendor":"netfoundry","product":"zrok","cpe":"cpe:2.3:a:netfoundry:zrok:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0.4.47","status":"affected","lastAffected":"1.1.11"}],"ecosystem":"PyPI","package":"zrok","purl":"pkg:pypi/zrok","source":"pysec"}],"references":[{"url":"https://github.com/openziti/zrok/security/advisories/GHSA-jh67-hwqw-m5r7","tags":["vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/openziti/zrok/commit/7c1dc3ecd1c89d8cd2e845a72c3878bd2d31b4fe","tags":["patch","x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/openziti/zrok/releases/tag/v2.0.3","tags":["release-notes","x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/openziti/zrok","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://pypi.org/project/zrok","tags":["package"],"sources":["pysec"]},{"url":"https://github.com/advisories/GHSA-jh67-hwqw-m5r7","tags":["advisory"],"sources":["pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-45568","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"total","date":"2026-07-17T14:02:39.310Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-45568","url":"https://www.cve.org/CVERecord?id=CVE-2026-45568","licence":"CVE Terms of Use","modified":"2026-07-17T14:02:59.013Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-jh67-hwqw-m5r7","url":"https://github.com/advisories/GHSA-jh67-hwqw-m5r7","licence":"CC-BY-4.0","modified":"2026-06-29T12:26:20.810Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-45568","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-45568","licence":"Public domain","modified":"2026-10-24T20:10:00.137Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-577","url":"https://osv.dev/vulnerability/PYSEC-2026-577","licence":"CC-BY-4.0","modified":"2026-07-01T20:23:12.283Z"}],"updatedAt":"2026-11-25T22:59:28.403Z","epss":{"score":0.00361,"percentile":0.31876,"date":"2026-12-01T12:00:22.000Z"}}