Tech news

Research · Nov 26, 2025

Critical Code Injection Vulnerability Discovered in Ray Project

A serious code injection vulnerability has been identified in the Ray Project, affecting developers using the platform prior to version 2.52.0, potentially allowing remote code execution via web browsers.

What changed

A critical code injection vulnerability has been found in the Ray Project, an AI compute engine, which could allow remote code execution (RCE) for developers using versions prior to 2.52.0. The flaw arises from an inadequate defense against browser-based attacks, particularly related to the User-Agent header.

This vulnerability is particularly concerning as it can be exploited through common web browsers like Firefox and Safari, making it accessible to a wide range of users.

Who is affected

The vulnerability impacts various stakeholders in the development community, particularly those utilizing the Ray platform for AI computations.

Key affected groups include:

  • Developers using Ray versions prior to 2.52.0.
  • Organizations leveraging Ray for AI and machine learning projects.
  • Users of Firefox and Safari browsers who may inadvertently visit malicious websites.
  • Companies that rely on Ray for cloud-based AI solutions.

What to do

To mitigate the risks associated with this vulnerability, it is crucial for developers and organizations to upgrade to the latest version of Ray. Additionally, users should exercise caution when browsing the web, particularly when accessing sites that may not be trustworthy.

Implementing additional security measures, such as web application firewalls and monitoring tools, can further protect against potential exploits.

  • Upgrade to Ray version 2.52.0 or later.
  • Review security practices related to browser usage.
  • Consider employing security tools to detect and prevent code injection attacks.
  • Stay informed about updates and patches from the Ray Project team.