PYSEC-2026-2296: Ray: Remote Code Execution via Parquet Arrow Extension Type Deserialization

Published May 8, 2026
·
Updated

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.arrowtensor, ray.data.arrowtensorv2, ray.data.arrowvariableshapedtensor) globally in PyArrow. When PyArrow reads a Parquet file containing one of these extension types, it calls arrowextdeserialize 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 Software

1 affected component
Anyscale Ray>=2.54.0<2.55.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Ray to a version that resolves this vulnerability.

    Fixed in 2.55.0

Event History

May 8, 2026
CVE Published
via OSV·09:46 PM
Data Sourced
via OSV·09:46 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which Ray versions need remediation?

Ray versions 2.54.0 through versions before 2.55.0 are affected. Upgrade to Ray 2.55.0.

2

What must happen for exploitation to occur?

A vulnerable Ray environment must use PyArrow to read a Parquet file containing one of Ray's registered Arrow extension types with attacker-controlled metadata. Code execution occurs while PyArrow parses the schema, before it reads row data.

3

What can be done while an upgrade is pending?

Do not process Parquet files from untrusted sources in affected environments. Treat Parquet schema metadata as potentially malicious, since the payload is deserialized during schema parsing.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203