{"id":"CVE-2021-39165","aliases":["GHSA-79mg-4w23-4fqc"],"url":"https://o3.security/vulnerability/CVE-2021-39165","summary":"Unauthenticated SQL Injection in Cachet","details":"### Impact\nIn Cachet versions through 2.3.18, there is a SQL injection which is in the `SearchableTrait#scopeSearch()`. Attackers without authentication can utilize this vulnerability to exfiltrate sensitive data from the database such as administrator's password and session.\n\n### Patches\n\nThe original repository of [https://github.com/CachetHQ/Cachet](https://github.com/CachetHQ/Cachet) is not active, the stable version 2.3.18 and it's developing 2.4 branch is affected. \n\nUpdate to version 2.5 or later in the [https://github.com/fiveai/Cachet fork](https://github.com/fiveai/Cachet) to fix this vulnerability.","published":"2021-08-26T21:15:10.053Z","modified":"2026-07-09T12:20:37.975480Z","cvss":{"score":6.5,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"},"epss":{"score":0.09752,"percentile":0.95143,"asOf":"2026-08-20"},"cisaKev":null,"exploitsKnown":2,"affectedPackages":[{"ecosystem":"Packagist","name":"cachethq/cachet","fixedVersion":null}],"fix":{"url":"https://github.com/fiveai/Cachet/commit/27bca8280419966ba80c6fa283d985ddffa84bb6","label":"fiveai/Cachet@27bca82"},"references":[{"type":"ADVISORY","url":"https://github.com/fiveai/Cachet/security/advisories/GHSA-79mg-4w23-4fqc"},{"type":"FIX","url":"https://github.com/fiveai/Cachet/commit/27bca8280419966ba80c6fa283d985ddffa84bb6"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-39165"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-09T12:20:37.975480Z"}}