# CVE-2026-32981: Anyscale Ray path traversal in Ray Dashboard

Source: https://junglewise.ai/threats/cve-2026-32981-anyscale-ray-path-traversal-in-ray-dashboard  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-03-17. Updated: 2026-06-30  
License: CC BY 4.0 with a link back

CVE-2026-32981 · Severity: high · CVSS 7.5 · Published 2026-03-17

A security vulnerability has been identified in the Ray Dashboard, a tool used to monitor and manage distributed AI and machine learning workloads. An attacker can exploit this flaw to bypass security restrictions and read sensitive files directly from the server's local storage. This could lead to the exposure of configuration files, credentials, or other private data, potentially compromising the entire AI infrastructure.

Technologies: [ray (PyPI)](https://junglewise.ai/threats/technologies/ray), [Red Hat AI Inference Server](https://junglewise.ai/threats/technologies/ai-inference-server). Vendors: [PyPI](https://junglewise.ai/threats/vendors/pypi), [Red Hat](https://junglewise.ai/threats/vendors/red-hat).

## Quick answers

**Is CVE-2026-32981 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-32981 being exploited in the wild.

**How severe is CVE-2026-32981?** High severity, with a CVSS score of 7.5, published 17 March 2026.

**Which products and versions are affected?** ray (PyPI) < 2.8.1, ECOSYSTEM:introduced=0,fixed=2.8.1.

**Is there a fix for CVE-2026-32981?** Yes. ray (PyPI): upgrade to 2.8.1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-32981 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2026-32981?** Check whether you run ray (PyPI) or Red Hat AI Inference Server at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- ray (PyPI): upgrade to 2.8.1 or later

  ```sh
  pip install "ray>=2.8.1"
  ```


## Technical details

A path traversal vulnerability exists in the Ray Dashboard's static file handling mechanism due to improper validation and sanitization of user-supplied input. By sending specially crafted requests containing traversal sequences (e.g., '../'), an unauthenticated remote attacker can access arbitrary files on the host system that are readable by the Ray process. The vulnerability is located in the component serving static assets, typically listening on port 8265. This issue was addressed in Ray version 2.8.1 by implementing stricter path validation. Red Hat has also issued advisories for affected products that bundle Ray, such as OpenShift AI.

## Affected products

- Anyscale Ray < 2.8.1
- Red Hat Red Hat OpenShift AI 2.25, 3.3
- Red Hat Red Hat Enterprise Linux AI (RHEL AI) 3
- Red Hat Red Hat AI Inference Server 3.2

## Identifiers

- CVE-2026-32981
- GHSA-j3mh-qmjj-xp83
- PYSEC-2026-130

## Timeline

- 2026-03-17: disclosed
- 2026-03-17: advisory
- 2026-05-20: patched: Red Hat released patches for OpenShift AI via RHSA-2026:19712

## References

- [https://github.com/ray-project/ray](https://github.com/ray-project/ray)
- [https://packetstorm.news/files/id/215801/](https://packetstorm.news/files/id/215801/)
- [https://www.vulncheck.com/advisories/ray-dashboard-path-traversal-leading-to-local-file-disclosure](https://www.vulncheck.com/advisories/ray-dashboard-path-traversal-leading-to-local-file-disclosure)
- [https://access.redhat.com/errata/RHSA-2026:19712](https://access.redhat.com/errata/RHSA-2026:19712)
- [https://access.redhat.com/errata/RHSA-2026:24977](https://access.redhat.com/errata/RHSA-2026:24977)
- [https://access.redhat.com/errata/RHSA-2026:5809](https://access.redhat.com/errata/RHSA-2026:5809)
- [https://access.redhat.com/errata/RHSA-2026:6761](https://access.redhat.com/errata/RHSA-2026:6761)

## Related threats

- [Ray unsafe deserialization in WebDataset and Parquet readers](https://junglewise.ai/threats/cve-2026-57516-ray-unsafe-deserialization-in-webdataset-and-parquet-readers)
- [PYSEC-2026-515 - Ray Path Traversal vulnerability](https://junglewise.ai/threats/cve-2023-6021-ray-path-traversal-in-log-api)
- [PYSEC-2026-517 - Ray has arbitrary code execution via jobs submission API](https://junglewise.ai/threats/cve-2023-48022-ray-has-arbitrary-code-execution-via-jobs-submission-api)
- [PYSEC-2026-516 - Ray Missing Authorization vulnerability](https://junglewise.ai/threats/cve-2023-6020-ray-missing-authorization-vulnerability)
- [PYSEC-2026-519 - Ray OS Command Injection vulnerability](https://junglewise.ai/threats/cve-2023-6019-ray-os-command-injection-vulnerability)
