LiveActive security incident?Get immediate response
CVE Record

CVE-2021-39174: 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.

HighCVSS 8.8Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

Cachet deployments before 2.5.1 can expose sensitive configuration values to any authenticated user, even a low-privilege one. Exposed values may include the application key, database credentials, email passwords, and other secrets, creating a serious risk of broader compromise.

Executive priority

Treat this as a high-priority remediation for any internet-facing or broadly accessible Cachet instance. The business risk is secret exposure, which can turn a low-privilege account into infrastructure or data compromise if credentials are reused or privileged.

Technical view

The issue affects fiveai Cachet versions before 2.5.1. The advisory attributes the leak to configuration handling in UpdateConfigCommandHandler and nested variable behavior in the generated dotenv configuration. CVSS 3.1 is 8.8 with network access, low complexity, and required low privileges.

Likely exposure

Organizations running self-hosted Cachet versions below 2.5.1 are exposed, especially where the administration dashboard is reachable by untrusted users or broad internal networks.

Exploitation context

The provided sources do not show CISA KEV listing or active exploitation evidence. Public research discusses Cachet configuration injection and code execution risk, but this assessment should not assume exploitation without local evidence.

Researcher notes

Focus review on Cachet versions before 2.5.1 and authenticated access boundaries. The advisory names configuration leakage from dotenv values and the 2.5.1 fix preventing nested variables. Evidence is strong for affected versions and fix, but incomplete for observed in-the-wild exploitation.

Mitigation direction

  • Upgrade Cachet to version 2.5.1 or later.
  • Restrict administration dashboard access to trusted source IP addresses.
  • Review vendor advisory and release notes before applying changes.
  • Rotate exposed application, database, and email secrets if compromise is suspected.

Validation and detection

  • Inventory Cachet instances and confirm running versions.
  • Verify no Cachet deployment below 2.5.1 remains reachable.
  • Confirm administration dashboard access is limited to trusted networks.
  • Review logs for unusual authenticated access to administrative configuration areas.
Prepared
Confidence
high
Sources
5

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-75: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
description · low confidence lookup

Credential and access behavior lookup

The CVE wording references authentication or credential exposure, so valid-account and credential-access review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
description · low confidence lookup

Database behavior lookup

The CVE wording references database injection or access, so collection and exfiltration review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2021-39174 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
High
CVSS
8.8 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
4Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
8.8CVSS 3.1HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H2.85.9Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

8.8High
CVSS 3.1 vector shape for CVE-2021-39174Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
fiveaiCachet< 2.5.1Listed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-75 · source CWE mapping

Failure to Sanitize Special Elements into a Different Plane (Special Element Injection)

Failure to Sanitize Special Elements into a Different Plane (Special Element Injection) represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.