DataChain Vulnerable to Deserialization of Untrusted Data from Environment Variables
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 software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Python (PyPI) | datachain | < 0.34.2 | 0.34.2 |
References
- https://github.com/iterative/datachain/security/advisories/GHSA-6px8-mr29-cj4r
- https://nvd.nist.gov/vuln/detail/CVE-2025-61677
- https://github.com/iterative/datachain/pull/1358
- https://github.com/iterative/datachain/commit/914b95610620d50c8d9bee506ccbfa7d4d57fdc0
- https://github.com/iterative/datachain
- https://pypi.org/project/datachain
- https://github.com/advisories/GHSA-6px8-mr29-cj4r
- CVSS vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N- Weakness (CWE)
CWE-502- Platform
- Python (PyPI)
- Package
datachain- Disclosed
- 02.10.2025
- Updated
- 11.10.2026 13:19
Sources and licenses
OSV / GitHub Advisory Database - PYSEC-2026-1288 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-6px8-mr29-cj4r - CC BY 4.0
Vulnerability history: datachain
All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.
This is the only known vulnerability of this package.
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.