---
id: CVE-2025-1979
aliases:
  - GHSA-w4rh-fgx7-q63m
  - PYSEC-2025-23
title: ray vulnerable to Insertion of Sensitive Information into Log File
summary: ray vulnerable to Insertion of Sensitive Information into Log File
severity: medium
cvss: 6.4
cvssVector: 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:N'
vendor: ray
product: ray
ecosystem: pip
affected:
  - ray < 2.43.0
patched:
  - ray 2.43.0
published: '2025-03-06'
updated: '2026-09-10'
sourceUpdated: '2026-09-10T03:50:23.292599120Z'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-w4rh-fgx7-q63m'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2025-1979'
  - url: 'https://github.com/ray-project/ray/issues/50266'
  - url: 'https://github.com/ray-project/ray/pull/50409'
  - url: >-
      https://github.com/ray-project/ray/commit/64a2e4010522d60b90c389634f24df77b603d85d
  - url: >-
      https://github.com/pypa/advisory-database/tree/main/vulns/ray/PYSEC-2025-23.yaml
  - url: 'https://github.com/ray-project/ray'
  - url: 'https://security.snyk.io/vuln/SNYK-PYTHON-RAY-8745212'
tags:
  - osv
  - pip
epss: 0.00192
epssPercentile: 0.0792
ingestedAt: '2026-08-07T19:14:14.931Z'
---

## Overview

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 packages

- `ray < 2.43.0`

## Remediation

Upgrade to a patched release:

- `ray 2.43.0`
