Cachet configuration leak
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.
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.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Composer package | cachethq/cachet | < 2.5.1 | 2.5.1 |
References
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H- Weakness (CWE)
CWE-75- Platform
- Composer
- Package
cachethq/cachet- Disclosed
- 30.08.2021
- Updated
- 11.10.2026 10:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-88f9-7xxh-c688 - CC BY 4.0
Vulnerability history: cachethq/cachet
All published vulnerabilities of this package (Composer package), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 6
- First → latest
- 08.2021 10.2026
- Without a fix
- 2
- Exploited in attacks
- 0
Severity breakdown
- Critical 1
- High 4
- Medium 1
Disclosures per year
- 2021: 4
- 2022: 0
- 2023: 1
- 2024: 0
- 2025: 0
- 2026: 1
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.