# CVE-2021-39165: Unauthenticated SQL Injection

- Severity: High 8.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`
- 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): 8.17%, higher than 94% of CVEs (2026-12-01)
- Published: 2021-08-26T20:25:12.000Z
- Modified: 2026-07-08T06:28:53.263Z
- Also known as: GHSA-79mg-4w23-4fqc
- Weaknesses: CWE-89, CWE-287
- Assigned by: GitHub_M

## Description

Cachet is an open source status page. With Cachet prior to and including 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. The original repository of Cachet <https://github.com/CachetHQ/Cachet> is not active, the stable version 2.3.18 and it's developing 2.4 branch is affected.

(As written by CVE List.)

## Affected

- fiveai Cachet: <= 2.3.18
- cachethq/cachet (Packagist): up to 2.3.18
- chachethq cachet: before 2.3.18

## Every score

- GitHub_M: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`
- GitHub: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`
- 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`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:P/I:N/A:N`

## References

- <https://github.com/fiveai/Cachet/security/advisories/GHSA-79mg-4w23-4fqc> (third-party-advisory, web)
- <https://github.com/fiveai/Cachet/commit/27bca8280419966ba80c6fa283d985ddffa84bb6> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-39165> (advisory)

## Sources

- CVE List: [CVE-2021-39165](https://www.cve.org/CVERecord?id=CVE-2021-39165), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-79mg-4w23-4fqc](https://github.com/advisories/GHSA-79mg-4w23-4fqc), CC-BY-4.0, modified 2026-07-08
- NVD: [CVE-2021-39165](https://nvd.nist.gov/vuln/detail/CVE-2021-39165), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-39165 · Whole record: https://cve.day/CVE-2021-39165.json · Rebuilt by cve.day 2026-11-25T22:58:03.522Z
