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

Medium 5.7 Published Updated

Attackers with log access can steal Redis passwords from Ray logs, requiring log access and password auth.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2025-1979?

CVE-2025-1979 is a medium-severity vulnerability in ray, published on 6 Mar 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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.

Weakness: CWE-532

Which versions are affected by CVE-2025-1979?

3 open source packages ship an affected version, including ray.

PackageAffectedFixed in
ray PyPIAll versions2.43.0
ray PyPIAll versions2.43.0
ray PyPIAll versions2.43.0

How do I fix CVE-2025-1979?

Upgrade ray to 2.43.0 or later.

Is CVE-2025-1979 being exploited?

There is no known exploitation of CVE-2025-1979 in the wild and no public exploit code.

Sources

Also known as GHSA-w4rh-fgx7-q63m, PYSEC-2025-23.

Is CVE-2025-1979 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free