CVE-2021-39172 in the critical feed json
New line injection during configuration edition
published 2021-08-27 5 y ago modified 2026-07-08 4 mo ago also GHSA-9jxw-cfrh-jxq6 , EUVD-2021-1662
- cvss
- 8.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 29.2%
- EPSS 29.2% chance of exploitation in 30 days, percentile 98%
- 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 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.
Patch / fix
- packagist cachethq/cachet 2.5.1
- catchethq catchet 2.5.1
Exploit prediction
29.17% chance of exploitation in the next 30 days, higher than 98% 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-93 Improper Neutralization of CRLF Sequences
References
-
github.com
/fiveai/Cachet/commit/6442976c25930cb370c65a22784b9caee7ed1de2
web
-
blog.sonarsource.com
/cachet-code-execution-via-laravel-configuration-injection/
exploit, third-party-advisory
-
github.com
/fiveai/Cachet/security/advisories/GHSA-9jxw-cfrh-jxq6
web, third-party-advisory
-
github.com
/fiveai/Cachet/releases/tag/v2.5.1
web, release-notes, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-39172
advisory
-
blog.sonarsource.com
/cachet-code-execution-via-laravel-configuration-injection
web
-
github.com
/fiveai/Cachet
package
Sources
- CVE List CVE-2021-39172
- GitHub Advisory GHSA-9jxw-cfrh-jxq6
- NVD CVE-2021-39172
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.