Ray's New Token Authentication is Disabled By Default
Published 27 Nov 2025 · Updated 10 Sept 2026
Is your project on an affected ray?
Look after several Python apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Affected package
- Affected
- <=2.52.0
- Fixed in
- No fix released
Details
Anyscale Ray 2.52.0 contains an insecure default configuration in which token-based authentication for Ray management interfaces (including the dashboard and Jobs API) is disabled unless explicitly enabled by setting RAY_AUTH_MODE=token. In the default unauthenticated state, a remote attacker with network access to these interfaces can submit jobs and execute arbitrary code on the Ray cluster. NOTE: The vendor plans to enable token authentication by default in a future release. They recommend enabling token authentication to protect your cluster from unauthorized access.
Is GHSA-gx77-xgc2-4888 in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected ray, and gives you the command that fixes it.
More advisories for ray
- HighCVE-2026-57516Ray: Arbitrary code execution via ray.data.read_webdataset default decoder: pickle.loads(value) and torch.load(weights_only=False) · 24 Jul 2026
- HighCVE-2026-41486Ray: Remote Code Execution via Parquet Arrow Extension Type Deserialization · 24 Apr 2026
- HighCVE-2026-32981Ray Dashboard is vulnerable to path traversal through its static file handling mechanism · 17 Mar 2026
- MediumCVE-2026-27482Ray dashboard DELETE endpoints allow unauthenticated browser-triggered DoS (Serve shutdown / job deletion) · 20 Feb 2026
- CriticalCVE-2025-62593Ray is vulnerable to Critical RCE via Safari & Firefox Browsers through DNS Rebinding Attack · 26 Nov 2025
- MediumCVE-2025-1979ray vulnerable to Insertion of Sensitive Information into Log File · 6 Mar 2025
References
- Linkgithub.com/JLLeitschuh/security-research/security/advisories/GHSA-w8vc-465m-jjw6
- Advisorynvd.nist.gov/vuln/detail/CVE-2025-34351
- Linkdocs.ray.io/en/latest/ray-security/token-auth.html
- Packagegithub.com/ray-project/ray
- Linkgithub.com/ray-project/ray/releases/tag/ray-2.52.0
- Linkwww.cve.org/resourcessupport/allresources/cnarules#section_4-1_Vulnerability_Determination
- Linkwww.linkedin.com/posts/jonathan-leitschuh_the-latest-piece-of-mind-bending-research-activity-7396976425997606912-qizE
- Linkwww.oligo.security/blog/shadowray-2-0-attackers-turn-ai-against-itself-in-global-campaign-that-hijacks-ai-into-self-propagating-botnet
- Linkwww.oligo.security/blog/shadowray-attack-ai-workloads-actively-exploited-in-the-wild
- Linkwww.vulncheck.com/advisories/anyscale-ray-token-authentication-disabled-by-default-insecure-configuration
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.