CVE-2025-1979: Ray Package Vulnerable to Sensitive Information Logging
Summary
CVE-2025-1979: ray vulnerable to Insertion of Sensitive Information into Log File. Affects ray versions < 2.43.0. Fixed in 2.43.0. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
Ray is an open-source framework designed for building and running distributed applications. It provides a simple interface for parallel and distributed computing, allowing developers to scale their applications seamlessly. However, prior to version 2.43.0, Ray had a vulnerability that could lead to sensitive information, specifically Redis passwords, being logged inappropriately, posing a security risk.
Vulnerability Detail
The vulnerability in Ray arises from the logging mechanism that captures sensitive information, such as Redis passwords, when passed as arguments. This information is logged in standard logging outputs, which can be accessed by unauthorized users if logging is enabled, Redis is configured with password authentication, and the logs are accessible to an attacker. The potential ramifications include unauthorized access to Redis instances, leading to data breaches and compromised systems.
How To Fix
Latest published version: 2.59.0 as of 23 Oct 2026
pip install --upgrade "ray==2.59.0"
Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.
If you need the minimum change
2.43.0
This is the first release that contains the fix.
pip install --upgrade "ray==2.43.0"
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
As a temporary workaround, users can disable logging or ensure that sensitive information is not passed as arguments to the Ray functions. However, this is not a permanent solution and updating the package is strongly recommended.
Conclusion
In summary, the Ray package has a vulnerability (CVE-2025-1979) that can lead to sensitive information being logged. Users are advised to update to version 2.43.0 or later to mitigate this risk. Additionally, utilizing tools like Vulert can help monitor for such vulnerabilities in real-time.
See every vulnerability recorded for ray →
FAQ
CVE-2025-1979 is a vulnerability in the Ray package that allows sensitive information, such as Redis passwords, to be logged, potentially exposing it to unauthorized users.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.
If exploited, this vulnerability can lead to unauthorized access to Redis instances, resulting in data breaches and compromised security.
Yes, the vulnerability is patched in Ray version 2.43.0 and later. It is recommended to update to this version to mitigate the risk.
Vulert is a monitoring tool that alerts users in real-time about open-source vulnerabilities in their software, using just the Pipfile.lock for analysis.
References
Related vulnerabilities
Recent vulnerabilities recorded for ray.