Advisory

PYSEC-2026-1288

Also known as: CVE-2025-61677, GHSA-6px8-mr29-cj4r

Summary

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.

Severity

Low Basis: CVSS v3 score 2.5, vector CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N

Dates

Published
2026-07-07 16:03 UTC
Modified
2026-07-07 17:47 UTC

Affected packages and fixes

datachain

PyPI · All systems

Affected

  • introduced 0, fixed 0.34.2 (ecosystem)

Fixed versions

0.34.2

Fix

  • Fixed version 0.34.2
    pip install --upgrade datachain==0.34.2

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences