CVE-2021-39172
HIGH 8.8CVSS 3.1Cachet vulnerable to new line injection during configuration edition
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.
- Published
- 27 Aug 2021
- Last modified
- 8 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-93
- Also known as
- GHSA-9jxw-cfrh-jxq6
- Sources
- NVDJSONOSV GHSA-9jxw-cfrh-jxq6JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.5 | AV:N/AC:L/Au:S/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | catchethq | catchetcpe:2.3:a:catchethq:catchet:*:*:*:*:*:*:*:* |
< 2.5.1 | 2.5.1 |
| OSV | Packagist | cachethq/cachet | < 2.5.1 | 2.5.1 |
References
- https://blog.sonarsource.com/cachet-code-execution-via-laravel-configuration-injection/ · Exploit, Third Party Advisory, WEB
- https://github.com/fiveai/Cachet/releases/tag/v2.5.1 · Release Notes, Third Party Advisory, WEB
- https://github.com/fiveai/Cachet/security/advisories/GHSA-9jxw-cfrh-jxq6 · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-39172 · ADVISORY
- https://github.com/fiveai/Cachet/commit/6442976c25930cb370c65a22784b9caee7ed1de2 · WEB
- https://github.com/fiveai/Cachet · PACKAGE
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 27 Aug 2021)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 30 Aug 2021)