CRITICAL9.8
PYSEC-2026-519
Ray OS Command Injection vulnerability
Quick fix
PYSEC-2026-519 — ray: upgrade to the fixed version with the command below.
pip install --upgrade 'ray>=2.8.1'Details
A command injection exists in Ray's cpu_profile URL parameter allowing attackers to execute os commands on the system running the ray dashboard remotely without authentication.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://nvd.nist.gov/vuln/detail/CVE-2023-6019[ADVISORY]
- https://github.com/ray-project/ray[WEB]
- https://github.com/ray-project/ray/releases/tag/ray-2.8.1[WEB]
- https://huntr.com/bounties/d0290f3c-b302-4161-89f2-c13bb28b4cfe[WEB]
- https://www.anyscale.com/blog/update-on-ray-cves-cve-2023-6019-cve-2023-6020-cve-2023-6021-cve-2023-48022-cve-2023-48023[WEB]
- https://pypi.org/project/ray[PACKAGE]
- https://github.com/advisories/GHSA-h3xg-wv58-5p43[ADVISORY]
Check it before you install it
One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.
curl -s https://vdb.ai.kr/v1/ai/check-packages \
-H 'Content-Type: application/json' \
-d '{"packages":["pkg:pypi/ray"]}'