# CVE-2025-61677: DataChain: Deserialization of Untrusted Data from Environment Variables

- Severity: Low 2.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 6% of CVEs (2026-12-02)
- Published: 2025-10-02T16:24:46.000Z
- Modified: 2026-10-08T22:10:00.563Z
- Also known as: GHSA-6px8-mr29-cj4r, PYSEC-2026-1288
- Weaknesses: CWE-502
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

DataChain is a Python-based AI-data warehouse for transforming and analyzing unstructured data. Versions 0.34.1 and below allow for deseriaization of untrusted data because of the way 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. This issue is fixed in version 0.34.2.

(As written by CVE List.)

## Affected

- iterative datachain: < 0.34.2
- datachain (PyPI): before 0.34.2

## Every score

- GitHub_M: CVSS:3.1 2.5 Low `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N`
- GitHub: CVSS:3.1 2.5 Low `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N`
- PyPA Advisory Database: CVSS:3.1 2.5 Low `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N`

## References

- <https://github.com/iterative/datachain/security/advisories/GHSA-6px8-mr29-cj4r> (web)
- <https://github.com/iterative/datachain/pull/1358> (web)
- <https://github.com/iterative/datachain/commit/914b95610620d50c8d9bee506ccbfa7d4d57fdc0> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-61677> (advisory)
- <https://github.com/iterative/datachain> (package)
- <https://pypi.org/project/datachain> (package)
- <https://github.com/advisories/GHSA-6px8-mr29-cj4r> (advisory)

## Sources

- CVE List: [CVE-2025-61677](https://www.cve.org/CVERecord?id=CVE-2025-61677), CVE Terms of Use, modified 2025-10-06
- GitHub Advisory Database: [GHSA-6px8-mr29-cj4r](https://github.com/advisories/GHSA-6px8-mr29-cj4r), CC-BY-4.0, modified 2026-07-07
- NVD: [CVE-2025-61677](https://nvd.nist.gov/vuln/detail/CVE-2025-61677), Public domain, modified 2026-10-08
- PyPA Advisory Database: [PYSEC-2026-1288](https://osv.dev/vulnerability/PYSEC-2026-1288), CC-BY-4.0, modified 2026-07-07

---

Page: https://cve.day/CVE-2025-61677 · Whole record: https://cve.day/CVE-2025-61677.json · Rebuilt by cve.day 2026-11-25T22:59:05.507Z
