INCIDENT MAP

Browse / AI Framework and Platform Flaws / CVE-2025-34351

Ray's New Token Authentication is Disabled By Default

CVE-2025-34351 ยท 2025-11-27 critical

Class
AI Framework and Platform Flaws (filed by a model that read the advisory)
Technique
Authentication and access control
Affected
ray (PyPI)
CVSS
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

How it works, in short

Token authentication is off by default on Ray management interfaces, so a network attacker can submit jobs that run arbitrary code. (Our summary, written by a model. The source text is below.)

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.

References

Source: GitHub Advisory Database, used under CC BY 4.0.