Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.5%top 62%

CVE-2026-41486: CWE-94: Improper Control of Generation of Code ('Code Injection') in ray-project ray

0
High
VulnerabilityCVE-2026-41486cvecve-2026-41486cwe-94cwe-502
Published: 05/08/2026 (05/08/2026, 21:46:14 UTC)
Source: CVE Database V5
Vendor/Project: ray-project
Product: ray

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.

CVSS v4.0

Score 8.9high

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
Active
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
High
Subsq. Confidentiality
High
Subsq. Integrity
High
Subsq. Availability
High
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

Affected software

ray
pkg:pypi/ray
Affected versions
<2.55.0 >=2.54.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/16/2026, 10:16:27 UTC

Technical Analysis

Ray versions from 2.54.0 to before 2.55.0 register custom Arrow extension types globally in PyArrow. When PyArrow reads a Parquet file containing these extensions, it invokes __arrow_ext_deserialize__ on the metadata bytes. Ray's implementation directly passes these bytes to cloudpickle.loads(), enabling arbitrary code execution during schema parsing. This vulnerability is classified under CWE-94 (Improper Control of Generation of Code) and CWE-502 (Deserialization of Untrusted Data). The issue is patched in Ray version 2.55.0.

Potential Impact

An attacker who can supply a crafted Parquet file containing malicious metadata can achieve arbitrary code execution on the system running the vulnerable Ray version during schema parsing. This occurs before any row data is read, potentially allowing early compromise of the environment processing the data. The vulnerability is rated high severity with a CVSS 4.0 score of 8.9.

Mitigation Recommendations

Upgrade Ray to version 2.55.0 or later, where this vulnerability is patched. No other mitigation or temporary workaround is indicated. Patch status is confirmed by the vendor advisory stating the fix is included in version 2.55.0.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-04-20T16:14:19.007Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 69fe5e60cbff5d8610336e6d

Added to database: 05/08/2026, 22:06:24 UTC

Last enriched: 05/16/2026, 10:16:27 UTC

Last updated: 07/31/2026, 19:22:58 UTC

Views: 102

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses