← Vulnerability feed

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.

9.4 CVSS 4.0 Critical CISA KEV since 17 Aug 2026 EPSS 62% · top 0.8% CWE-94 · Code injectionCWE-352 · Cross-site request forgery
9.4CVSS 4.0 base score
62%EPSS exploitation probability, 30 days
YesIn CISA KEV, fix deadline passed
1Affected product versions listed by NVD
4References, 1 tagged exploit
18 Aug 2026Last modified by NVD

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

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 17 September 2026. Confidence: high.

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

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.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2023-48022Anyscale Ray job submission API allows unauthenticated remote code executionAnyscale Ray versions 2.6.3 and 2.8.0 expose a job submission API that lets a remote attacker execute arbitrary code. The vendor disputes the report,…EPSS 84%analysed9.1CVE-2023-48023Anyscale ray server-side request forgery (ssrf) vulnerabilityAnyscale Ray 2.6.3 and 2.8.0 allows /log_proxy SSRF. NOTE: the vendor's position is that this report is irrelevant because Ray, as stated in its docu…EPSS 35%8.9CVE-2026-41486Anyscale ray code injection vulnerabilityRay 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, ra…EPSS 0.70%8.7CVE-2026-32981Anyscale ray path traversal vulnerabilityA path traversal vulnerability was identified in Ray Dashboard (default port 8265) in Ray versions prior to 2.8.1. Due to improper validation and san…EPSS 1.0%8.6CVE-2026-57516Anyscale ray deserialization of untrusted data vulnerabilityRay prior to 2.56.0 contains an unsafe deserialization vulnerability in the WebDataset reader that allows attackers to achieve remote code execution …EPSS 0.86%6.5CVE-2026-27482Anyscale ray vulnerabilityRay is an AI compute engine. In versions 2.53.0 and below, thedashboard HTTP server blocks browser-origin POST/PUT but does not cover DELETE, and key…EPSS 0.40%8.8CVE-2026-65660Microsoft sharepoint server code injection vulnerabilityImproper control of generation of code ('code injection') in Microsoft Office SharePoint allows an authorized attacker to execute code over a network.KEVEPSS 2.1%9.8CVE-2026-60004Gitea diffpatch API code injection enables remote code executionGitea before 1.27.1 allows remote code execution through the diffpatch API by way of Git hook installation. The flaw is a code injection issue (CWE-9…KEVEPSS 24%analysed

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.