{"answers":{"affected":"3 open source packages ship an affected version, including ray. It affects 1 product.","exploited":"Yes. Attackers have exploited CVE-2025-62593 in the wild since at least 17 Aug 2026.","fix":"Upgrade ray to 2.52.0 or later. US federal agencies must fix it by 20 Aug 2026.","what":"CVE-2025-62593 is a critical server-side request forgery vulnerability in ray-project ray, published on 26 Nov 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2025-62593 and fix it if it is affected.\n\nWhat it is: CVE-2025-62593 is a critical server-side request forgery vulnerability in ray-project ray, published on 26 Nov 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: Yes. Attackers have exploited CVE-2025-62593 in the wild since at least 17 Aug 2026.\n\nAffected packages and fixed versions:\n- ray (PyPI): affected all versions; fixed in 2.52.0\n- ray (PyPI): affected all versions; fixed in 2.52.0\n- ray (PyPI): affected all versions; fixed in 2.52.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-62593/ (Markdown: https://insights.sbomify.com/CVE-2025-62593/index.md)","id":"CVE-2025-62593","markdown":"https://insights.sbomify.com/CVE-2025-62593/index.md","name":"CVE-2025-62593","record":{"aliases":["GHSA-q279-jhrf-cc6v","MINI-7qrw-8cwr-pcrr","MINI-rfwh-cfg3-jf99","PYSEC-2026-520"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Ray AI compute engine","requires_auth":"none","summary":"Attackers can achieve remote code execution on developers' machines by exploiting DNS rebinding and insufficient browser header validation in Ray.","user_interaction":"required","vuln_class":"ssrf"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"ray","vendor":"anyscale"}],"cvss":{"score":9.4,"severity":"critical","source":"cna","vector":"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","version":"4.0"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"},{"id":"CWE-352","name":"Cross-Site Request Forgery"}],"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.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":"2026-08-18","github_poc":2,"max_poc_stars":2,"metasploit":0,"nuclei":1,"refs":[{"date":"2026-08-18T20:11:31Z","kind":"github_poc","ref":"https://github.com/Boreas37/CVE-2025-62593-PoC","stars":2,"title":"PoC for CVE-2025-62593: unauthenticated RCE in Ray (CISA KEV). Stdlib-only Python."},{"date":"2026-09-01T18:29:40Z","kind":"github_poc","ref":"https://github.com/maxprog-svg/CVE-2026-33017","stars":0,"title":"CVE-2025-62593 — Ray Unauthenticated RCE Exploit is an unauthenticated remote code execution vulnerability in the Ray distributed AI compute engine. "},{"date":null,"kind":"nuclei","ref":"http/cves/2025/CVE-2025-62593.yaml","stars":null,"title":"Ray \u003c 2.52.0 - Remote Code Execution"}],"tier":"exploited"},"has_fix":true,"headline":"Ray-Project Ray Code Injection","id":"CVE-2025-62593","indexable":true,"kev":{"dateAdded":"2026-08-17","dueDate":"2026-08-20","knownRansomwareCampaignUse":"Unknown","product":"Ray","requiredAction":"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.","vendorProject":"Ray-Project","vulnerabilityName":"Ray-Project Ray Code Injection Vulnerability"},"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"ssrf","year":"2025"},"n_packages":3,"n_references":2,"next":{"headline":"ImageMagick CLAHE : Unsigned underflow and division-by-zero lead to OOB pointer arithmetic and process crash (DoS)","id":"CVE-2025-62594"},"packages":[{"ecosystem":"PyPI","fixed":["2.52.0"],"introduced":["0"],"last_affected":[],"package":"ray","purl":null,"source":"GHSA-q279-jhrf-cc6v"},{"ecosystem":"PyPI","fixed":["2.52.0"],"introduced":["0"],"last_affected":[],"package":"ray","purl":"pkg:pypi/ray","source":"GHSA-q279-jhrf-cc6v"},{"ecosystem":"PyPI","fixed":["2.52.0"],"introduced":["0"],"last_affected":[],"package":"ray","purl":"pkg:pypi/ray","source":"PYSEC-2026-520"}],"prev":{"headline":"Privilege escalation in Oracle VM VirtualBox","id":"CVE-2025-62592"},"products":["ray"],"published":"2025-11-26","related":[{"cvss_score":9.8,"headline":"Ray has arbitrary code execution via jobs submission API","id":"CVE-2023-48022","kev_date_added":null,"published":"2023-11-28"},{"cvss_score":9.1,"headline":"Server-side request forgery in n/a","id":"CVE-2023-48023","kev_date_added":null,"published":"2023-11-28"},{"cvss_score":8.9,"headline":"Ray: Remote Code Execution via Parquet Arrow Extension Type Deserialization","id":"CVE-2026-41486","kev_date_added":null,"published":"2026-05-08"},{"cvss_score":8.7,"headline":"Ray Dashboard \u003c= 2.8.0 Path Traversal Leading to Local File Disclosure","id":"CVE-2026-32981","kev_date_added":null,"published":"2026-03-17"},{"cvss_score":8.6,"headline":"Ray \u003c 2.56.0 Unsafe Deserialization RCE via WebDataset Reader","id":"CVE-2026-57516","kev_date_added":null,"published":"2026-07-01"},{"cvss_score":5.9,"headline":"Ray: Dashboard DELETE endpoints allow unauthenticated browser-triggered DoS (Serve shutdown / job deletion)","id":"CVE-2026-27482","kev_date_added":null,"published":"2026-02-21"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"open","licence":"CC0 1.0","name":"CISA KEV"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"MIT","name":"Nuclei templates"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"yes","exploitation":"active","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-10-01","vendors":["ray-project"]},"summary":"Attackers can achieve remote code execution on developers' machines by exploiting DNS rebinding and insufficient browser header validation in Ray.","url":"https://insights.sbomify.com/CVE-2025-62593/"}