Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. ray
  4. ›
  5. CVE-2026-41486

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

April 24, 2026 (updated May 5, 2026)

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.

In May 2024, Ray fixed a related vulnerability in PyExtensionType-based extension types (issue #41314, PR #45084). In July 2025, PR #54831 introduced cloudpickle.loads() into the replacement extension types’ deserialization path, reintroducing the same class of vulnerability.

References

  • github.com/advisories/GHSA-mw35-8rx3-xf9r
  • github.com/ray-project/ray
  • github.com/ray-project/ray/pull/54831
  • github.com/ray-project/ray/security/advisories/GHSA-mw35-8rx3-xf9r
  • nvd.nist.gov/vuln/detail/CVE-2026-41486

Code Behaviors & Features

Detect and mitigate CVE-2026-41486 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 2.49.0 before 2.55.0

Fixed versions

  • 2.55.0

Solution

Upgrade to version 2.55.0 or above.

Impact 9.6 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-502: Deserialization of Untrusted Data
  • CWE-94: Improper Control of Generation of Code ('Code Injection')

Source file

pypi/ray/CVE-2026-41486.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 09 May 2026 12:18:21 +0000.