CVE-2025-62593
Ray is vulnerable to RCE via Safari & Firefox Browsers through DNS Rebinding Attack
Also known as GHSA-q279-jhrf-cc6v, PYSEC-2026-520
Mitigation
- Upgrade ray to 2.52.0 or later.
Who should check
- Projects that depend on PyPI package ray (< 2.52.0)
- Anyone running ray-project ray < 2.52.0
Vulnerability facts
- Affected
- ray < 2.52.0
- Fixed in
- 2.52.0
- Exploited in the wild
- Yes: in CISA KEV since 2026-08-17; federal due date 2026-08-20
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 9.4 (v4.0, CNA)CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:HOpen in CVSS calculator
Show all 11 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Attack requirements: None
- Privileges required: None
- User interaction: Passive
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- Confidentiality impact on other systems: High
- Integrity impact on other systems: High
- Availability impact on other systems: High
- EPSS
- 2.70% chance of exploitation in 30 days (percentile 87, 2026-11-26)
- CWE
- CWE-94, CWE-352
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| PyPI ray | < 2.52.0 | 2.52.0 | osv |
| ray-project ray | < 2.52.0 | — | cvelist |
Timeline
- 2025-11-26 Published
- 2026-08-17 Added to CISA KEV (exploited in the wild)
- 2026-08-20 CISA remediation due date for US federal agencies
- 2026-10-19 Last modified
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2025-62593. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-62593.md Affected: ray < 2.52.0 Fixed in: 2.52.0 Steps: 1. Search this machine and project for ray (PyPI), ray-project ray: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Patches
Other
- https://www.bitsight.com/blog/rondodox-botnet-infrastructure-analysis
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-62593
- https://docs.ray.io/en/releases-2.51.1/ray-security/index.html
- https://en.wikipedia.org/wiki/Malvertising
- https://github.com/ray-project/ray
- https://github.com/ray-project/ray/blob/e7889ae542bf0188610bc8b06d274cbf53790cbd/python/ray/dashboard/http_server_head.py#L184-L196
- https://github.com/ray-project/ray/blob/f39a860436dca3ed5b9dfae84bd867ac10c84dc6/python/ray/dashboard/optional_utils.py#L129-L155
- https://pypi.org/project/ray
FAQ
Is CVE-2025-62593 being exploited?
Yes. CISA lists CVE-2025-62593 in its Known Exploited Vulnerabilities catalog since 2026-08-17, which means attacks have been seen. No public exploit code is known. EPSS estimates a 2.70% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-62593?
Critical: CVSS 9.4 (v4.0, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work.
Which versions are affected by CVE-2025-62593?
ray < 2.52.0.
Is there a fix for CVE-2025-62593?
Yes. Fixed in 2.52.0. Upgrade ray to 2.52.0 or later.
How do I check if I'm affected by CVE-2025-62593?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.