PYSEC-2026-2272: 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 deployments are affected?

Ray versions 2.54.0 through versions before 2.55.0 are affected. Version 2.55.0 contains the patch.

2

What must an attacker provide to trigger exploitation?

An attacker needs a Parquet file containing one of Ray's registered Arrow extension types with malicious field metadata. The vulnerable process must read that file with PyArrow after Ray has globally registered the extension types.

3

Does processing Parquet row data need to begin for exploitation?

No. The unsafe deserialization occurs during schema parsing, before any row data is read.

4

What should be done if vulnerable systems may process untrusted Parquet files?

Upgrade Ray to version 2.55.0. Until then, avoid reading untrusted Parquet files in affected Ray environments.

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