CVE-2024-8862: D-Tale Command Execution Vulnerability
D-Tale is the combination of a Flask back-end and a React front-end to bring you an easy way to view & analyze Pandas data structures. In dtale\views.py, under the route @dtale.route("/chart-data/ "), the query parameters from the request are directly passed into runquery for execution. And the runquery function calls proceed without performing any processing or sanitization of the query parameter.
Published Sep 16, 2024 · Updated Sep 20, 2024
Affected packages
dtale
- Ecosystem
- PyPI
- Affected
- < 3.14.1
- Fixed in
- 3.14.1
- Check
pip show dtale
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
D-Tale is the combination of a Flask back-end and a React front-end to bring you an easy way to view & analyze Pandas data structures. In dtale\views.py, under the route @dtale.route("/chart-data/"), the query parameters from the request are directly passed into run_query for execution. And the run_query function calls proceed without performing any processing or sanitization of the query parameter. As a result, the query is directly used in the df.query method for data retrieval. Tthe engine used is python, which allows executing the query expression ans leading to a command execution vulnerability.
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-8862
- https://rumbling-slice-eb0.notion.site/Unauthenticated-Remote-Command-Execution-via-Panda-df-query-9dc40f0477ee4b65806de7921876c222?pvs=4
- https://vuldb.com/?ctiid.277499
- https://vuldb.com/?id.277499
- https://vuldb.com/?submit.403200
- https://github.com/man-group/dtale/commit/b6e30969390520d1400b55acbb13e5487b8472e8
- https://github.com/advisories/GHSA-fg5m-m723-7mv6
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More PyPI vulnerabilities
All PyPI entriesCVE-2026-35052
D-Tale: Remote Code Execution through redis/shelf storage
medium5.3Apr 3, 2026CVE-2026-27194
D-Tale affected by Remote Code Execution through the /save-column-filter endpoint
high8.1Feb 19, 2026CVE-2024-55890
D-Tale allows Remote Code Execution through the Custom Filter Input
medium6.9Dec 13, 2024CVE-2024-45595
D-Tale vulnerable to Remote Code Execution through the Query input on Chart Builder
medium6.1Sep 10, 2024CVE-2024-3408
Authentication bypass in dtale
high9.8No fixJun 6, 2024CVE-2024-21642
D-Tale server-side request forgery through Web uploads
high7.5Jan 5, 2024
