NewApp Monitoring is liveSign up free
AgentbeamBeta
AI agent vulnerability · Ray

CVE-2026-32981: Ray Dashboard is vulnerable to path traversal through its static file handling mechanism

highCVSS 4.0 8.7 · 3.1 7.5GHSA-j3mh-qmjj-xp83

The Ray Dashboard, which listens on port 8265 by default, has a path traversal flaw in its static file handling in Ray before 2.8.1. An unauthenticated attacker who can reach the dashboard can use ../ sequences to read files outside the static directory. Upgrade the ray package to 2.8.1 or later.

Published Mar 17, 2026 · Updated Jun 9, 2026 · Analysis Oct 31, 2026

What an attacker can do

The dashboard serves static files from a fixed directory. The code did not properly validate or sanitize the user-supplied path, so traversal sequences such as ../ let a request escape that directory and return other files from the host. The result is local file disclosure (CWE-22). The CVSS vectors show no privileges and no user interaction needed, and only confidentiality is affected.

The attacker needs network access to port 8265. Ray clusters are often started on shared hosts or cloud machines, and the dashboard has no login by default, so any client that reaches the port can try. The sources give no example request.

Files an attacker could read depend on the account running the dashboard: configuration files, environment dumps, SSH keys, cloud credentials and training data on the head node. In an AI setup these often include model API keys and cloud storage credentials. The advisory describes file disclosure only, not code execution or file writes. The vulncheck page does not say whether the flaw is exploited.

Who is affected

The pip package ray before 2.8.1. The vulncheck page's title says <= 2.8.0 but its text says < 2.8.1. Check the version on the head node and on any machine that runs a dashboard:

pip show ray
ray --version

Clusters whose port 8265 is reachable from outside a trusted network are the most exposed.

ray

Ecosystem
PyPI
Affected
< 2.8.1
Fixed in
2.8.1
Check
pip show ray

How to fix it

Upgrade to ray 2.8.1 or later:

pip install --upgrade "ray>=2.8.1"

Restart the cluster so the head node runs the new version. The vulncheck page lists no mitigation. As a general precaution, not from the advisory, keep port 8265 reachable only from trusted hosts. Treat secrets on a head node that was exposed as possibly read, and rotate them.

How to tell if you were hit

Look in reverse proxy or network logs for requests to port 8265 with ../, %2e%2e or encoded slashes in the path, from addresses outside your team. Check the dashboard process's access log for responses to static paths that returned content from outside the dashboard's static folder. If the port was open to the internet, rotate credentials stored on the head node.

Original advisory

From the GitHub Advisory Database (CC BY 4.0).

A path traversal vulnerability was identified in Ray Dashboard (default port 8265) in Ray versions prior to 2.8.1. Due to improper validation and sanitization of user-supplied paths in the static file handling mechanism, an attacker can use traversal sequences (e.g., ../) to access files outside the intended static directory, resulting in local file disclosure.

Questions

Is Ray 2.8.0 affected by CVE-2026-32981?

Yes. Versions before 2.8.1 are affected, so 2.8.0 is vulnerable. Version 2.8.1 is the patched release.

Does the attacker need to log in?

No. The CVSS vector requires no privileges and no user interaction. The attacker needs network access to the dashboard, port 8265 by default.

Can this flaw run code on the cluster?

The advisory describes only local file disclosure. Stolen credentials from those files could still lead to wider access.

References

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 entries