CVE-2025-62593: Ray-Project Ray Code Injection
Ray-Project Ray · listed in the CISA catalog of actively exploited vulnerabilities since 2026-08-17.
- CVSS v4.0 (CVE record)
- 9.4
- critical
- EPSS (exploit probability, 30 days)
- 60%
- higher than 99.1% of all CVEs
- Added to CISA KEV
- 2026-08-17
- US federal due date 2026-08-20
- Automatable (CISA SSVC)
- yes
- technical impact: total
CVE-2025-62593 explained
CVE-2025-62593 is a critical code injection flaw in Ray, an AI compute engine, before version 2.52.0. Ray's defense against browser-based attacks relies on the User-Agent header, which can be modified. A developer running Ray who visits a malicious website or sees a malicious advertisement in Firefox or Safari can trigger remote code execution. CISA lists it as known exploited.
Impact
Combined with DNS rebinding, an attacker can execute code on a developer's machine running Ray. The developer only has to visit a malicious website or be served a malicious advertisement in Firefox or Safari. CISA rates the flaw as automatable, meaning it can be exploited at scale, with total technical impact: full control of the affected component. Attackers are known to exploit it. Whether ransomware groups use it is unknown.
Who is affected
The CVE record lists ray-project ray versions before 2.52.0 as affected. The description states the issue was patched in version 2.52.0. The structured fixedIn field of the CVE record names no fixed version, so confirm the fixed release in the vendor advisory.
Written with AI from the data on this page and checked against it automatically.
Official 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.
CISA required action: Apply mitigations in accordance with vendor instructions, ensuring compliance with CISA’s BOD 26-04 Prioritizing Security Updates Based on Risk guidance and CISA’s “Forensics Triage Requirements”. 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 notes
Affected and fixed versions
From the CVE record published by the vendor or CVE numbering authority.
- ray-project rayAffectedFixed in
- < 2.52.0
not stated
| Product | Affected | Fixed in |
|---|---|---|
| ray-project ray |
| not stated |
How to fix it
- The CVE record names no fixed version – check the vendor advisory and CISA's required action for updates and mitigations.
- Vendor advisory: github.com/ray-project/ray/security/advisories/GHSA-q279-…
- CISA's deadline for US federal agencies: 2026-08-20 (passed) – a useful benchmark for everyone else, too.
What to do
- Upgrade Ray to version
2.52.0or later, as stated in the description, after confirming it in the vendor advisory. - Apply mitigations according to the vendor instructions and CISA's required action, including BOD 26-04 guidance.
- Do not browse untrusted websites in Firefox or Safari on machines running Ray until it is updated.
- Restrict network exposure of Ray services and review each asset's internet exposure.
- Check developer machines that ran affected Ray versions for signs of compromise, following CISA's forensics triage requirements.
The CVE record's fixedIn field names no fixed version, although the description says the issue was patched in 2.52.0. Confirm the fixed release in the vendor advisory. Until updated, follow CISA's required action: apply vendor mitigations per BOD 26-04 guidance, or discontinue use of the product if mitigations are unavailable. Avoid browsing untrusted sites on machines running Ray.
Written with AI from the data on this page and checked against it automatically.
CISA's assessment (SSVC)
- Exploitation
- Exploited in the wild
- Automatable
- Yes – attackers can automate it at scale
- Technical impact
- Total – full control of the component or total information disclosure
Weakness: CWE-94 Improper Control of Generation of Code ('Code Injection'), CWE-352 Cross-Site Request Forgery (CSRF)
Questions about CVE-2025-62593
- Is this vulnerability being exploited?
- Yes. CISA added CVE-2025-62593 to its Known Exploited Vulnerabilities catalog on 2026-08-17, with a US federal due date of 2026-08-20. Known ransomware use is listed as unknown.
- Who is at risk?
- Developers running Ray before
2.52.0who browse with Firefox or Safari. Visiting a malicious website or being served a malicious advertisement can let an attacker execute code through a DNS rebinding attack. - Why does the existing protection fail?
- Ray checks whether the User-Agent header starts with "Mozilla" to block browser requests. The fetch specification allows that header to be modified, so the check is insufficient.
Written with AI from the data on this page and checked against it automatically.
References
Data: CISA Known Exploited Vulnerabilities (public domain) · CVE Program records incl. CISA ADP enrichment · OSV.dev (CC BY 4.0) incl. Ubuntu and Debian security data · FIRST EPSS · endoflife.date. Updated automatically – facts last changed 2026-11-21. Always confirm with the vendor's or distribution's advisory before patching.