ray vulnerable to Insertion of Sensitive Information into Log File
Medium6.4CVE-2025-1979 · Published Mar 6, 2025 · updated Sep 10, 2026
Versions of the package ray before 2.43.0 are vulnerable to Insertion of Sensitive Information into Log File where the redis password is being logged in the standard logging. If the redis password is passed as an argument, it will be logged and could potentially leak the password. This is only exploitable if: 1) Logging is enabled; 2) Redis is using password authentication; 3) Those logs are accessible to an attacker, who can reach that redis instance. **Note:** It is recommended that anyone who is running in this configuration should update to the latest version of Ray, then rotate their redis password.
Affected versions
| Package | Affected | Fixed in |
|---|---|---|
| ray PyPI | < 2.43.0 | 2.43.0 |
Details and references
- CVSS 3.1
- CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:N
- Severity from
- GitHub (reviewed advisory)
- Weakness
- CWE-532
- Also known as
- CVE-2025-1979, PYSEC-2025-23
- nvd.nist.gov/vuln/detail/CVE-2025-1979
- github.com/ray-project/ray/issues/50266
- github.com/ray-project/ray/pull/50409
- github.com/ray-project/ray/commit/64a2e4010522d60b90c389634f24df77b603d85d
- github.com/pypa/advisory-database/tree/main/vulns/ray/PYSEC-2025-23.yaml
- github.com/ray-project/ray
- security.snyk.io/vuln/SNYK-PYTHON-RAY-8745212
More Ray advisories
All Ray| Date | Advisory | Severity | Fixed in |
|---|---|---|---|
| Apr 24 | Ray: Remote Code Execution via Parquet Arrow Extension Type Deserialization | High | 2.55.0 |
| Mar 17 | Ray Dashboard is vulnerable to path traversal through its static file handling mechanism | High7.5 | 2.8.1 |
| Feb 20 | Ray dashboard DELETE endpoints allow unauthenticated browser-triggered DoS (Serve shutdown / job deletion) | Medium5.9 | 2.54.0 |
| Nov 272025 | Ray's New Token Authentication is Disabled By Default | Critical | No fix yet |
| Nov 262025 | Ray is vulnerable to Critical RCE via Safari & Firefox Browsers through DNS Rebinding Attack | Critical | 2.52.0 |
| Nov 282023 | Ray has arbitrary code execution via jobs submission API | Critical9.8 | No fix yet |