{"id":"CVE-2021-39173","aliases":["GHSA-r67m-m8c7-jp83"],"url":"https://o3.security/vulnerability/CVE-2021-39173","summary":"Cachet vulnerable to forced reinstall","details":"### 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.\n","published":"2021-08-27T23:15:06.957Z","modified":"2026-07-31T14:06:44.489522Z","cvss":{"score":8.8,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":1,"affectedPackages":[{"ecosystem":"Packagist","name":"cachethq/cachet","fixedVersion":"2.5.1"}],"fix":null,"references":[{"type":"ADVISORY","url":"https://github.com/fiveai/Cachet/releases/tag/v2.5.1"},{"type":"ADVISORY","url":"https://github.com/fiveai/Cachet/security/advisories/GHSA-r67m-m8c7-jp83"},{"type":"EVIDENCE","url":"https://blog.sonarsource.com/cachet-code-execution-via-laravel-configuration-injection/"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-39173"},{"type":"WEB","url":"https://blog.sonarsource.com/cachet-code-execution-via-laravel-configuration-injection"},{"type":"PACKAGE","url":"https://github.com/fiveai/Cachet"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-31T14:06:44.489522Z"}}