Home

Description

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.

PUBLISHED Reserved 2026-05-21 | Published 2026-05-27 | Updated 2026-05-28 | Assigner VulnCheck




HIGH: 8.7CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

HIGH: 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Problem types

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Product status

Default status
affected

Any version
affected

129fd407ffca49ee4ab853772c88d0c873e038dd (git)
unaffected

Credits

YU SUN finder

References

github.com/Avaiga/taipy/issues/2868 exploit

github.com/Avaiga/taipy/issues/2868 technical-description

github.com/Avaiga/taipy/pull/2871 issue-tracking

github.com/...ommit/129fd407ffca49ee4ab853772c88d0c873e038dd patch

www.vulncheck.com/...aversal-via-elementlibrary-get-resource third-party-advisory

cve.org (CVE-2026-48544)

nvd.nist.gov (CVE-2026-48544)

Download JSON