CVE-2026-27482: Ray dashboard DELETE endpoints allow unauthenticated browser-triggered DoS (Serve shutdown / job deletion)
Ray's dashboard blocks browser-origin POST and PUT requests but not DELETE, and its DELETE endpoints need no authentication by default. A web page can shut down Ray Serve or delete jobs on a reachable dashboard. Upgrade to Ray 2.54.0.
Published Feb 20, 2026 · Updated Feb 23, 2026 · Analysis Oct 31, 2026
What an attacker can do
In python/ray/dashboard/http_server_head.py, the middleware get_browsers_no_post_put_middleware uses user-agent, Origin and Sec-Fetch heuristics to reject browser requests, but only for POST and PUT. Three DELETE routes slip past it: /api/serve/applications/ in serve_head.py, which calls serve.shutdown(); /api/jobs/{job_or_submission_id} in job_head.py; and /api/job_agent/jobs/{job_or_submission_id} in job_agent.py, which is also not wrapped in deny_browser_requests. Dashboard token auth is optional and off by default.
The attacker needs the dashboard or agent reachable, for example started with --dashboard-host=0.0.0.0, which is common for remote access. A victim then opens a hostile page, or a page on the same network, which issues a fetch with method DELETE to port 8265 or the agent port 52365, including through DNS rebinding.
The result is availability loss: Serve goes down and jobs are deleted. The advisory states there is no code execution from this vector. The user-interaction requirement and high complexity keep the score at 5.9.
Who is affected
Ray below 2.54.0 is affected, when the dashboard or job agent is reachable beyond localhost and token auth is not enabled.
pip show rayCheck how the head node was started. A --dashboard-host=0.0.0.0 flag, or a dashboard port (8265) or agent port (52365) open to other hosts, means the endpoints can be reached.
ray
- Ecosystem
- PyPI
- Affected
- < 2.54.0
- Fixed in
- 2.54.0
- Check
pip show ray
How to fix it
Upgrade to Ray 2.54.0 or later; the fix is in pull request 60526.
pip install -U "ray>=2.54.0"The advisory names no workaround. Binding the dashboard to localhost and not exposing ports 8265 and 52365 to untrusted networks removes the preconditions it describes.
How to tell if you were hit
Search dashboard and proxy logs for DELETE requests to /api/serve/applications/, /api/jobs/ and /api/job_agent/jobs/, especially with a browser user agent such as Mozilla/5.0 or a rebound hostname in the Host header. Unexplained Serve shutdowns or vanished jobs are the visible symptom.
Original advisory
From the GitHub Advisory Database (CC BY 4.0).
Summary
Ray’s dashboard HTTP server blocks browser-origin POST/PUT but does not cover DELETE, and key DELETE endpoints are unauthenticated by default. If the dashboard/agent is reachable (e.g., --dashboard-host=0.0.0.0), a web page via DNS rebinding or same-network access can issue DELETE requests that shut down Serve or delete jobs without user interaction. This is a drive-by availability impact.
Details
- Middleware: python/ray/dashboard/http_server_head.py#get_browsers_no_post_put_middleware only checks POST/PUT via is_browser_request (UA/Origin/Sec-Fetch heuristics). DELETE is not gated.
- Endpoints lacking browser protection/auth by default:
- python/ray/dashboard/modules/serve/serve_head.py: @routes.delete("/api/serve/applications/") calls serve.shutdown().
- python/ray/dashboard/modules/job/job_head.py: @routes.delete("/api/jobs/{job_or_submission_id}").
- python/ray/dashboard/modules/job/job_agent.py: @routes.delete("/api/job_agent/jobs/{job_or_submission_id}") (not wrapped with deny_browser_requests either).
- Dashboard token auth is optional and off by default; binding to 0.0.0.0 is common for remote access.
PoC
Prereqs: dashboard reachable (e.g., ray start --head --dashboard-host=0.0.0.0), no token auth.
- Start Serve (or have jobs present).
- From any browser-reachable origin (DNS rebinding or same-LAN page), issue a DELETE fetch:
fetch("http://<dashboard-host>:8265/api/serve/applications/", {
method: "DELETE",
headers: { "User-Agent": "Mozilla/5.0" } // browsers set this automatically
});Result: Serve shuts down.
- Similarly, delete jobs:
fetch("http://<dashboard-host>:8265/api/jobs/<job_or_submission_id>", { method: "DELETE" }); fetch("http://<dashboard-agent>:52365/api/job_agent/jobs/<job_or_submission_id>", { method: "DELETE" });
Browsers will send the Mozilla UA and Origin/Sec-Fetch headers, but DELETE is not blocked by the middleware, so the requests succeed.
Impact
- Availability loss: Serve shutdown; job deletion. Triggerable via drive-by browser requests if the dashboard/agent ports are reachable and auth is disabled (default).
- No code execution from this vector, but breaks isolation/trust assumptions for “developer-only” endpoints.
Fix
The fix for this vulnerability is to update to Ray 2.54.0 or higher.
Fix PR: https://github.com/ray-project/ray/pull/60526
Credited to qi-scape.
Questions
- Can this lead to code execution?
No. The advisory says there is no code execution from this vector. The impact is shutting down Serve and deleting jobs.
- Am I safe if the dashboard only listens on localhost?
The advisory's prerequisite is a reachable dashboard or agent. A localhost-only binding does not meet it, though the advisory also mentions DNS rebinding as a delivery route for reachable hosts.
- Is it exploited in the wild?
No source reports exploitation, and it is not in CISA's KEV catalog.
References
Read for this analysis:
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. The analysis is written by an AI model from the sources listed above and checked by automated rules before it is published. Check versions against the vendor's advisory before you act. Methodology
More Ray vulnerabilities
All Ray entriesCVE-2026-57516
Ray: Arbitrary code execution via ray.data.read_webdataset default decoder: pickle.loads(value) and torch.load(weights_only=False)
high8.8Jul 24, 2026CVE-2026-41486
Ray: Remote Code Execution via Parquet Arrow Extension Type Deserialization
high8.9Apr 24, 2026CVE-2026-32981
Ray Dashboard is vulnerable to path traversal through its static file handling mechanism
high7.5Mar 17, 2026CVE-2025-34351
Ray's New Token Authentication is Disabled By Default
critical9.3No fixNov 27, 2025CVE-2025-62593
Ray is vulnerable to Critical RCE via Safari & Firefox Browsers through DNS Rebinding Attack
critical9.4ExploitedNov 26, 2025CVE-2025-1979
ray vulnerable to Insertion of Sensitive Information into Log File
medium6.4Mar 6, 2025
