CVE-2025-62593: Ray Critical RCE Vulnerability via DNS Rebinding in Safari & Firefox

ray Updated 14 Dec 2025

Summary

26/11/2025
Yes i
Critical
9.4

CVE-2025-62593: Ray is vulnerable to Critical RCE via Safari & Firefox Browsers through DNS Rebinding Attack. Affects ray versions < 2.52.0. Fixed in 2.52.0. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Ray is an open-source framework designed for building and running distributed applications. It provides a simple interface for parallel and distributed computing, enabling developers to scale their applications effortlessly. However, Ray has been found to have a critical vulnerability that exposes developers to remote code execution (RCE) attacks when using Safari and Firefox browsers. This vulnerability arises from the lack of authentication on critical API endpoints, making it susceptible to exploitation through DNS rebinding attacks.

Vulnerability Detail

The vulnerability in Ray stems from its decision not to implement authentication on critical endpoints such as '/api/jobs' and '/api/job_agent/jobs/'. This oversight allows attackers to exploit the system via a DNS rebinding attack, particularly targeting developers who may inadvertently visit malicious websites or ads. The current defense mechanism relies on the 'User-Agent' header, which can be easily manipulated by modern browsers, rendering it ineffective. As a result, attackers can execute arbitrary code on the developer's machine, leading to severe security implications.

How To Fix

Latest published version: 2.59.0 as of 23 Oct 2026

pip install --upgrade "ray==2.59.0"

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

2.52.0

This is the first release that contains the fix.

pip install --upgrade "ray==2.52.0"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

Currently, there are no effective workarounds to mitigate this vulnerability without applying the patch. However, users should avoid accessing untrusted websites or clicking on suspicious advertisements while using Ray in a development environment.

Conclusion

The CVE-2025-62593 vulnerability in Ray poses a significant risk to developers using Safari and Firefox due to its susceptibility to DNS rebinding attacks. It is essential to update to version 2.52.0 or higher to mitigate this risk and enhance security through the newly introduced authentication feature. Vigilance against phishing and malicious ads is also recommended until the update is applied.

See every vulnerability recorded for ray →

Share this vulnerability

FAQ

The vulnerability allows for remote code execution (RCE) through DNS rebinding attacks, primarily affecting developers using Safari and Firefox.

You can check if your application is affected by using the Vulert playground at Vulert Scanner, which monitors open-source vulnerabilities in real-time.

While there are no effective workarounds, it is crucial to avoid accessing untrusted websites and ads until you can apply the update.

If exploited, attackers can execute arbitrary code on the developer's machine, leading to data breaches, unauthorized access, and potential system compromise.

In addition to updating Ray, consider implementing network security measures and using firewalls to restrict access to your development environment.

Related vulnerabilities

Recent vulnerabilities recorded for ray.

How To Fix

Latest published version: 2.59.0 as of 23 Oct 2026

pip install --upgrade "ray==2.59.0"

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

2.52.0

This is the first release that contains the fix.

pip install --upgrade "ray==2.52.0"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback