Every CVE Search/ Get API key

CVE-2021-39174

Configuration leak

8.8 HighPublic exploitFix available

Cachet is an open source status page system. Prior to version 2.5.1, authenticated users, regardless of their privileges (User or Admin), can leak the value of any configuration entry of the dotenv file, e.g. the application secret (APP_KEY) and various passwords (email, database, etc). This issue was addressed in version 2.5.1 by improving UpdateConfigCommandHandler and preventing the use of nested variables in the resulting dotenv configuration file. As a workaround, only allow trusted source IP addresses to access to the administration dashboard.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
Low
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

5.01%Up 4.4 points since Aug 28, 2021
90%50%10%1%

What each source reports

CVE List Score used 8.8

Configuration leak

Cachet is an open source status page system. Prior to version 2.5.1, authenticated users, regardless of their privileges (User or Admin), can leak the value of any configuration entry of the dotenv file, e.g. the application secret (APP_KEY) and various passwords (email, database, etc). This issue was addressed in version 2.5.1 by improving UpdateConfigCommandHandler and preventing the use of nested variables in the resulting dotenv configuration file. As a workaround, only allow trusted source IP addresses to access to the administration dashboard.

Record
CVE-2021-39174
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-75
Updated
2026-11-02
EUVDEUVD-2021-1634 8.8

Cachet is an open source status page system. Prior to version 2.5.1, authenticated users, regardless of their privileges (User or Admin), can leak the value of any configuration entry of the dotenv file, e.g. the application secret (APP_KEY) and various passwords (email, database, etc). This issue was addressed in version 2.5.1 by improving UpdateConfigCommandHandler and preventing the use of nested variables in the resulting dotenv configuration file. As a workaround, only allow trusted source IP addresses to access to the administration dashboard.

Record
EUVD-2021-1634
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-03
GitHub AdvisoriesGHSA-88f9-7xxh-c688 8.8

Cachet configuration leak

Impact

Authenticated users, regardless of their privileges (User or Admin), can leak the value of any configuration entry of the dotenv file, e.g. the application secret (APP_KEY) and various passwords (email, database, etc).

Patches

This issue was addressed by improving UpdateConfigCommandHandler and preventing the use of nested variables in the resulting dotenv configuration file.

Workarounds

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

References

Further technical details are available at https://blog.sonarsource.com/cachet-code-execution-via-laravel-configuration-injection.

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.
Record
GHSA-88f9-7xxh-c688
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-75
Updated
2026-11-02
NVD 8.8

Cachet is an open source status page system. Prior to version 2.5.1, authenticated users, regardless of their privileges (User or Admin), can leak the value of any configuration entry of the dotenv file, e.g. the application secret (APP_KEY) and various passwords (email, database, etc). This issue was addressed in version 2.5.1 by improving UpdateConfigCommandHandler and preventing the use of nested variables in the resulting dotenv configuration file. As a workaround, only allow trusted source IP addresses to access to the administration dashboard.

Record
CVE-2021-39174
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0
6.5 MediumAV:N/AC:L/Au:S/C:P/I:P/A:P
Weakness
CWE-75
Updated
2026-11-02
OSV 8.8

Cachet is an open source status page system. Prior to version 2.5.1, authenticated users, regardless of their privileges (User or Admin), can leak the value of any configuration entry of the dotenv file, e.g. the application secret (APP_KEY) and various passwords (email, database, etc). This issue was addressed in version 2.5.1 by improving UpdateConfigCommandHandler and preventing the use of nested variables in the resulting dotenv configuration file. As a workaround, only allow trusted source IP addresses to access to the administration dashboard.

Record
CVE-2021-39174
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVGHSA-88f9-7xxh-c688 8.8

Cachet configuration leak

Impact

Authenticated users, regardless of their privileges (User or Admin), can leak the value of any configuration entry of the dotenv file, e.g. the application secret (APP_KEY) and various passwords (email, database, etc).

Patches

This issue was addressed by improving UpdateConfigCommandHandler and preventing the use of nested variables in the resulting dotenv configuration file.

Workarounds

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

References

Further technical details are available at https://blog.sonarsource.com/cachet-code-execution-via-laravel-configuration-injection.

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.
Record
GHSA-88f9-7xxh-c688
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-75
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
cachethq/cachet
Packagist
through 2.5.0
2.5.1
cachethq/cachet
Packagist
before 2.5.1, plus listed versions
v0.1.0-alphav1.0.0v1.1.0v1.1.1v1.2.0
Show 45 moreShow less
v1.2.1v2.0.0v2.0.0-RC1v2.0.0-RC2v2.0.0-RC3v2.0.0-RC4v2.0.0-RC5v2.0.0-beta1v2.0.0-beta2v2.0.1v2.0.2v2.0.3v2.0.4v2.1.0v2.1.0-RC1v2.1.0-RC2v2.1.1v2.1.2v2.2.0v2.2.0-RC1v2.2.1v2.2.2v2.2.3v2.2.4v2.3.0v2.3.0-RC1v2.3.0-RC2v2.3.0-RC3v2.3.0-RC4v2.3.0-RC5v2.3.0-RC6v2.3.1v2.3.10v2.3.11v2.3.12v2.3.13v2.3.14v2.3.15v2.3.16v2.3.17v2.3.18v2.3.2v2.3.3v2.3.4v2.3.5
2.5.1

Public exploits

Links only. Every CVE stores no exploit code.

Public exploits
SourceLinkDate
PoC in GitHubhadrian3689/cachet_2.4.0-dev2022-06-21
PoC in GitHubn0kovo/CVE-2021-39174-PoC2022-05-03

History

History
RecordedChangedSources
aliases, productsEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV, PoC in GitHub

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2021-39174 is a high vulnerability (CVSS 8.8) in Cachethq Cachet, published August 27, 2021. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 5.01%, the 92nd percentile. Fixed in cachethq/cachet 2.5.1.

References

This page doesn't list everything

Left out here: 6 versions. The JSON record has them.

MoveEnter Open