CVE-2021-39174
mediumpriority · attend · 47EPSS 0.050 · 92 %ileexploit · PoCEUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 6.5–8.8
weaknesses
The CWE weakness classes this flaw belongs to.
exploits (2)
Public proof-of-concept and weaponised exploit code.
- hadrian3689/cachet_2.4.0-devCVE-2021-39174 Cachet 2.4.0-devPoC · poc_in_github
affected products (3)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-88f9-7xxh-c688Cachet configuration leak2021-08-30ghsa · osvUS
### Impact 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). ### Patches This issue was addressed by improving `UpdateConfigCommandHandler` and preventing the use of nested variables in the resulting dotenv configuration file. ### Workarounds Only allow trusted source IP addresses to access to the administration dashboard. ### References Further 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). ### For more information If you have any questions or comments about this advisory, you can contact: - The original reporters, by sending an email to vulnerability.research [at] sonarsource.com; - The maintainers, by opening an issue on this repository.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (9)
External citations — patches, advisories, analysis.
- https://blog.sonarsource.com/cachet-code-execution-via-laravel-configuration-injection/cnnvd
- https://github.com/fiveai/Cachet/releases/tag/v2.5.1cnnvd
- https://github.com/fiveai/Cachet/security/advisories/GHSA-88f9-7xxh-c688cnnvd
- https://blog.sonarsource.com/cachet-code-execution-via-laravel-configuration-injection/enisa_euvd
- https://github.com/fiveai/Cachet/releases/tag/v2.5.1enisa_euvd
- https://github.com/fiveai/Cachet/security/advisories/GHSA-88f9-7xxh-c688enisa_euvd
- https://blog.sonarsource.com/cachet-code-execution-via-laravel-configuration-injection/ExploitThird Party Advisorynvd
- https://github.com/fiveai/Cachet/releases/tag/v2.5.1Release NotesThird Party Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan