ADVISORIES

PyPA Advisory Database

PYSEC-2026-1320

D-Tale allows Remote Code Execution through the Custom Filter Input

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

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

Affected packages

EcosystemPackageAffected versions
PyPIdtale
All versions before 3.16.1 (fixed in 3.16.1)

References