Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessLocate Taipy extension library resource URL
-
DeliverySend crafted GET with traversal segments
-
ExploitBypass startswith() containment check
-
ExecutionResolve into prefix-matching sibling directory
-
ImpactDisclose files outside library directory
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that the target run a Taipy GUI app (versions up to and including 4.1.1) exposing the extension library resource route handled by ElementLibrary.get_resource(), and that a directory exists on disk whose name shares the string prefix of the legitimate library base directory (e.g. base 'mylib' and sibling 'mylib_data') - this prefix-matching sibling is the specific condition the flawed str.startswith() check fails to block. No authentication, privileges, or user interaction are needed (PR:N/UI:N), and the attack is network-reachable with low complexity. Limiting factors that reduce realistic risk: impact is confidentiality-only file read (no write or RCE), the traversal lands in a prefix-matching sibling rather than arbitrary absolute paths, and exploitation depends on the on-disk directory layout adjacent to the registered library. |
| Impact | The CVSS 4.0 base score is 8.7 with vector AV:N/AC:L/AT:N/PR:N/UI:N, meaning remote, low-complexity, unauthenticated exploitation requiring no user interaction - a genuinely low bar to reach the vulnerable endpoint. However, the impact metrics are confidentiality-only (VC:H, VI:N, VA:N): this is a file-read disclosure flaw, not remote code execution, which tempers the real-world severity relative to the high score. Exploitation maturity is undefined (E:X) and no EPSS probability was provided in the input, so likelihood of widespread exploitation cannot be quantified here. There is no CISA KEV listing and no public proof-of-concept identified, so this is not confirmed active exploitation. A practical limiting factor is that the bug only yields traversal into a directory whose name shares the string prefix of the legitimate library directory, rather than arbitrary absolute-path access, which narrows what an attacker can reach. Net assessment: a real, easily reachable information-disclosure issue worth prompt patching, but lower priority than a network unauthenticated RCE; the absence of EPSS/KEV/POC data should be noted rather than treated as proof of low risk. |
| Exploit ScenarioDerived | An attacker who can reach a Taipy GUI application enumerates the extension library resource URL and issues a crafted GET request whose name parameter contains traversal segments pointing at a sibling directory whose name begins with the same string as the legitimate library directory. Because the startswith() check passes, the server returns files from outside the intended library folder, disclosing configuration or other sensitive files. No authentication, user interaction, or special privileges are required (AV:N/AC:L/PR:N/UI:N), though no public PoC was identified in the available data. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 27, 2026
Unauthorized file disclosure in Taipy 4.1.1 lets remote unauthenticated attackers read files outside an extension library's intended directory through the GUI ElementLibrary.get_resource() resource handler. The containment check used str.startswith() without a trailing separator, so a crafted request with traversal segments can resolve into a prefix-matching sibling directory on disk while still passing the flawed check. Impact is confined to confidentiality (file read), with no public exploit identified at time of analysis and no CISA KEV listing.
RemediationAI
Upstream fix available (PR/commit); released patched version not independently confirmed - apply commit 129fd407ffca49ee4ab853772c88d0c873e038dd (Avaiga/taipy PR #2871), which replaces the unsafe str.startswith() containment check with pathlib's file.is_relative_to(base). Until a packaged release containing this commit is confirmed, upgrade from source to a build that includes it, or backport the one-line change to the get_resource() check in taipy/gui/extension/library.py. As compensating controls where patching is not yet possible: avoid registering custom extension libraries in directories that share a name prefix with adjacent sensitive directories (renaming removes the prefix-match condition the attack depends on), and place the Taipy app behind a reverse proxy or WAF rule that normalizes and rejects URL paths containing encoded or literal ../ traversal segments before they reach the resource endpoint - noting that overly aggressive path normalization can break legitimately encoded resource names. Refer to the vendor advisory at https://www.vulncheck.com/advisories/taipy-path-traversal-via-elementlibrary-get-resource and issue #2868 for details.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in pypi
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Taipy is a Python framework for building data and AI web applications; its GUI layer supports custom extension libraries that ship static assets served at runtime by ElementLibrary.get_resource() in taipy/gui/extension/library.py. That method computed a target file path from the requested name and validated it stayed within the library's base directory using str(file).startswith(str(base)). Because the comparison lacks a trailing path separator, it is a pure string-prefix test, so a sibling directory such as /app/lib_secret satisfies startswith('/app/lib'). This is a classic CWE-22 improper limitation of a pathname (path traversal): Flask's path converter and Werkzeug's WSGI layer preserve the encoded traversal segments end-to-end, while the resolved path still passes the prefix string match. The fix (commit 129fd40, PR #2871) replaces the string comparison with pathlib's file.is_relative_to(base), which performs a proper component-aware containment check.
Know when Python gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Primary rating from Vendor (vulncheck) · only source for this CVE.
CVSS VectorVendor: vulncheck
DescriptionCVE.org
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.
Blast Radius
ecosystem impact- 2 pypi packages depend on taipy (2 direct, 0 indirect)
Ecosystem-wide dependent count for version 4.1.1.
Executive ViewAI
Taipy 4.1.1 exposes a remote unauthenticated file disclosure vulnerability in its GUI ElementLibrary resource handler, allowing attackers to read files outside intended directories without authentication or special privileges. The defect stems from incomplete path validation that can be bypassed with directory traversal sequences, potentially exposing sensitive application configurations, source code, and embedded credentials. With no vendor patch currently available, organizations using Taipy 4.1.1 must implement interim controls to prevent unauthorized data access.
Restrict network access to Taipy applications via firewall rules; deploy WAF with path traversal detection; disable ElementLibrary.get_resource() functionality if feasible; implement filesystem-level access controls to limit sensitive file exposure; enable application-level logging and alerting for abnormal file access patterns.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t
BentoML version 1.4.2 and earlier contains an unauthenticated remote code execution vulnerability through insecure deser
pgAdmin 4 contains critical remote code execution vulnerabilities in the Query Tool download and Cloud Deployment endpoi
The renderLocalView function in render/views.py in graphite-web in Graphite 0.9.5 through 0.9.10 uses the pickle Python
BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Rated critica
OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph
pyLoad download manager version prior to 0.5.0b3.dev77 exposes the Flask SECRET_KEY through an unauthenticated endpoint.
Langflow (a visual LLM pipeline builder) contains a critical unauthenticated code execution vulnerability (CVE-2026-3301
In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and conse
Unauthenticated remote code execution affects Kestra OSS (the open-source event-driven orchestration platform) prior to
Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/
pyLoad is the free and open-source Download Manager written in pure Python. Rated medium severity (CVSS 5.3), this vulne
EUVD-2026-32531
GHSA-28gh-q3gw-pvx8
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB