Ray is vulnerable to RCE via Safari & Firefox Browsers through DNS Rebinding Attack
Exploited in the wild, in CISA KEV since 17 Aug 2026 (due 20 Aug 2026), with 2 public exploits. No fixed version is recorded.
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.
Briefing
Written from the sources below · deepseek-v4.1-flash
Ray, an AI compute engine, is affected by a critical remote code execution vulnerability before version 2.52.0, exploitable against developers running Ray who visit a malicious website via DNS rebinding in Firefox or Safari. The browser defense relying on the User-Agent header is insufficient. Patched in version 2.52.0.
Why it mattersListed in CISA KEV with confirmed exploitation and public nuclei templates, giving attackers a ready path to compromise exposed Ray developers who browse malicious sites or ads. Hostile ads make exposure likely.
ActionUpgrade Ray to 2.52.0 or later.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Ray-Project | Ray | <2.52.0 |
Exploit evidence
2 public sources
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Ray, strongest first
Embed
A live severity badge for an advisory, README or ticket