Vulnerability record · CVE-2025-62593 · published 26 November 2025
CVE-2025-62593: Ray browser-based RCE via insufficient User-Agent guard
Anyscale · Ray
Ray, an AI compute engine, contains a critical remote code execution flaw before version 2.52.0. Its defense against browser-based attacks relies on checking whether the User-Agent header starts with "Mozilla", which the fetch specification allows attackers to set arbitrarily. Combined with DNS rebinding, a developer running Ray who visits a malicious site or malvertising can be compromised.
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.
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:
Automated analysis
critical priorityCVSS 4.0 score is 9.4 critical, the flaw is in CISA KEV with active exploitation, and it enables unauthenticated network-reachable RCE with high impact.
What it is
Ray, an AI compute engine, contains a critical remote code execution flaw before version 2.52.0. Its defense against browser-based attacks relies on checking whether the User-Agent header starts with "Mozilla", which the fetch specification allows attackers to set arbitrarily. Combined with DNS rebinding, a developer running Ray who visits a malicious site or malvertising can be compromised.
Impact
An attacker gains remote code execution on a developer's Ray instance, with high confidentiality, integrity and availability impact across the vulnerable system and subsequent scope. This can lead to full compromise of the developer host and any connected Ray cluster resources.
Attack surface
Reached over the network with no privileges required, but user interaction is required: the victim must visit a malicious website or be served malicious advertising while running Ray. No authentication is needed per the CVSS vector (PR:N).
Exploitation
CISA added this to the Known Exploited Vulnerabilities catalog on 2026-08-17, indicating active exploitation. EPSS gives a 30-day probability of 0.16888 (96.9th percentile), and the vendor advisory is tagged Exploit.
What to do
- Upgrade Ray to version 2.52.0 or later, which contains the patch (commit 70e7c72780bdec075dba6cad1afe0832772bfe09).
- If immediate patching is not possible, follow CISA BOD 26-04 guidance: restrict or discontinue use of exposed Ray services and evaluate each asset's internet exposure.
- Do not rely on User-Agent filtering as a defense; block browser-originated requests to Ray endpoints at the network or proxy layer.
- Bind Ray dashboards and services to localhost or trusted interfaces only, and avoid running Ray on developer workstations while browsing untrusted sites.
- Apply DNS rebinding protections such as DNS pinning or validating Host headers on Ray endpoints.
Detection
- Monitor Ray service logs for requests with unusual or spoofed User-Agent headers, especially those claiming Mozilla origins from unexpected source IPs.
- Alert on DNS queries resolving to internal Ray hostnames or IPs from browser processes, which may indicate DNS rebinding.
- Hunt for unexpected child processes or command execution spawned by Ray worker or dashboard processes.
- Review network flows to Ray ports from external or untrusted networks and flag any exposure of Ray services beyond localhost.
This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.
Exploitation in the wild
CISA added CVE-2025-62593 to the Known Exploited Vulnerabilities catalog on 17 August 2026 as "Ray-Project Ray Code Injection Vulnerability". Required action: Apply mitigations in accordance with vendor instructions, ensuring compliance with CISA’s BOD 26-04 Prioritizing Security Updates Based on Risk (see URL in Notes) guidance and CISA’s “Forensics Triage Requirements” (see URL in Notes). Follow applicable BOD 26-04 guidance for cloud services or discontinue use of the product if mitigations are unavailable. Stakeholders are responsible for evaluating each asset's internet exposure and ensuring adherence to BOD 26-04 patching guidelines. Federal deadline 20 August 2026.
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://github.com/ray-project/ray/commit/70e7c72780bdec075dba6cad1afe0832772bfe09 | Patch |
| https://github.com/ray-project/ray/security/advisories/GHSA-q279-jhrf-cc6v | ExploitPatchVendor Advisory |
| https://www.bitsight.com/blog/rondodox-botnet-infrastructure-analysis | Third Party Advisory |
| https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-62593 | US Government Resource |
Track CVE-2025-62593 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2025-62593), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.