Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2024-55890 Overview
CVE-2024-55890 affects D-Tale, a popular visualizer for pandas data structures maintained by Man Group. Versions prior to 3.16.1 expose the update-settings endpoint without proper validation of the enable_custom_filters flag. Attackers who reach a publicly hosted D-Tale instance can toggle this flag and then submit crafted custom filters that execute arbitrary code on the server. The project categorizes the weakness under CWE-79, though the practical impact is remote code execution against the hosting server. Version 3.16.1 blocks modification of the flag through the vulnerable endpoint.
Critical Impact
Unauthenticated network attackers can enable the custom filter feature and execute arbitrary Python code on servers running D-Tale versions earlier than 3.16.1.
Affected Products
- D-Tale versions prior to 3.16.1
- Publicly hosted D-Tale deployments reachable over the network
- Python environments where D-Tale is used to share pandas data interactively
Discovery Timeline
- 2024-12-13 - CVE-2024-55890 published to the National Vulnerability Database
- 2024-12-13 - GitHub Security Advisory GHSA-832w-fhmw-w4f4 published by the Man Group D-Tale maintainers
- 2026-06-17 - Last updated in the NVD database
Technical Details for CVE-2024-55890
Vulnerability Analysis
D-Tale offers a custom filter feature that evaluates user-supplied expressions against a pandas DataFrame. Access to this feature is gated by a per-dataset flag named enable_custom_filters, which defaults to False. The update-settings endpoint accepts arbitrary key/value pairs and merges them into the dataset settings. Before the fix, the endpoint did not exclude the enable_custom_filters key, so any client able to call the endpoint could enable custom filters at runtime. Once enabled, the attacker submits a query payload that the backend evaluates in Python, resulting in arbitrary code execution in the server process. The flaw is a configuration and access control weakness in a sensitive settings endpoint.
Root Cause
The root cause is missing input validation on a security-sensitive setting. The update-settings handler trusted the client to only modify presentation-level options and relied on administrators keeping enable_custom_filters disabled. Because the handler accepted the full settings dictionary without an allowlist, the protective default was bypassable by a single HTTP request.
Attack Vector
The attack is network-based, requires no authentication, and no user interaction when D-Tale is exposed publicly. An attacker sends a request to the update-settings endpoint setting enable_custom_filters to true, then issues a follow-up request containing a malicious query string that D-Tale evaluates server-side.
"""
updated_settings = get_json_arg(request, "settings", {})
+
+ # block users from manually updating 'enable_custom_filters'
+ if "enable_custom_filters" in updated_settings:
+ raise ValueError(
+ "Cannot alter the property 'enable_custom_filters' from this endpoint"
+ )
+
if not global_state.load_flag(data_id, "enable_custom_filters", False):
updated_settings.pop("query", None)
Source: D-Tale commit 1e26ed3. The patch rejects any request to update-settings that includes the enable_custom_filters key, forcing administrators to configure the flag through trusted mechanisms only.
Stop Remote Code Execution Before It Runs
Singularity™ Endpoint detects and blocks exploit attempts at machine speed, including zero-days and novel attack techniques.
Stop Exploit AttemptsDetection Methods for CVE-2024-55890
Indicators of Compromise
- HTTP POST requests to update-settings containing an enable_custom_filters key in the JSON settings payload.
- Follow-on requests that set a query parameter containing Python expressions, function calls, or references to __import__, os, or subprocess.
- D-Tale server processes spawning child processes such as sh, bash, python, or network utilities.
Detection Strategies
- Inspect reverse proxy and application logs for update-settings calls originating from untrusted sources or clients outside expected analyst ranges.
- Alert on unusual Python runtime behavior from the D-Tale service account, including outbound connections or file writes outside the data directory.
- Compare installed D-Tale version against 3.16.1 using software inventory data to identify exposed hosts.
Monitoring Recommendations
- Forward D-Tale web server access logs to a centralized analytics platform and build queries for the update-settings and custom-filter endpoints.
- Monitor for process lineage anomalies where the Python interpreter hosting D-Tale creates shell or network tooling children.
- Track EPSS movement for CVE-2024-55890, currently at 2.42% probability (84.08 percentile), as a prioritization signal for patch backlogs.
How to Mitigate CVE-2024-55890
Immediate Actions Required
- Upgrade D-Tale to version 3.16.1 or later across all hosts, including development and analyst sandboxes.
- Remove public network exposure of D-Tale instances and place them behind authenticated reverse proxies or VPNs.
- Audit historical access logs for prior calls to update-settings that modified enable_custom_filters or supplied a query value.
Patch Information
The fix is delivered in D-Tale 3.16.1 via commit 1e26ed3. The maintainers now reject any attempt to change enable_custom_filters through the update-settings endpoint. Review the GitHub Security Advisory GHSA-832w-fhmw-w4f4 and the custom filter documentation for configuration guidance.
Workarounds
- Restrict D-Tale access to trusted users only through network segmentation, SSO proxies, or IP allowlists until the upgrade is complete.
- Keep enable_custom_filters disabled in configuration and avoid starting D-Tale with the flag enabled.
- Terminate internet-facing D-Tale instances that cannot be upgraded or placed behind authentication.
# Upgrade D-Tale to the patched release
pip install --upgrade "dtale>=3.16.1"
# Verify the installed version
python -c "import dtale; print(dtale.__version__)"
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

