PYSEC-2026-1320
D-Tale allows Remote Code Execution through the Custom Filter Input
Quick fix
PYSEC-2026-1320 — dtale: upgrade to the fixed version with the command below.
pip install --upgrade 'dtale>=3.16.1'Details
### Impact Users hosting D-Tale publicly can be vulnerable to remote code execution allowing attackers to run malicious code on the server.
### Patches Users should upgrade to version 3.16.1 where the `update-settings` endpoint blocks the ability for users to update the `enable_custom_filters` flag. You can find out more information on how to turn that flag on [here](https://github.com/man-group/dtale#custom-filter)
### Workarounds The only workaround for versions earlier than 3.16.1 is to only host D-Tale to trusted users.
### References See "Custom Filter" [documentation](https://github.com/man-group/dtale#custom-filter)
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://github.com/man-group/dtale/security/advisories/GHSA-832w-fhmw-w4f4[WEB]
- https://nvd.nist.gov/vuln/detail/CVE-2024-55890[ADVISORY]
- https://github.com/man-group/dtale/commit/1e26ed3ca12fe83812b90f12a2b3e5fb0b740f7a[WEB]
- https://github.com/man-group/dtale[PACKAGE]
- https://github.com/man-group/dtale#custom-filter[WEB]
- https://pypi.org/project/dtale[PACKAGE]
- https://github.com/advisories/GHSA-832w-fhmw-w4f4[ADVISORY]