{"id":"CVE-2025-61677","aliases":["CVE-2025-61677","GHSA-6px8-mr29-cj4r","PYSEC-2026-1288"],"related":[],"kind":"vulnerability","state":"published","title":"DataChain: Deserialization of Untrusted Data from Environment Variables","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"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.","format":"markdown","source":"ghsa"},{"lang":"es","text":"DataChain es un almacén de datos de IA basado en Python para transformar y analizar datos no estructurados. Las versiones 0.34.1 e inferiores permiten la deserialización de datos no confiables debido a la forma en que la biblioteca DataChain lee objetos serializados de variables de entorno (como DATACHAIN__METASTORE y DATACHAIN__WAREHOUSE) en el módulo loader.py. Un atacante con la capacidad de establecer estas variables de entorno puede desencadenar la ejecución de código cuando la aplicación se carga. Este problema se corrige en la versión 0.34.2.","source":"nvd"}],"published":"2025-10-02T16:24:46.000Z","modified":"2026-10-08T22:10:00.563Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N","score":2.5,"rating":"LOW"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N","score":2.5,"rating":"LOW"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N","score":2.5,"rating":"LOW"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N","score":2.5,"rating":"LOW"}],"cwes":["CWE-502"],"affected":[{"ranges":[{"version":"< 0.34.2","status":"affected"}],"vendor":"iterative","product":"datachain","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"0.34.2"}],"ecosystem":"PyPI","package":"datachain","purl":"pkg:pypi/datachain","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"0.34.2"}],"ecosystem":"PyPI","package":"datachain","purl":"pkg:pypi/datachain","source":"pysec"}],"references":[{"url":"https://github.com/iterative/datachain/security/advisories/GHSA-6px8-mr29-cj4r","tags":["web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/iterative/datachain/pull/1358","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/iterative/datachain/commit/914b95610620d50c8d9bee506ccbfa7d4d57fdc0","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-61677","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/iterative/datachain","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://pypi.org/project/datachain","tags":["package"],"sources":["pysec"]},{"url":"https://github.com/advisories/GHSA-6px8-mr29-cj4r","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-10-06T15:41:04.936Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-61677","url":"https://www.cve.org/CVERecord?id=CVE-2025-61677","licence":"CVE Terms of Use","modified":"2025-10-06T15:41:16.866Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-6px8-mr29-cj4r","url":"https://github.com/advisories/GHSA-6px8-mr29-cj4r","licence":"CC-BY-4.0","modified":"2026-07-07T17:57:35.482Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-61677","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-61677","licence":"Public domain","modified":"2026-10-08T22:10:00.563Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-1288","url":"https://osv.dev/vulnerability/PYSEC-2026-1288","licence":"CC-BY-4.0","modified":"2026-07-07T17:47:34.801Z"}],"updatedAt":"2026-11-25T22:59:05.507Z","epss":{"score":0.00166,"percentile":0.061,"date":"2026-12-02T12:00:21.000Z"}}