Quantum Secular Labs / Blog / Advisories
CVE-2025-62593: Ray-Project Ray Code Injection Vulnerability
CVE-2025-62593 is rated critical with a CVSS v4.0 base score of 9.4 and affects Ray-Project Ray. Per its scoring, it can be exploited over the network, without authentication. The scored impact on confidentiality, integrity and availability is the highest available. CISA added it to its Known Exploited Vulnerabilities catalog on 2026-08-17, which means exploitation in the wild has been observed.
Vulnerability 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.
Severity breakdown
CVSS v4.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/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
- Attack vector: Network. Exploitable remotely over the network.
- Attack complexity: Low. No special conditions; the attack can be repeated reliably.
- Attack requirements: None. No deployment or execution conditions are needed.
- Privileges required: None. No account or prior access is needed.
- User interaction: Passive. A user takes limited, routine action.
- Confidentiality impact (vulnerable system): High. Total loss of confidentiality.
- Integrity impact (vulnerable system): High. Total loss of integrity.
- Availability impact (vulnerable system): High. Total loss of availability.
- Confidentiality impact (subsequent systems): High. Total loss of confidentiality on other systems.
- Integrity impact (subsequent systems): High. Total loss of integrity on other systems.
- Availability impact (subsequent systems): High. Total loss of availability of other systems.
Underlying weakness
CWE-94: Improper Control of Generation of Code
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-352: Cross-Site Request Forgery
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 products
- Anyscale Ray: before 2.52.0
References
- https://github.com/ray-project/ray/commit/70e7c72780bdec075dba6cad1afe0832772bfe09
- https://github.com/ray-project/ray/security/advisories/GHSA-q279-jhrf-cc6v
- https://www.bitsight.com/blog/rondodox-botnet-infrastructure-analysis
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-62593