{"id":"CVE-2026-41486","aliases":["CVE-2026-41486","GHSA-mw35-8rx3-xf9r","PYSEC-2026-2272","PYSEC-2026-2296"],"related":[],"kind":"vulnerability","state":"published","title":"Ray: Remote Code Execution via Parquet Arrow Extension Type Deserialization","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"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.\n\nIn May 2024, Ray fixed a related vulnerability in `PyExtensionType`-based extension types ([issue #41314](https://github.com/ray-project/ray/issues/41314), [PR #45084](https://github.com/ray-project/ray/pull/45084)). In July 2025, [PR #54831](https://github.com/ray-project/ray/pull/54831) introduced `cloudpickle.loads()` into the replacement extension types' deserialization path, reintroducing the same class of vulnerability.\n\n## Impact\n\n- **Affected versions**: Ray 2.49.0 through 2.54.0 (latest release as of March 2026). The vulnerable `_deserialize_with_fallback` function with `cloudpickle.loads()` was introduced in commit `f6d21db1a4` ([PR #54831](https://github.com/ray-project/ray/pull/54831), July 2025), first released in Ray 2.49.0.\n- **Affected configurations**: Any process that uses Ray Data and reads Parquet files. The extension types are registered globally in PyArrow, so all Parquet reads in the process are affected, including `ray.data.read_parquet()`, `pyarrow.parquet.read_table()`, `pandas.read_parquet()`, etc.\n- **Attacker prerequisites**: The attacker must place a crafted Parquet file where a Ray Data pipeline reads it. No authentication or cluster access is required. The Parquet file must contain a column with a `ray.data.arrow_tensor` (or v2, or variable-shaped) extension type name, which makes this a targeted attack against Ray Data users.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Ray es un motor de cómputo de IA. Desde la versión 2.54.0 hasta antes de la versión 2.55.0, Ray Data registra tipos de extensión Arrow personalizados (ray.data.arrow_tensor, ray.data.arrow_tensor_v2, ray.data.arrow_variable_shaped_tensor) globalmente en PyArrow. Cuando PyArrow lee un archivo Parquet que contiene uno de estos tipos de extensión, llama a __arrow_ext_deserialize__ en los bytes de metadatos del campo. La implementación de Ray pasa estos bytes directamente a cloudpickle.loads(), logrando ejecución de código arbitrario durante el análisis del esquema, antes de que se lea cualquier dato de fila. Este problema ha sido parcheado en la versión 2.55.0.","source":"nvd"}],"published":"2026-04-24T16:15:00.000Z","modified":"2026-11-11T20:10:00.273Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","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","score":8.9,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","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","score":8.9,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","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","rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":["CWE-94","CWE-502"],"affected":[{"ranges":[{"version":">= 2.54.0, < 2.55.0","status":"affected"}],"vendor":"ray-project","product":"ray","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"2.49.0","status":"affected","fixed":"2.55.0"}],"ecosystem":"PyPI","package":"ray","purl":"pkg:pypi/ray","source":"ghsa"},{"ranges":[{"status":"affected","version":"2.54.0"}],"vendor":"anyscale","product":"ray","cpe":"cpe:2.3:a:anyscale:ray:2.54.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","lastAffected":"2.54.0"}],"ecosystem":"PyPI","package":"ray","purl":"pkg:pypi/ray","source":"pysec"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","lastAffected":"2.54.0"}],"ecosystem":"PyPI","package":"ve-ray","purl":"pkg:pypi/ve-ray","source":"pysec"}],"references":[{"url":"https://github.com/ray-project/ray/security/advisories/GHSA-mw35-8rx3-xf9r","tags":["advisory","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/ray-project/ray/pull/62056","tags":["fix","issue-tracking","patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/ray-project/ray/commit/c02bd31ae31996805868baa446a131a8d304525f","tags":["fix","patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/ray-project/ray/releases/tag/ray-2.55.0","tags":["advisory","product","release-notes","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-41486","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/ray-project/ray/pull/54831","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/ray-project/ray","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"total","date":"2026-05-12T02:07:47.053Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-41486","url":"https://www.cve.org/CVERecord?id=CVE-2026-41486","licence":"CVE Terms of Use","modified":"2026-05-12T02:07:57.661Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-mw35-8rx3-xf9r","url":"https://github.com/advisories/GHSA-mw35-8rx3-xf9r","licence":"CC-BY-4.0","modified":"2026-09-10T03:51:02.380Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-41486","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-41486","licence":"Public domain","modified":"2026-11-11T20:10:00.273Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-2272","url":"https://osv.dev/vulnerability/PYSEC-2026-2272","licence":"CC-BY-4.0","modified":"2026-07-13T07:26:16.094Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-2296","url":"https://osv.dev/vulnerability/PYSEC-2026-2296","licence":"CC-BY-4.0","modified":"2026-07-13T07:26:16.094Z"}],"updatedAt":"2026-11-25T22:59:21.112Z","epss":{"score":0.00704,"percentile":0.48985,"date":"2026-11-30T12:00:22.000Z"}}