What’s Vulnerable › Vulnerabilities

CVE-2025-48493: Yii 2 Redis may expose AUTH paramters in logs in case of connection failure

Description

The Yii 2 Redis extension provides the redis key-value store support for the Yii framework 2.0. On failing connection, the extension writes commands sequence to logs. Prior to version 2.0.20, AUTH parameters are written in plain text exposing username and password. That might be an issue if attacker has access to logs. Version 2.0.20 fixes the issue.

Affected products

How to fix

Upgrade to a fixed version: yiisoft yii2-redis 2.0.20. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-48493 or the next vulnerability affects your stack