# CVE-2021-39174: Configuration leak

- Severity: High 8.8 (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:H`
- 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): 5.01%, higher than 92% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-08-27T23:25:08.000Z
- Modified: 2026-07-08T06:27:25.728Z
- Also known as: GHSA-88f9-7xxh-c688
- Weaknesses: CWE-75
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- fiveai Cachet: < 2.5.1
- cachethq/cachet (Packagist): before 2.5.1
- catchethq catchet: before 2.5.1

## Every score

- GitHub_M: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.5 Medium `AV:N/AC:L/Au:S/C:P/I:P/A:P`

## References

- <https://blog.sonarsource.com/cachet-code-execution-via-laravel-configuration-injection/> (exploit, third-party-advisory)
- <https://github.com/fiveai/Cachet/releases/tag/v2.5.1> (release-notes, third-party-advisory, web)
- <https://github.com/fiveai/Cachet/security/advisories/GHSA-88f9-7xxh-c688> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-39174> (advisory)
- <https://blog.sonarsource.com/cachet-code-execution-via-laravel-configuration-injection> (web)
- <https://github.com/cachethq/Cachet> (package)

## Sources

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

---

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