What’s Vulnerable › Vulnerabilities
CVE-2021-39172: New line injection during configuration edition
- Severity: high (CVSS 8.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 29.2% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2021-08-27 · updated 2026-06-17
- Weakness: CWE-93
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 exploit a new line injection in the configuration edition feature (e.g. mail settings) and gain arbitrary code execution on the server. This issue was addressed in version 2.5.1 by improving `UpdateConfigCommandHandler` and preventing the use of new lines characters in new configuration values. As a workaround, only allow trusted source IP addresses to access to the administration dashboard.
Affected products
- Catchethq Catchet: before 2.5.1 — fixed in 2.5.1
How to fix
Upgrade to a fixed version: Catchethq Catchet 2.5.1. Check the vendor advisory for mitigations.
References
- https://blog.sonarsource.com/cachet-code-execution-via-laravel-configuration-injection/
- https://github.com/fiveai/Cachet/releases/tag/v2.5.1
- https://github.com/fiveai/Cachet/security/advisories/GHSA-9jxw-cfrh-jxq6
- https://blog.sonarsource.com/cachet-code-execution-via-laravel-configuration-injection/
- https://github.com/fiveai/Cachet/releases/tag/v2.5.1
- https://github.com/fiveai/Cachet/security/advisories/GHSA-9jxw-cfrh-jxq6
Get alerted when CVE-2021-39172 or the next vulnerability affects your stack