{"id":"CVE-2021-39173","aliases":["CVE-2021-39173","GHSA-r67m-m8c7-jp83"],"related":[],"kind":"vulnerability","state":"published","title":"Forced reinstall","summary":"Cachet is an open source status page system. Prior to version 2.5.1 authenticated users, regardless of their privileges (User or Admin), can trick Cachet and install the instance again, leading to arbitrary code execution on the server. This issue was addressed in version 2.5.1 by improving the middleware `ReadyForUse`, which now performs a stricter validation of the instance name. As a workaround, only allow trusted source IP addresses to access to the administration dashboard.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Cachet is an open source status page system. Prior to version 2.5.1 authenticated users, regardless of their privileges (User or Admin), can trick Cachet and install the instance again, leading to arbitrary code execution on the server. This issue was addressed in version 2.5.1 by improving the middleware `ReadyForUse`, which now performs a stricter validation of the instance name. As a workaround, only allow trusted source IP addresses to access to the administration dashboard.","source":"cvelist"},{"lang":"en","text":"### Impact\n\nAuthenticated users, regardless of their privileges (_User_ or _Admin_), can trick Cachet and install the instance again, leading to arbitrary code execution on the server.\n\n### Patches\n\nThis issue was addressed by improving the middleware `ReadyForUse`, which now performs a stricter validation of the instance name. \n\n### Workarounds\n\nOnly allow trusted source IP addresses to access to the administration dashboard.\n\n### References\n\n- https://blog.sonarsource.com/cachet-code-execution-via-laravel-configuration-injection\n\n### For more information\n\nIf you have any questions or comments about this advisory, you can contact:\n- The original reporters, by sending an email to vulnerability.research [at] sonarsource.com;\n- The maintainers, by opening an issue on this repository.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Cachet es un sistema de páginas de estado de código abierto. versiones anteriores a 2.5.1 unos usuarios autenticados, independientemente de sus privilegios (Usuario o Administrador), pueden engañar a Cachet e instalar la instancia de nuevo, conllevando a una ejecución de código arbitrario en el servidor. Este problema fue solucionado en versión 2.5.1, al mejorar el middleware \"ReadyForUse\", que ahora lleva a cabo una comprobación más estricta del nombre de la instancia. Como solución, sólo permita que direcciones IP de origen confiable accedan al panel de administración.","source":"nvd"}],"published":"2021-08-27T23:00:09.000Z","modified":"2026-07-08T06:27:35.540Z","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:H","score":8.8,"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:H","score":8.8,"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:H","score":8.8,"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:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:S/C:P/I:P/A:P","score":6.5,"rating":"MEDIUM"}],"cwes":["CWE-704"],"affected":[{"ranges":[{"version":"< 2.5.1","status":"affected"}],"vendor":"fiveai","product":"Cachet","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"2.5.1"}],"ecosystem":"Packagist","package":"cachethq/cachet","purl":"pkg:composer/cachethq/cachet","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"2.5.1"}],"vendor":"catchethq","product":"catchet","cpe":"cpe:2.3:a:catchethq:catchet:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/fiveai/Cachet/releases/tag/v2.5.1","tags":["release-notes","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/fiveai/Cachet/security/advisories/GHSA-r67m-m8c7-jp83","tags":["third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://blog.sonarsource.com/cachet-code-execution-via-laravel-configuration-injection/","tags":["exploit","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-39173","tags":["advisory"],"sources":["ghsa"]},{"url":"https://blog.sonarsource.com/cachet-code-execution-via-laravel-configuration-injection","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/fiveai/Cachet","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-39173","url":"https://www.cve.org/CVERecord?id=CVE-2021-39173","licence":"CVE Terms of Use","modified":"2024-08-04T01:58:18.192Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-r67m-m8c7-jp83","url":"https://github.com/advisories/GHSA-r67m-m8c7-jp83","licence":"CC-BY-4.0","modified":"2026-07-08T06:27:35.540Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-39173","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-39173","licence":"Public domain","modified":"2026-06-17T04:03:14.790Z"}],"updatedAt":"2026-11-25T22:58:03.534Z","epss":{"score":0.02362,"percentile":0.8424,"date":"2026-12-01T12:00:22.000Z"}}