PYSEC-2026-2272

En bref

Publiée
Mise à jour
CVE
CVE-2026-41486
Alias
GHSA-mw35-8rx3-xf9r, PYSEC-2026-2296
CVSS_V3
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Description

Ray is an AI compute engine. From version 2.54.0 to before version 2.55.0, Ray Data registers custom Arrow extension types (ray.data.arrow_tensor, ray.data.arrow_tensor_v2, ray.data.arrow_variable_shaped_tensor) globally in PyArrow. When PyArrow reads a Parquet file containing one of these extension types, it calls __arrow_ext_deserialize__ on the field's metadata bytes. Ray's implementation passes these bytes directly to cloudpickle.loads(), achieving arbitrary code execution during schema parsing, before any row data is read. This issue has been patched in version 2.55.0.

Paquets affectés

PaquetVersions
PyPI · rayintroduced 0, last affected 2.54.0

Références

Sources

SourceLicence
OSV.devCC-BY 4.0 — PyPA Advisory Database