PYSEC-2026-3081

See a problem?
Import Source
https://github.com/pypa/advisory-database/blob/main/vulns/taipy/PYSEC-2026-3081.yaml
JSON Data
https://api.osv.dev/v1/vulns/PYSEC-2026-3081
Aliases
Published
2026-07-13T15:19:12.482406Z
Modified
2026-07-13T16:32:44.938853320Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
  • 8.7 (High) CVSS_V4 - 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 CVSS Calculator
Summary
Taipy contains a path traversal vulnerability
Details

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

Affected packages

PyPI / taipy

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Last affected
4.1.1

Affected versions

1.*
1.0.0
1.1.0
2.*
2.0.0
2.1.0
2.2.0
2.3.0
2.3.1
2.4.0
3.*
3.0.0
3.1.0
3.1.1
4.*
4.0.0
4.0.1
4.0.2
4.0.3
4.1.0
4.1.1

Database specific

source
"https://github.com/pypa/advisory-database/blob/main/vulns/taipy/PYSEC-2026-3081.yaml"