CVE-2025-48493: yiisoft yii2-redis · Sensitive Data in Logs
Affects yiisoft yii2-redisSource CVE Database V5
Not known to be exploited · CVSS 5.1 Medium : upgrade to 2.0.20 when convenient.
Data as of 26 Oct 2026, 06:26 UTC
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 26% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 2.0.20
CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:L/VI:L/VA:L/SC:L/SI:L/SA:HExploitation evidence
Disclosed: evidence found.
CVE published 5 Jun 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-26.
What to do
Upgrade yiisoft/yii2-redis to 2.0.20.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
GitHubyiisoft/yii2-redispkg:github/yiisoft/yii2-redisOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
1. Upgrade yii2-redis to version 2.0.20 or later, where the vulnerability is fixed and AUTH parameters are no longer logged in plaintext. 2. Restrict access to log files strictly using file system permissions and access control lists to ensure only authorized personnel and processes can read logs. 3. Implement centralized logging solutions with encryption and access controls to prevent unauthorized log access. 4. Regularly audit logs and access permissions to detect any unauthorized access attempts. 5. Rotate Redis authentication credentials regularly and immediately after any suspected exposure. 6. Monitor Redis server access logs and application logs for unusual authentication failures or access patterns. 7. Consider using environment variables or secure vault solutions to manage Redis credentials, minimizing their exposure in application configurations and logs. 8. Educate developers and system administrators about the risks of logging sensitive information and enforce secure logging practices across the organization.
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.