Exploited vulnerabilities · Ray-Project
CVE-2025-62593
Ray-Project Ray Code Injection Vulnerability
Ray-Project Ray contains a code injection vulnerability that could allow remote code execution. Developers using Ray as a development tool may be exposed to this vulnerability exploitable through Firefox and Safari.
Description in the NVD
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.
Required action according to CISA
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.
What to do now
- Check your exposureFind out whether Ray-Project Ray runs anywhere in your environment, including systems of suppliers.
- Patch or mitigateApply the vendor update. If that is not possible at once, use the vendor's mitigation or take the system off the network.
- Look for signs of an attackThis vulnerability is exploited in real attacks. Review the logs of affected systems for the time before the patch.
References
- github.com/ray-project/ray/security/advisories/GHSA-q279-jhrf-cc6v
- github.com/nccgroup/singularity/pull/68
- github.com/ray-project/ray/commit/70e7c72780bdec075dba6cad1afe0832772bfe09
- docs.ray.io/en/releases-2.51.1/ray-security/index.html
- en.wikipedia.org/wiki/Malvertising
- github.com/ray-project/ray/blob/e7889ae542bf0188610bc8b06d274cbf53790cbd/python/ray/dashbo
- github.com/ray-project/ray/blob/f39a860436dca3ed5b9dfae84bd867ac10c84dc6/python/ray/dashbo
- nvd.nist.gov/vuln/detail/CVE-2025-62593
- nvd.nist.gov/vuln/detail/CVE-2025-62593
Data: CISA Known Exploited Vulnerabilities Catalog and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.