8.9High

CVE-2026-41486Ray: Remote Code Execution via Parquet Arrow Extension Type Deserialization

ray-project ray Published: (6 months ago)

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.

Weakness (CWE): CWE-94CWE-502

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
anyscale ray 2.54.0
ray-project ray >= 2.54.0, < 2.55.0

References and patches

CPE matches (NVD) (1)

  • cpe:2.3:a:anyscale:ray:2.54.0:*:*:*:*:*:*:*