CVE-2021-39174 json
Configuration leak
published 2021-08-27 5 y ago modified 2026-07-08 4 mo ago also GHSA-88f9-7xxh-c688 , EUVD-2021-1634
- cvss
- 8.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 5.0%
- EPSS 5.0% chance of exploitation in 30 days, percentile 92%
- public exploits
- 0
- none known
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.
Patch / fix
- packagist cachethq/cachet 2.5.1
- catchethq catchet 2.5.1
Exploit prediction
5.01% chance of exploitation in the next 30 days, higher than 92% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- blog.sonarsource.com https://blog.sonarsource.com/cachet-code-execution-via-laravel-configuration-injection/ referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.5 | AV:N/AC:L/Au:S/C:P/I:P/A:P |
| GitHub | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | cachethq/cachet | <2.5.1 |
2.5.1 |
Affected products
- fiveai Cachet
Classification
- Weakness
-
- CWE-75 Failure to Sanitize Special Elements into a Different Plane
References
-
blog.sonarsource.com
/cachet-code-execution-via-laravel-configuration-injection/
exploit, third-party-advisory
-
github.com
/fiveai/Cachet/releases/tag/v2.5.1
web, release-notes, third-party-advisory
-
github.com
/fiveai/Cachet/security/advisories/GHSA-88f9-7xxh-c688
web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-39174
advisory
-
blog.sonarsource.com
/cachet-code-execution-via-laravel-configuration-injection
web
-
github.com
/cachethq/Cachet
package
Sources
- CVE List CVE-2021-39174
- GitHub Advisory GHSA-88f9-7xxh-c688
- NVD CVE-2021-39174
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.