High

Cachet vulnerable to new line injection during configuration edition

  • Disclosed: 30.08.2021
  • Updated: 11.10.2026 10:22

Impact

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.

Patches

This issue was addressed by improving UpdateConfigCommandHandler and preventing the use of new lines characters in new configuration values.

Workarounds

Only allow trusted source IP addresses to access to the administration dashboard.

References

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.

PlatformPackageVulnerable versionsFixed in
Composer package cachethq/cachet < 2.5.1 2.5.1

References

CVSS score 8.8/10
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness (CWE)
CWE-93
Platform
Composer
Package
cachethq/cachet
Disclosed
30.08.2021
Updated
11.10.2026 10:22

Sources and licenses

OSV / GitHub Advisory Database - GHSA-9jxw-cfrh-jxq6 - 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

  1. 2021: 4
  2. 2022: 0
  3. 2023: 1
  4. 2024: 0
  5. 2025: 0
  6. 2026: 1
  1. Medium CVE-2026-113712 <= 2.4.1 no fix
  2. Critical · 9.1 CVE-2023-43661 < 2.4 2.4
  3. High · 8.1 CVE-2021-39165 <= 2.3.18 no fix
  4. High · 8.8 CVE-2021-39174 < 2.5.1 2.5.1
  5. High · 8.8 CVE-2021-39173 < 2.5.1 2.5.1
  6. Cachet vulnerable to new line injection during configuration edition this entry
    High · 8.8 CVE-2021-39172 < 2.5.1 2.5.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.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.