CVE-2026-48544
Deferred Deferred - Pending Action
Path Traversal in Taipy GUI ElementLibrary

Publication date: 2026-05-27

Last updated on: 2026-05-28

Assigner: VulnCheck

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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-05-27
Last Modified
2026-05-28
Generated
2026-06-17
AI Q&A
2026-05-27
EPSS Evaluated
2026-06-15
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
taipy taipy 4.1.1
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-22 The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Detection Guidance

This vulnerability can be detected by monitoring for crafted GET requests that include path traversal segments such as "../" targeting sibling directories with similar prefixes to the intended library directory.

For example, you can inspect web server logs or network traffic for requests matching patterns like:

  • GET /taipy-extension/<library_name>/../<prefix_matching_sibling>/<file>

Commands to detect such attempts could include using grep or similar tools on access logs to find suspicious traversal patterns:

  • grep -E "GET .*\.\./" /path/to/access.log
  • tcpdump or Wireshark filters to capture HTTP GET requests containing "../" sequences.

Additionally, checking for unauthorized file access outside the intended directories by reviewing application logs or filesystem access logs may help detect exploitation attempts.

Executive Summary

This vulnerability exists in Taipy version 4.1.1 within the ElementLibrary.get_resource() method. It is a path traversal flaw that allows unauthenticated attackers to access files outside the intended module directory. The issue arises because the method uses an incomplete path containment check with str.startswith() that does not consider a trailing path separator. Attackers can craft GET requests containing path traversal segments that target sibling directories on disk. Due to how Flask's path converter and Werkzeug's WSGI layer preserve these traversal segments, the flawed startswith check is bypassed, enabling unauthorized file access beyond the library directory.

Impact Analysis

This vulnerability can lead to unauthorized access to files outside the intended directory, potentially exposing sensitive information or configuration files. Since the attack requires no authentication, it poses a high risk of data leakage or information disclosure. The CVSS v3.1 score of 7.5 indicates a high severity impact on confidentiality without affecting integrity or availability.

Mitigation Strategies

The immediate mitigation step is to update Taipy to a version that includes the fix for this vulnerability, specifically versions where the commit 129fd40 has been applied (e.g., 4.1.1 patched or later).

The fix replaces the insecure string prefix check with a proper path containment check using Python's Path.is_relative_to() method, preventing path traversal attacks.

Until the update can be applied, consider implementing network-level protections such as blocking suspicious requests containing path traversal sequences (e.g., "../") via web application firewalls or reverse proxies.

Also, review and restrict file system permissions to limit access to sensitive directories that could be targeted by such traversal attempts.

Compliance Impact

The vulnerability allows unauthenticated attackers to perform path traversal and access unauthorized files outside the intended directory. This unauthorized file access could potentially lead to exposure of sensitive or personal data.

Such unauthorized access and potential data exposure may impact compliance with data protection regulations and standards like GDPR and HIPAA, which require strict controls on access to sensitive information and protection against unauthorized disclosure.

However, the provided information does not specify exact compliance impacts or whether any regulated data is affected.

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-48544. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart