CVE-2025-1979
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.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
rayPyPI | < 2.43.0 | 2.43.0 |
Patches
264a2e4010522[core] Redact redis password in log (#50409)
1 file changed · +4 −1
python/ray/util/client/server/server.py+4 −1 modified@@ -892,7 +892,10 @@ def main(): ) hostport = "%s:%d" % (args.host, args.port) - logger.info(f"Starting Ray Client server on {hostport}, args {args}") + args_str = str(args) + if args.redis_password: + args_str = args_str.replace(args.redis_password, "****") + logger.info(f"Starting Ray Client server on {hostport}, args {args_str}") if args.mode == "proxy": server = serve_proxier( hostport,
744eaa949703Vulnerability mechanics
Generated by null/stub on May 9, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.
References
7- github.com/advisories/GHSA-w4rh-fgx7-q63mghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2025-1979ghsaADVISORY
- github.com/pypa/advisory-database/tree/main/vulns/ray/PYSEC-2025-23.yamlghsaWEB
- github.com/ray-project/ray/commit/64a2e4010522d60b90c389634f24df77b603d85dnvdWEB
- github.com/ray-project/ray/issues/50266nvdWEB
- github.com/ray-project/ray/pull/50409nvdWEB
- security.snyk.io/vuln/SNYK-PYTHON-RAY-8745212nvdWEB
News mentions
0No linked articles in our index yet.