{"id":"CVE-2021-39165","aliases":["CVE-2021-39165","GHSA-79mg-4w23-4fqc"],"related":[],"kind":"vulnerability","state":"published","title":"Unauthenticated SQL Injection","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### 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.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Cachet es una página de estado de código abierto. Con Cachet versiones anteriores a 2.3.18 incluyéndola, se presenta una inyección SQL que se encuentra en la función \"SearchableTrait#scopeSearch()\". Unos atacantes sin autenticación pueden utilizar esta vulnerabilidad para exfiltrar datos confidenciales de la base de datos, como la contraseña y la sesión del administrador. El repositorio original de Cachet (https://github.com/CachetHQ/Cachet) no está activo, la versión estable 2.3.18 y su rama 2.4 en desarrollo están afectadas.","source":"nvd"}],"published":"2021-08-26T20:25:12.000Z","modified":"2026-07-08T06:28:53.263Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","score":8.1,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","score":8.1,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","score":8.1,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":6.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","score":5,"rating":"MEDIUM"}],"cwes":["CWE-89","CWE-287"],"affected":[{"ranges":[{"version":"<= 2.3.18","status":"affected"}],"vendor":"fiveai","product":"Cachet","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","lastAffected":"2.3.18"}],"ecosystem":"Packagist","package":"cachethq/cachet","purl":"pkg:composer/cachethq/cachet","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"2.3.18"}],"vendor":"chachethq","product":"cachet","cpe":"cpe:2.3:a:chachethq:cachet:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/fiveai/Cachet/security/advisories/GHSA-79mg-4w23-4fqc","tags":["third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/fiveai/Cachet/commit/27bca8280419966ba80c6fa283d985ddffa84bb6","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-39165","tags":["advisory"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-39165","url":"https://www.cve.org/CVERecord?id=CVE-2021-39165","licence":"CVE Terms of Use","modified":"2024-08-04T01:58:18.142Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-79mg-4w23-4fqc","url":"https://github.com/advisories/GHSA-79mg-4w23-4fqc","licence":"CC-BY-4.0","modified":"2026-07-08T06:28:53.263Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-39165","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-39165","licence":"Public domain","modified":"2026-06-17T04:03:13.853Z"}],"updatedAt":"2026-11-25T22:58:03.522Z","epss":{"score":0.08172,"percentile":0.94986,"date":"2026-12-01T12:00:22.000Z"}}