Submit #785228: pytries datrie 0.8.3 Deserializationinfo

Titlepytries datrie 0.8.3 Deserialization
DescriptionThe `datrie.Trie` class uses `pickle.load()` to deserialize internal data when loading trie files via `Trie.load()`, `Trie.read()`, and `Trie.__setstate__()`. A crafted `.trie` file can embed a malicious pickle payload that executes arbitrary Python code when the file is loaded. Users have no indication that loading a `.trie` file involves code execution, as the unsafe deserialization is hidden behind a data-loading API. The `datrie.BaseTrie` class is not affected as it does not use pickle. Any application that loads `.trie` files from untrusted sources (user uploads, shared storage, downloaded datasets) is vulnerable to arbitrary code execution.
Source⚠️ https://github.com/dhabaleshwar/Open-Source-Vulnerabilities/blob/main/dartie_code_exec.md
User
 dhabaleshwar (UID 58737)
Submission03/21/2026 18:41 (4 months ago)
Moderation04/06/2026 09:35 (16 days later)
StatusAccepted
VulDB entry355483 [pytries datrie up to 0.8.3 trie File src/datrie.pyx Trie.load/Trie.read/Trie.__setstate__ deserialization]
Points20

Want to know what is going to be exploited?

We predict KEV entries!