# CVE-2025-1979: ray vulnerable to Insertion of Sensitive Information into Log File

Source: https://junglewise.ai/threats/cve-2025-1979-ray-vulnerable-to-insertion-of-sensitive-information-into-log-file  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2025-03-06  
License: CC BY 4.0 with a link back

CVE-2025-1979 · Severity: low · CVSS 3.1 · Published 2025-03-06

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.

Technologies: [ray (PyPI)](https://junglewise.ai/threats/technologies/ray). Vendors: [PyPI](https://junglewise.ai/threats/vendors/pypi).

## Quick answers

**Is CVE-2025-1979 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2025-1979 being exploited in the wild.

**How severe is CVE-2025-1979?** Low severity, with a CVSS score of 3.1, published 6 March 2025.

**Which products and versions are affected?** ray (PyPI) ECOSYSTEM:introduced=0,fixed=2.43.0, GIT:introduced=0,fixed=64a2e4010522d60b90c389634f24df77b603d85d|ECOSYSTEM:introduced=0,fixed=2.43.0.

**Is there a fix for CVE-2025-1979?** Yes. ray (PyPI): upgrade to 2.43.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2025-1979?** Check whether you run ray (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- ray (PyPI): upgrade to 2.43.0 or later

  ```sh
  pip install "ray>=2.43.0"
  ```


## Affected products

- ray (PyPI) ECOSYSTEM:introduced=0,fixed=2.43.0, GIT:introduced=0,fixed=64a2e4010522d60b90c389634f24df77b603d85d|ECOSYSTEM:introduced=0,fixed=2.43.0

## Identifiers

- CVE-2025-1979
- GHSA-w4rh-fgx7-q63m
- PYSEC-2025-23

## Related threats

- [Ray unsafe deserialization in WebDataset and Parquet readers](https://junglewise.ai/threats/cve-2026-57516-ray-unsafe-deserialization-in-webdataset-and-parquet-readers)
- [PYSEC-2026-515 - Ray Path Traversal vulnerability](https://junglewise.ai/threats/cve-2023-6021-ray-path-traversal-in-log-api)
- [PYSEC-2026-517 - Ray has arbitrary code execution via jobs submission API](https://junglewise.ai/threats/cve-2023-48022-ray-has-arbitrary-code-execution-via-jobs-submission-api)
- [PYSEC-2026-516 - Ray Missing Authorization vulnerability](https://junglewise.ai/threats/cve-2023-6020-ray-missing-authorization-vulnerability)
- [PYSEC-2026-519 - Ray OS Command Injection vulnerability](https://junglewise.ai/threats/cve-2023-6019-ray-os-command-injection-vulnerability)
