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

- Severity: Medium 5.7 (CVSS:4.0, scored by snyk) `CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:L/SI:L/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.19%, higher than 9% of CVEs (2026-12-01)
- Published: 2025-03-06T05:00:02.068Z
- Modified: 2026-09-10T03:50:23.292Z
- Also known as: GHSA-w4rh-fgx7-q63m, PYSEC-2025-23
- Weaknesses: CWE-532
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: snyk

## Description

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.

(As written by CVE List.)

## Affected

- ray: before 2.43.0
- ray (PyPI): before 2.43.0; before 64a2e4010522d60b90c389634f24df77b603d85d

## Every score

- snyk: CVSS:4.0 5.7 Medium `CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:L/SI:L/SA:N`
- snyk: CVSS:3.1 6.4 Medium `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:N`
- GitHub: CVSS:3.1 6.4 Medium `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:N`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:L/SI:L/SA:N`

## References

- <https://security.snyk.io/vuln/SNYK-PYTHON-RAY-8745212> (web)
- <https://github.com/ray-project/ray/pull/50409> (web)
- <https://github.com/ray-project/ray/commit/64a2e4010522d60b90c389634f24df77b603d85d> (fix, web)
- <https://github.com/ray-project/ray/issues/50266> (report, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-1979> (advisory)
- <https://github.com/pypa/advisory-database/tree/main/vulns/ray/PYSEC-2025-23.yaml> (web)
- <https://github.com/ray-project/ray> (package)
- <https://github.com/advisories/GHSA-w4rh-fgx7-q63m> (advisory)

## Sources

- CVE List: [CVE-2025-1979](https://www.cve.org/CVERecord?id=CVE-2025-1979), CVE Terms of Use, modified 2025-03-06
- GitHub Advisory Database: [GHSA-w4rh-fgx7-q63m](https://github.com/advisories/GHSA-w4rh-fgx7-q63m), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2025-1979](https://nvd.nist.gov/vuln/detail/CVE-2025-1979), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2025-23](https://osv.dev/vulnerability/PYSEC-2025-23), CC-BY-4.0, modified 2026-06-10

---

Page: https://cve.day/CVE-2025-1979 · Whole record: https://cve.day/CVE-2025-1979.json · Rebuilt by cve.day 2026-11-25T22:58:55.005Z
