Skip to main content
← All vulnerabilities
CVE-2025-62593PYSEC-2026-520GHSA-Q279-JHRF-CC6V

Ray is vulnerable to RCE via Safari & Firefox Browsers through DNS Rebinding Attack

Affects Ray versions before 2.52.0 for developers running Ray locally when the browser is Firefox or Safari; Chrome is not affected. Fixed in Ray 2.52.0.

Published
Last modified
published
Listed in CISA KEV
Actively exploited
Fix
Fixed in 2.52.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: active
  • Automatable: yes
  • Technical impact: total

Summary

Ray, an AI compute engine used by developers as a development tool, is affected through its browser-facing protections, which can be bypassed when a developer uses Firefox or Safari. The impact is that an attacker could run arbitrary code on a developer's machine if the developer visits a malicious website or sees a malicious advertisement.

Summarized by anthropic/claude-haiku-5.5. Verify details against the original sources.

Read the original description

Ray is an AI compute engine. Prior to version 2.52.0, developers working with Ray as a development tool can be exploited via a critical RCE vulnerability exploitable via Firefox and Safari. This vulnerability is due to an insufficient guard against browser-based attacks, as the current defense uses the User-Agent header starting with the string "Mozilla" as a defense mechanism. This defense is insufficient as the fetch specification allows the User-Agent header to be modified. Combined with a DNS rebinding attack against the browser, and this vulnerability is exploitable against a developer running Ray who inadvertently visits a malicious website, or is served a malicious advertisement (malvertising). This issue has been patched in version 2.52.0.

Timeline

  1. CVE published
  2. Added to CISA KEV

    CISA has evidence of exploitation in the wild

  3. CISA SSVC assessment

    Exploitation: active · Automatable: yes · Technical impact: total

  4. CISA remediation deadline

    Due date for US federal agencies to patch

  5. Record last updated
  6. EPSS reached 10%

    FIRST estimates at least a 10% chance of exploitation in the next 30 days

Affected versions

  • ray-project ray

    fixed in 2.52.0

  • rayPyPI

    fixed in 2.52.0

References 2

GitHub · ray-project/ray

FAQ

Questions about CVE-2025-62593

What does this mean?

A DNS rebinding attack against a Firefox or Safari browser can lead to arbitrary shell commands running on the developer's machine where Ray is running, which is remote code execution. The attack requires the browser to be pointed at the developer's local Ray instance.Source: github.com

Am I affected, and how do I check?

Ray versions before 2.52.0 are in scope, and the risk applies when Ray is used as a local development tool and the browser in use is Firefox or Safari (Chrome is not vulnerable). To check the installed version, run `ray --version` or `python -c "import ray; print(ray.__version__)"`.Source: github.com

What should I do about it?

Update Ray to version 2.52.0 or higher, which is the fixed release named in the advisory.Source: github.com

Is it being exploited?

Yes. CISA added it to its Known Exploited Vulnerabilities catalog on 2026-08-17, which means it has evidence of attacks. No public exploit code is tracked.Source: cisa.gov, cve.now feed data