{"id":"CVE-2021-39174","aliases":["CVE-2021-39174","GHSA-88f9-7xxh-c688"],"related":[],"kind":"vulnerability","state":"published","title":"Configuration leak","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 leak the value of any configuration entry of the dotenv file, e.g. the application secret (`APP_KEY`) and various passwords (email, database, etc). This issue was addressed in version 2.5.1 by improving `UpdateConfigCommandHandler` and preventing the use of nested variables in the resulting dotenv configuration file. 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 leak the value of any configuration entry of the dotenv file, e.g. the application secret (`APP_KEY`) and various passwords (email, database, etc). This issue was addressed in version 2.5.1 by improving `UpdateConfigCommandHandler` and preventing the use of nested variables in the resulting dotenv configuration file. 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 leak the value of any configuration entry of the dotenv file, e.g. the application secret (`APP_KEY`) and various passwords (email, database, etc). \n\n### Patches\n\nThis issue was addressed by improving `UpdateConfigCommandHandler` and preventing the use of nested variables in the resulting dotenv configuration file.\n\n### Workarounds\n\nOnly allow trusted source IP addresses to access to the administration dashboard.\n\n### References\n\nFurther technical details are available at [https://blog.sonarsource.com/cachet-code-execution-via-laravel-configuration-injection](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), podían filtrar el valor de cualquier entrada de configuración del archivo dotenv, por ejemplo, el secreto de la aplicación (\"APP_KEY\") y varias contraseñas (correo electrónico, base de datos, etc). Este problema fue solucionado en versión 2.5.1, al mejorar \"UpdateConfigCommandHandler\" y previniendo el uso de variables anidadas en el archivo de configuración dotenv resultante. Como solución, sólo permita que direcciones IP de origen confiable accedan al panel de administración.","source":"nvd"}],"published":"2021-08-27T23:25:08.000Z","modified":"2026-07-08T06:27:25.728Z","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-75"],"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-88f9-7xxh-c688","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-39174","tags":["advisory"],"sources":["ghsa"]},{"url":"https://blog.sonarsource.com/cachet-code-execution-via-laravel-configuration-injection","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/cachethq/Cachet","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-39174","url":"https://www.cve.org/CVERecord?id=CVE-2021-39174","licence":"CVE Terms of Use","modified":"2024-08-04T01:58:18.255Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-88f9-7xxh-c688","url":"https://github.com/advisories/GHSA-88f9-7xxh-c688","licence":"CC-BY-4.0","modified":"2026-07-08T06:27:25.728Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-39174","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-39174","licence":"Public domain","modified":"2026-06-17T04:03:14.917Z"}],"updatedAt":"2026-11-25T22:58:03.534Z","epss":{"score":0.05011,"percentile":0.92425,"date":"2026-12-01T12:00:22.000Z"}}