CVE-2024-8862: D-Tale Command Execution Vulnerability

dtale Updated 07 Jul 2026

Summary

07/07/2026
Yes i
Moderate
7.3

CVE-2024-8862: D-Tale Command Execution Vulnerability. Affects dtale versions < 3.14.1. Fixed in 3.14.1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

D-Tale is an open-source tool that combines a Flask back-end with a React front-end, providing users with an intuitive interface to view and analyze Pandas data structures. It allows data scientists and analysts to interact with their data seamlessly, offering features like data visualization and manipulation. However, due to its architecture, it is susceptible to command execution vulnerabilities if proper input validation is not enforced.

Vulnerability Detail

The vulnerability arises from the way D-Tale handles query parameters in the route @dtale.route("/chart-data/<data_id>"). The parameters are directly passed to the run_query function without any sanitization or validation. This oversight allows an attacker to craft malicious queries that can be executed by the df.query method, leading to potential command execution on the server. The engine used is Python, which can execute arbitrary code, making this a critical security risk.

How To Fix

Latest published version: 3.22.0 as of 23 Oct 2026

pip install --upgrade "dtale==3.22.0"

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

3.14.1

This is the first release that contains the fix.

pip install --upgrade "dtale==3.14.1"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, you can implement input validation and sanitization for the query parameters before they are passed to the run_query function. This can be done by using a whitelist of acceptable query formats or by escaping potentially dangerous characters.

Conclusion

The D-Tale command execution vulnerability (CVE-2024-8862) poses a significant risk due to improper handling of query parameters. It is crucial to update to the patched version 3.14.1 or later to safeguard your application. Additionally, consider using Vulert for ongoing monitoring of vulnerabilities in your software dependencies.

See every vulnerability recorded for dtale →

Share this vulnerability

FAQ

The CVSS score of this vulnerability is 7.3, indicating a high severity level.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

If exploited, this vulnerability could allow an attacker to execute arbitrary commands on the server, potentially leading to data breaches or system compromise.

Yes, Vulert can monitor and alert you in real-time for open-source vulnerabilities in your software using just the Pipfile.lock.

If you cannot update the package right away, implement input validation and sanitization as a temporary measure to mitigate the risk.

Related vulnerabilities

Recent vulnerabilities recorded for dtale.

How To Fix

Latest published version: 3.22.0 as of 23 Oct 2026

pip install --upgrade "dtale==3.22.0"

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

3.14.1

This is the first release that contains the fix.

pip install --upgrade "dtale==3.14.1"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback