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

- Severity: Medium 5.1 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:L/VI:L/VA:L/SC:L/SI:L/SA:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.34%, higher than 30% of CVEs (2026-12-01)
- Published: 2025-06-05T16:33:20.330Z
- Modified: 2026-06-17T09:29:42.943Z
- Also known as: GHSA-g3p6-82vc-43jh
- Weaknesses: CWE-532
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- yiisoft yii2-redis: < 2.0.20
- yiisoft/yii2-redis (Packagist): before 2.0.20
- yiiframework yii2-redis: before 2.0.20

## Every score

- GitHub_M: CVSS:4.0 5.1 Medium `CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:L/VI:L/VA:L/SC:L/SI:L/SA:H`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:L/VI:L/VA:L/SC:L/SI:L/SA:H`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/yiisoft/yii2-redis/security/advisories/GHSA-g3p6-82vc-43jh> (vendor-advisory, web)
- <https://github.com/yiisoft/yii2-redis/commit/962252d2c57c187181e67bb66da3f27b4698358d> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-48493> (advisory)
- <https://github.com/yiisoft/yii2-redis> (package)

## Sources

- CVE List: [CVE-2025-48493](https://www.cve.org/CVERecord?id=CVE-2025-48493), CVE Terms of Use, modified 2025-06-09
- GitHub Advisory Database: [GHSA-g3p6-82vc-43jh](https://github.com/advisories/GHSA-g3p6-82vc-43jh), CC-BY-4.0, modified 2025-06-06
- NVD: [CVE-2025-48493](https://nvd.nist.gov/vuln/detail/CVE-2025-48493), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-48493 · Whole record: https://cve.day/CVE-2025-48493.json · Rebuilt by cve.day 2026-11-25T22:58:58.796Z
