Yii 2 Redis may expose AUTH paramters in logs in case of connection failure
Key facts
- Attack vector
- Network
- Privileges required
- High
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- Present
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- Low · Low · Low
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-532.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Yiiframework | yii2-redis | before 2.0.20 | 2.0.20 | Patch available | CNA |
| — | yiisoft/yii2-redis (Packagist) | before 2.0.20 | 2.0.20 | Patch available | GHSA-g3p6-82vc-43jh |
- yii2-redis VendorYiiframework Affected before 2.0.20 Fixed in 2.0.20 Patch available CNA
- yiisoft/yii2-redis (Packagist) Vendor— Affected before 2.0.20 Fixed in 2.0.20 Patch available GHSA-g3p6-82vc-43jh
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:yiiframework:yii2-redis:*:*:*:*:*:*:*:* | before 2.0.20 | Vulnerable | Yiiframework |
- cpe:2.3:a:yiiframework:yii2-redis:*:*:*:*:*:*:*:* Versions before 2.0.20 Vulnerable ·Yiiframework
Remediation
- Fix · CNA yii2-redis (yiisoft) Fixed in 2.0.20
- Fix · GHSA-g3p6-82vc-43jh yiisoft/yii2-redis (Packagist) Fixed in 2.0.20 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2025-48493
- 2026-10-03 Alias added: GHSA-g3p6-82vc-43jh
References
Sources
- CVE-2025-48493 · CVE Program
- CVE-2025-48493 · NVD
- FIRST EPSS
- GHSA-g3p6-82vc-43jh · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences