---
id: CVE-2025-61677
aliases:
  - GHSA-6px8-mr29-cj4r
  - PYSEC-2026-1288
title: >-
  DataChain Vulnerable to Deserialization of Untrusted Data from Environment
  Variables
summary: >-
  DataChain Vulnerable to Deserialization of Untrusted Data from Environment
  Variables
severity: low
cvss: 2.5
cvssVector: 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N'
vendor: datachain
product: datachain
ecosystem: pip
affected:
  - datachain < 0.34.2
patched:
  - datachain 0.34.2
published: '2025-10-02'
updated: '2026-07-07'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-6px8-mr29-cj4r'
references:
  - url: >-
      https://github.com/iterative/datachain/security/advisories/GHSA-6px8-mr29-cj4r
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2025-61677'
  - url: 'https://github.com/iterative/datachain/pull/1358'
  - url: >-
      https://github.com/iterative/datachain/commit/914b95610620d50c8d9bee506ccbfa7d4d57fdc0
  - url: 'https://github.com/iterative/datachain'
tags:
  - osv
  - pip
epss: 0.00162
epssPercentile: 0.05855
ingestedAt: '2026-07-08T18:25:46.509Z'
---

## Overview

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

- `datachain < 0.34.2`

## Remediation

Upgrade to a patched release:

- `datachain 0.34.2`
