CVE-2025-62593: Ray-Project Ray Code Injection Vulnerability
Vulnerability summary
CVE-2025-62593 is a critical (CVSS 9.4) Code Injection vulnerability in Ray-Project Ray. It is known to be exploited: CISA lists it, first on 17-08-2026. EPSS estimates a 62.46% chance of exploitation in the next 30 days, higher than 99.1% of scored vulnerabilities. 1 public exploit is recorded.
Advisory lineage
Upstream 0 · Downstream 0 · Related 1Timeline
- 26-11-2025PublishedVulnerability first disclosed.
- 17-08-2026Added to CISA KEVRay-Project Ray Code Injection Vulnerability
- 20-08-2026CISA remediation dueApply mitigations per vendor instructions.
- 01-10-2026Last modifiedVulnerability information updated.
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 metrics
6 scores · 5 sources · 2 versions- OSV · PypiEcosystem advisory · calculated9.4CriticalCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
- OSV · WolfiEcosystem advisory · calculated9.4CriticalCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
- OSV · ChainguardEcosystem advisory · calculated9.4CriticalCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
- NVDNIST9.4CriticalCVSS: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:X/V:X/RE:X/U:X
EPSS trend
Probability
62.46%
Chance of exploitation in the next 30 days
Percentile
99%
Versus all other CVEs
30-day change
+45.57 pp
From 16.89% on 18-09-2026
Known exploited
Compare KEV catalogs- Added
- 17-08-2026
- Federal due date
- 20-08-2026
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. github.com/ray-project/ray/security/advisories/GHSA-q279-jhrf-cc6v github.com/ray-project/ray/commit/70e7c72780bdec075dba6cad1afe0832772bfe09 nvd.nist.gov/vuln/detail/CVE-2025-62593
Public exploits
1 foundRay
Maturity: poc
Weaknesses
CWE · root cause- CWE-94Improper Control of Generation of Code ('Code Injection')The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.
- CWE-352Cross-Site Request Forgery (CSRF)The web application does not, or cannot, sufficiently verify whether a request was intentionally provided by the user who sent the request, which could have originated from an unauthorized actor.
Affected systems
Chainguard5 products
- airflow-3< 3.2.0-r0
- airflow-3-bitnami-compatAll versions (No fix recorded)
- py3-vllm-cuda-12.4< 0.11.2-r1
- py3.12-vllm-cuda-12.4< 0.11.2-r1
- tritonserver-backend-vllm-meta-cuda-12.9< 25.9.0_git20251112-r1
Wolfi2 products
- airflow-3< 3.2.0-r0
- airflow-3-bitnami-compatAll versions (No fix recorded)
Anyscale1 product
- ray< 2.52.0
PyPI1 product
- ray< 2.52.0
Ray-project1 product
- ray< 2.52.0
5 vendors · 10 products
References
14 links- github.com/ray-project/ray/security/advisories/GHSA-q279-jhrf-cc6vX Refsource CONFIRMWEBAdvisoryExploitPatchVendor Advisory
- github.com/ray-project/ray/commit/70e7c72780bdec075dba6cad1afe0832772bfe09X Refsource MISCWEBFIXPatch
- www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-62593Government ResourceWEBUS Government Resource
- github.com/ray-project/rayPACKAGE
Show all 14 references
- pypi.org/project/rayPACKAGE