cve.bz

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

9.4 criticalKEVExploit referenceEPSS 60%Fix available

Critical (9.4) in Ray-Project Ray. In CISA KEV since 2026-08-17. EPSS 60% estimated probability of exploitation activity in the next 30 days. Fixed in ray 2.52.0.

On this page
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.

Severity

CVSS 4.0

9.4 critical
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

CVSS 3.1

8.8 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS
60% (unchanged from 60% a week ago; 62% 30 days ago) estimated probability of exploitation activity in the next 30 days; 99th percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA KEV
listed 2026-08-17, due 2026-08-20
CISA's assessment (SSVC)
Exploitation: active · Automatable: yes · Technical impact: total, assessed 2026-08-18. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-94 Improper Control of Generation of Code (Code Injection)
CWE-352 Cross-Site Request Forgery (Cross Site Reference Forgery)
OWASP Top 10
A01:2025 Broken Access Control, A05:2025 Injection
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-62593 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-62593?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-62593?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-62593 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
anyscale:raybefore 2.52.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-q279-jhrf-cc6vPyPIray<2.52.02.52.0
PYSEC-2026-520PyPIray<2.52.02.52.0

Red Hat

Red Hat rates this Important.

Red Hat's statement

Red Hat has chosen to keep this as Important instead of Critical severity because the successful exploitation of this vulnerability requires user interaction in conjunction with a DNS rebinding attack.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat AI Inference Server 3.2rhaiis/vllm-cuda-rhel9:3.2.2-1765379088Fixed 2025-12-10RHSA-2025:23078
Red Hat AI Inference Server 3.2rhaiis/vllm-rocm-rhel9:3.2.2-1765379049Fixed 2025-12-10RHSA-2025:23079
Red Hat AI Inference Server 3.2rhaiis/model-opt-cuda-rhel9:3.2.2-1764871796Fixed 2025-12-10RHSA-2025:23080
Red Hat AI Inference Server 3.2rhaiis/vllm-cuda-rhel9:3.2.5-1765552580Fixed 2025-12-15RHSA-2025:23204
Red Hat AI Inference Server 3.2rhaiis/vllm-cuda-rhel9:1772160593Fixed 2026-02-27RHSA-2026:3461
Red Hat AI Inference Server 3.2rhaiis/vllm-rocm-rhel9:1772160625Fixed 2026-02-27RHSA-2026:3462
Red Hat AI Inference Server 3.2rhaiis/vllm-cuda-rhel9:1787860580Fixed 2026-08-31RHSA-2026:61627
Red Hat OpenShift AI 2.25rhoai/odh-kserve-agent-rhel9:v2.25.1-1765613316Fixed 2025-12-17RHSA-2025:23531
Red Hat OpenShift AI 2.25rhoai/odh-kserve-controller-rhel9:v2.25.1-1765613316Fixed 2025-12-17RHSA-2025:23531
Red Hat OpenShift AI 2.25rhoai/odh-kserve-router-rhel9:v2.25.1-1765613316Fixed 2025-12-17RHSA-2025:23531
Red Hat OpenShift AI 2.25rhoai/odh-kserve-storage-initializer-rhel9:v2.25.1-1765326513Fixed 2025-12-17RHSA-2025:23531
Red Hat OpenShift AI 3.2rhoai/odh-pipeline-runtime-datascience-cpu-py312-rhel9:1768223146Fixed 2026-01-22RHSA-2026:1027
Red Hat OpenShift AI 3.2rhoai/odh-pipeline-runtime-pytorch-cuda-py312-rhel9:1768225372Fixed 2026-01-22RHSA-2026:1027
Red Hat OpenShift AI 3.2rhoai/odh-pipeline-runtime-pytorch-rocm-py312-rhel9:1768223412Fixed 2026-01-22RHSA-2026:1027
Red Hat Enterprise Linux AI (RHEL AI) 3rhelai3/bootc-aws-cuda-rhel9Not affected
Red Hat Enterprise Linux AI (RHEL AI) 3rhelai3/bootc-azure-cuda-rhel9Not affected
Red Hat Enterprise Linux AI (RHEL AI) 3rhelai3/bootc-cuda-rhel9Not affected
Red Hat Enterprise Linux AI (RHEL AI) 3rhelai3/bootc-gcp-cuda-rhel9Not affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-model-registry-rhel9Not affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-vllm-cuda-rhel9Affected
9 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-62593.

GitHub PoC

Repositories on GitHub named after this CVE or listed for it by the PoC-in-GitHub index. For those marked Harbor Check: matches CVE, Flawharbor read the code and found it implements this CVE's exploitation technique: read, not run, and its dependencies only checked for warning signs, so a pointer and no guarantee. The rest are unverified: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it. How Harbor Check reads them, and what it found.

  • Boreas37/CVE-2025-62593-PoC Harbor Check: matches CVE 2 stars, Python, created
    PoC for CVE-2025-62593: unauthenticated RCE in Ray (CISA KEV). Stdlib-only Python.

Detection rules

Ways to detect this CVE, not exploit code: the nuclei template that checks a system for it, and the Suricata and Snort rules that name it. A rule set may ship a rule turned off, so check yours by its sid.

Attack patterns (CAPEC)

  • CAPEC-35 Leverage Executable Code in Non-Executable Files Likelihood: High · Severity: Very High
  • CAPEC-77 Manipulating User-Controlled Variables Likelihood: High · Severity: Very High
  • CAPEC-242 Code Injection Likelihood: High · Severity: High
  • CAPEC-62 Cross Site Request Forgery Likelihood: High · Severity: Very High
  • CAPEC-111 JSON Hijacking (aka JavaScript Hijacking) Likelihood: High · Severity: High
  • CAPEC-462 Cross-Domain Search Timing Severity: Medium
  • CAPEC-467 Cross Site Identification Severity: Low

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON