CVE-2026-48544
Taipy 4.1.1 Path Traversal via ElementLibrary.get_resource()
- State
- Published
- Severity
- 8.7 High
- Published
- May 27, 2026
- Updated
- Oct 8, 2026
- Reserved
- May 21, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 8.7 High | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N | VulnCheck |
| 3.1 | 7.5 High | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N | VulnCheck |
Weaknesses
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Affected Products
| Product | Versions |
|---|---|
taipyAvaiga |
|
References
- https://github.com/Avaiga/taipy/issues/2868issue-tracking
- https://github.com/Avaiga/taipy/pull/2871issue-tracking
- https://github.com/Avaiga/taipy/commit/129fd407ffca49ee4ab853772c88d0c873e038ddpatch
- https://www.vulncheck.com/advisories/taipy-path-traversal-via-elementlibrary-get-resourcethird-party-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.