ADVISORIES

PyPA Advisory Database

PYSEC-2026-1288

DataChain Vulnerable to Deserialization of Untrusted Data from Environment Variables

Details

The DataChain library reads serialized objects from environment variables (such as DATACHAIN__METASTORE and DATACHAIN__WAREHOUSE) in the loader.py module. An attacker with the ability to set these environment variables can trigger code execution when the application loads.

Affected packages

EcosystemPackageAffected versions
PyPIdatachain
All versions before 0.34.2 (fixed in 0.34.2)

References