---
title: "CVE-2025-62593: Ray-Project Ray Code Injection Vulnerability"
url: https://erroneo.us/security/cve/CVE-2025-62593/
description: "CVE-2025-62593 (Ray-Project Ray): Exploited in the wild (CISA KEV). Ray is an AI compute engine. Prior to version 2.52.0, developers working with Ray as a…"
type: vulnerability-record
section: "Security Digest"
date_published: 2025-11-26
date_modified: 2026-10-21
publisher: erroneo.us
author: erroneo.us Security Desk
cve: "CVE-2025-62593"
kev: true
cvss: 9.4
epss: 0.62459
license: All rights reserved. Quote with attribution and a link.
---

# CVE-2025-62593: Ray-Project Ray Code Injection Vulnerability

**Signal:** Exploited: patch now if you run it. CISA has confirmed exploitation in the wild. (Computed from CISA KEV, EPSS and CVSS; not an editorial verdict.)

## Should you act?

- Yes, if you run Ray-Project Ray. CISA added this CVE to its Known Exploited Vulnerabilities catalog on 2026-08-17, which means there is reliable evidence of exploitation in the wild. US federal agencies must remediate by 2026-08-20 ; treat that as the outer limit, not the target.
- EPSS 62.5% , percentile 99: FIRST’s model estimates a 62.5% chance of exploitation activity in the next 30 days, higher than 99% of all scored CVEs (very high). EPSS is a probability, not a verdict.
- Only applies if your dependency tree includes ray (PyPI) < 2.52.0, fixed in 2.52.0 . Check your lockfile, including transitive dependencies.
- Editorial verdict: Patch this week. Ray CVE-2025-62593: Browser-Driven RCE Against Ray Devs — Upgrade Ray to 2.52.0 or later on developer machines and internal clusters this week; the attack needs a Firefox or Safari user to load a hostile page while a pre-2.52 dashboard is running, and the public evidence of real-world use is thin.

## What it is

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.

## Affected packages

- PyPI `ray` < 2.52.0 → fixed: 2.52.0

## Affected products (CVE record)

- ray-project ray: < 2.52.0

## Severity

- GitHub_M CVSS 4.0: 9.4 `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`
- GitHub CVSS 4.0: 9.4 `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`

## Exploitation

- CISA KEV: added 2026-08-17; federal due date 2026-08-20. Known ransomware use: Unknown.
- CISA 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.
- CISA SSVC assessment: exploitation active , automatable yes , technical impact total .
- FIRST EPSS (model of 2026-10-21): 62.46% probability of exploitation activity in the next 30 days; percentile 99.

## Sources

- [Listed in CISA KEV notes (github.com)](https://github.com/ray-project/ray/security/advisories/GHSA-q279-jhrf-cc6v)
- [Listed in CISA KEV notes (github.com)](https://github.com/ray-project/ray/commit/70e7c72780bdec075dba6cad1afe0832772bfe09)
- [GitHub Advisory GHSA-q279-jhrf-cc6v](https://github.com/advisories/GHSA-q279-jhrf-cc6v)
- [CVE.org record CVE-2025-62593](https://www.cve.org/CVERecord?id=CVE-2025-62593)
- [NVD entry CVE-2025-62593](https://nvd.nist.gov/vuln/detail/CVE-2025-62593)
- [CISA Known Exploited Vulnerabilities catalog entry](https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-62593)
- [Listed in CISA KEV notes (cisa.gov)](https://www.cisa.gov/news-events/directives/bod-26-04-prioritizing-security-updates-based-risk)
- [Listed in CISA KEV notes (cisa.gov)](https://www.cisa.gov/news-events/directives/bod-26-04-implementation-guidance-prioritizing-security-updates-based-risk)
- [bitsight.com](https://www.bitsight.com/blog/rondodox-botnet-infrastructure-analysis)
- [github.com](https://github.com/nccgroup/singularity/pull/68)
- [docs.ray.io](https://docs.ray.io/en/releases-2.51.1/ray-security/index.html)
- [en.wikipedia.org](https://en.wikipedia.org/wiki/Malvertising)
- [github.com](https://github.com/ray-project/ray/blob/e7889ae542bf0188610bc8b06d274cbf53790cbd/python/ray/dashboard/http_server_head.py#L184-L196)
- [github.com](https://github.com/ray-project/ray/blob/f39a860436dca3ed5b9dfae84bd867ac10c84dc6/python/ray/dashboard/optional_utils.py#L129-L155)

---
Source page: https://erroneo.us/security/cve/CVE-2025-62593/ · Security Digest: https://erroneo.us/security/ · More: https://erroneo.us/llms.txt
