CVE-2026-48544: Taipy contains a path traversal vulnerability
Taipy 4.1.1, fixed in commit 129fd40, contains a path traversal vulnerability in the ElementLibrary.getresource() method in taipy/gui/extension/library.py that allows unauthenticated attackers to escape the intended module directory by exploiting an incomplete path containment check using str.startswith() without a trailing path separator.
Published May 27, 2026 · Updated Jul 1, 2026
Affected packages
taipy
- Ecosystem
- PyPI
- Affected
- <= 4.1.1
- Fixed in
- No patched version yet
- Check
pip show taipy
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Taipy 4.1.1, fixed in commit 129fd40, contains a path traversal vulnerability in the ElementLibrary.get_resource() method in taipy/gui/extension/library.py that allows unauthenticated attackers to escape the intended module directory by exploiting an incomplete path containment check using str.startswith() without a trailing path separator. Attackers can send crafted GET requests with path traversal segments targeting a prefix-matching sibling directory on disk, bypassing the directory containment check because Flask's path converter and Werkzeug's WSGI layer preserve the traversal segments while the resolved path still satisfies the flawed startswith comparison, enabling unauthorized file access outside the intended library directory.
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-48544
- https://github.com/Avaiga/taipy/issues/2868
- https://github.com/Avaiga/taipy/pull/2871
- https://github.com/Avaiga/taipy/commit/129fd407ffca49ee4ab853772c88d0c873e038dd
- https://www.vulncheck.com/advisories/taipy-path-traversal-via-elementlibrary-get-resource
- https://github.com/advisories/GHSA-28gh-q3gw-pvx8
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
