CVE-2026-48544: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in Avaiga taipy
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.
AI Analysis
Technical Summary
CVE-2026-48544 is a path traversal vulnerability in Avaiga's Taipy 4.1.1, specifically in the ElementLibrary.get_resource() method located in taipy/gui/extension/library.py. The vulnerability arises from an incomplete path containment check that uses str.startswith() without a trailing path separator, allowing attackers to craft GET requests with path traversal sequences that bypass the directory restriction. Flask's path converter and Werkzeug's WSGI layer preserve these traversal segments, causing the flawed startswith check to incorrectly validate paths that actually point outside the intended directory. This enables unauthorized file access outside the module directory.
Potential Impact
An unauthenticated attacker can exploit this vulnerability to access files outside the intended restricted directory, potentially exposing sensitive information or system files. The vulnerability has a high severity score (CVSS 8.7) due to its network exploitable nature without any required privileges or user interaction and the high impact on confidentiality.
Mitigation Recommendations
A fix for this vulnerability is available and was introduced after version 4.1.1 in commit 129fd40. Users should upgrade to a version that includes this fix to prevent exploitation. Until patched, avoid exposing the vulnerable endpoint to untrusted networks or users.
CVE-2026-48544: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in Avaiga taipy
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 v4.0
Score 8.7high
Affected software
Avaiga
taipy
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-48544 is a path traversal vulnerability in Avaiga's Taipy 4.1.1, specifically in the ElementLibrary.get_resource() method located in taipy/gui/extension/library.py. The vulnerability arises from an incomplete path containment check that uses str.startswith() without a trailing path separator, allowing attackers to craft GET requests with path traversal sequences that bypass the directory restriction. Flask's path converter and Werkzeug's WSGI layer preserve these traversal segments, causing the flawed startswith check to incorrectly validate paths that actually point outside the intended directory. This enables unauthorized file access outside the module directory.
Potential Impact
An unauthenticated attacker can exploit this vulnerability to access files outside the intended restricted directory, potentially exposing sensitive information or system files. The vulnerability has a high severity score (CVSS 8.7) due to its network exploitable nature without any required privileges or user interaction and the high impact on confidentiality.
Mitigation Recommendations
A fix for this vulnerability is available and was introduced after version 4.1.1 in commit 129fd40. Users should upgrade to a version that includes this fix to prevent exploitation. Until patched, avoid exposing the vulnerable endpoint to untrusted networks or users.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-05-21T18:34:46.417Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6a170b58e29bf47b50c9071e
Added to database: 05/27/2026, 15:18:48 UTC
Last enriched: 08/15/2026, 13:45:17 UTC
Last updated: 09/12/2026, 22:01:34 UTC
Views: 56
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.