TL;DR — The Ray RCE tracked as CVE-2025-62593 does something most vulnerabilities cannot: it reaches a service that is not exposed to the internet at all. A developer running Ray locally visits the wrong web page in Firefox or Safari, and DNS rebinding turns their browser into the attacker’s route to localhost. Patched in November 2025; CISA confirmed exploitation on 17 August 2026. Upgrade to 2.52.0 or later.

CRITICALCVE-2025-62593Ray dashboard RCE via DNS rebindingCVSS V4.09.4 (Critical)VECTORAV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:HWEAKNESSCWE-94 and CWE-352 — Code injection, CSRFAFFECTEDRay before 2.52.0, with the dashboard running locallyFIXED IN2.52.0 (November 2025)EXPLOITEDYes — confirmed by CISACISA KEVAdded 17 Aug 2026 — due 20 Aug 2026EPSS0.00369 — KEV listing supersedes it
At-a-glance threat summary for CVE-2025-62593.

What Is the Ray RCE in CVE-2025-62593?

Ray is an open-source, Python-native framework for distributed computing, used to scale AI and machine learning workloads across clusters. It is a fixture of the modern ML stack — more than 43,500 GitHub stars and nearly 8,000 forks.

The Ray RCE affects versions before 2.52.0 and lets an attacker execute arbitrary code on a developer’s machine. The delivery method is what makes it unusual: the victim does not download anything, install anything, or expose anything. They visit a malicious website, or are served a malicious advertisement, while Ray happens to be running locally.

This inverts the assumption behind most local development setups. Binding a service to localhost feels safe because nothing outside can route to it. That intuition is correct at the network layer and wrong at the browser layer, because the browser is already inside — it can reach 127.0.0.1 on the developer’s behalf. All an attacker needs is a way to make the browser do it.

How the Ray RCE Works

There are two problems here, and the interesting one is not the bug — it is the design decision underneath.

Ray’s maintainers have deliberately not implemented authentication on critical endpoints such as /api/jobs and /api/job_agent/jobs/. The reasoning is that Ray is a development tool on a trusted network. Their own November 2025 advisory is admirably blunt about where that has led, noting the longstanding decision has “once again” produced a severe vulnerability.

In place of authentication, Ray defended the dashboard against browser-originated requests by checking whether the User-Agent header begins with “Mozilla”. The theory was that browsers always send such a header, so rejecting those requests would block browser-based attacks. The flaw is that the fetch specification permits the header to be modified — so a malicious page simply sends something else.

A header the attacker controls is not an access control. It is a suggestion that the attacker is free to decline.

That gets a request through. Reaching localhost from a public web page takes the second half: DNS rebinding. The attacker’s domain first resolves to their own server, so the page loads normally. Its DNS record has a very short time-to-live, and on the next lookup the same domain resolves to 127.0.0.1. From the browser’s perspective the origin has not changed — same hostname — so the same-origin policy raises no objection. The page is now talking to the developer’s local Ray instance.

ATTACK CHAIN1A developer runs Ray locallyThe dashboard and job API bind to the workstation, not the internet.2They visit a malicious page, or see a malvertisementNo download, no install — a page load in Firefox or Safari.3The page spoofs the User-Agent headerRay’s only guard is that it must begin with ‘Mozilla’.4DNS rebinding collapses the origin boundaryThe attacker’s domain re-resolves to 127.0.0.1, so the browser allows it.5Job submission becomes code execution/api/jobs takes the request; the developer’s machine runs the payload.
Each step from first request to impact for CVE-2025-62593.

From there it is mundane. Ray’s job submission API accepts the request, because that is what it is for and because nothing authenticates the caller. The payload runs with the developer’s privileges, on a machine that very likely holds cloud credentials, SSH keys and access to the cluster Ray was orchestrating. Firefox and Safari are the browsers named in the advisory.

Reading the CVSS Score

Scoring for this one has been inconsistent across sources, which is itself instructive.

CVSS v4.0 VECTOR — WHAT IT ACTUALLY MEANSAV:NAttack Vector: NetworkReachable over the networkAC:LAttack Complexity: LowNo special conditionsPR:NPrivileges Req: NoneNo account neededUI:PUser Interaction: PassiveVictim must load a pageVC:HConfidentiality: HighLocal data readableVI:HIntegrity: HighArbitrary code executionVA:HAvailability: HighMachine controllableSC:HSubsequent System: HighCluster and cloud beyond
Each metric read left to right, with its contribution to the score.

The metric that stands out is UI:P — User Interaction: Passive, a category CVSS v4.0 introduced precisely for this shape of attack. The victim must do something, but that something is only “load a web page.” They do not click a dialog, accept a warning or run a file. Under v3.1 this collapses to UI:R, Required, which is why you will see this listed as 8.8 under v3.1 and 9.4 under v4.0. The v4.0 figure describes the real world better.

The subsequent-system metrics are all High, and correctly so. A developer workstation running Ray is a gateway to the cluster it manages and whatever cloud account funds that cluster.

EPSS sits at roughly 0.004 — very low. It is also nine months stale as a signal, which is a neat demonstration of the limits of prediction: the model saw a browser-delivery bug in a development tool and rated it unlikely. CISA has since observed it happening.

Active Exploitation of the Ray RCE

The gap here is the story. Ray’s maintainers disclosed this and shipped 2.52.0 on 26 November 2025. CISA added it to the KEV catalogue on 17 August 2026 — nearly nine months later — with a three-day remediation deadline.

DISCLOSURE TIMELINE26 Nov 2025Ray maintainers disclose the flaw; 2.52.0 fixes itNov 2025 – Aug 2026Nine months pass with the patch available17 Aug 2026CISA adds it to KEV — exploitation confirmed20 Aug 2026Federal remediation deadline under BOD 26-04NowNo attribution or victim counts published
Key dates for CVE-2025-62593, from first signal to CISA KEV listing.

No attribution, victim count or campaign detail has been published. CISA’s own assessment records exploitation as active, automatable, and with total technical impact. Ray clusters have attracted attention before, notably for cryptomining campaigns against exposed dashboards, so the attacker interest in this software is well established.

Nine months of an available patch going unapplied is the ordinary reason such gaps exist. Development tooling is rarely covered by the patching policy that governs servers, and a local install pinned in a requirements.txt can sit untouched for a very long time.

What to hunt for — note that most of this lives on endpoints, not servers:

  • Ray versions below 2.52.0 anywhere in your estate: developer laptops, notebooks, CI images, container base layers and pinned dependency files
  • Unexpected job submissions in Ray’s job history that no developer or pipeline initiated — the clearest evidence the chain completed
  • DNS responses with very short TTLs resolving external domains to 127.0.0.1 or private ranges, the signature of a rebinding attack
  • Requests to /api/jobs or /api/job_agent/jobs/ carrying a browser-like Origin or Referer header
  • Child processes spawned by the Ray process on developer machines, and outbound connections that no workload explains

Remediation & Mitigation: Patching Ray

Upgrade to Ray 2.52.0 or later. The fix has been available since November 2025. This is a dependency upgrade rather than an infrastructure change, so for most teams it is a one-line edit and a redeploy.

  • Find every install. The hard part is inventory, not patching. Ray arrives via pip, in notebook environments and inside container images, so a server-focused scan will miss most of it.
  • Bind the dashboard to loopback and firewall it where the deployment allows. It will not stop the rebinding path, but it removes the far larger risk of a directly exposed cluster.
  • Put authentication in front of Ray if you run it beyond a single workstation. A reverse proxy requiring credentials addresses the design gap the maintainers have declined to close.
  • Consider DNS-level rebinding protection. Many resolvers can drop responses that map public names to private addresses — a control that defends against this whole attack class, not just this CVE.

The broader lesson is worth stating plainly, because it generalises well beyond Ray: “it only listens on localhost” is not a security boundary. Any HTTP service on a developer machine — a dashboard, a debug port, a local API, a model server — is reachable by any web page that machine loads, unless something authenticates the caller or validates the Origin header. That is a large and mostly unexamined attack surface on every engineering laptop in your organisation.

It is also another entry in this month’s pattern. AI and ML tooling has been adopted far faster than it has been secured, and the security model of many of these projects still assumes a trusted network that has not existed for years.

Related ZeroDayHub Coverage

AI tooling has featured heavily in recent exploitation: the Langflow unauthenticated RCE, another AI platform where a development convenience became the attack path, and the Metabase SQL injection zero-day, where stored credentials were the real target.

Sources & Further Reading

Leave a Reply

Trending