Loading advisory.
Loading advisory.
Cachet vulnerable to new line injection during configuration edition
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.
Published 2021-08-27 22:50 UTC · Modified 2026-07-08 06:28 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score.
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| cachethq/cachet | Packagist | < 2.5.1 versions v0.1.0-alpha, v1.0.0, v1.1.0, v1.1.1, v1.2.0, v1.2.1, v2.0.0, v2.0.0-RC1, v2.0.0-RC2, v2.0.0-RC3, v2.0.0-RC4, v2.0.0-RC5, v2.0.0-beta1, v2.0.0-beta2, v2.0.1, v2.0.2, v2.0.3, v2.0.4, v2.1.0, v2.1.0-RC1 and 36 more | 2.5.1 | composer require 'cachethq/cachet:>=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 by improving UpdateConfigCommandHandler and preventing the use of new lines characters in new configuration values.
Only allow trusted source IP addresses to access to the administration dashboard.
https://blog.sonarsource.com/cachet-code-execution-via-laravel-configuration-injection
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.
Exploit code or a detection template for this CVE is published by the sources below. This is not a report of use against real systems (that is what CISA KEV records) and it does not change the tier.
One EPSS score on record: 0.292 on 2026-11-24.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.292 | first score | v2026.06.15 |