Vulnerability · Published May 8, 2026 · Assigned by GitHub_M
CVE-2026-41486Ray: Remote Code Execution via Parquet Arrow Extension Type Deserialization
High 8.9
In plain English
A high-severity code injection in ray from ray-project. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 41% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | ray | 2.55.0 | GHSA-mw35-8rx3-xf9r |
| PyPI | ray | no fix listed | PYSEC-2026-2272 |
| PyPI | ve-ray | no fix listed | PYSEC-2026-2296 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| ray-project | ray | >= 2.54.0, < 2.55.0 |
Weakness: CWE-94, CWE-502 · Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
References
- https://github.com/ray-project/ray/security/advisories/GHSA-mw35-8rx3-xf9r x_refsource_CONFIRM
- https://github.com/ray-project/ray/pull/62056 x_refsource_MISC
- https://github.com/ray-project/ray/commit/c02bd31ae31996805868baa446a131a8d304525f x_refsource_MISC
- https://github.com/ray-project/ray/releases/tag/ray-2.55.0 x_refsource_MISC