Advisory

GHSA-6px8-mr29-cj4r

Also known as: CVE-2025-61677, PYSEC-2026-1288

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: The source's own band: LOW

Dates

Published
2025-10-02 16:24 UTC
Modified
2026-07-07 17:57 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: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences