Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-39174

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-39174
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 11:53 UTC · Revision 1

Source evidence

CVE-2021-39174

core-osv · Original source

Published 28 Aug 2021, 00:15 UTC

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.

osv:CVE-2021-39174
Complete source record
{
  "id": "5aa1f35e6cb02507433fbccd1d24b0e78b348ca7c2d1d5497239926f90c48f75",
  "url": "https://osv.dev/vulnerability/CVE-2021-39174",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-39174",
    "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 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.",
    "evidence": "osv:CVE-2021-39174",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2021-39174",
      "aliases": [
        "CVE-2021-39174",
        "GHSA-88f9-7xxh-c688"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/fiveai/cachet",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "d7ecabfb5db4872470508671348408b14abcadcb"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:catchethq:catchet:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "2.5.1"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "d7ecabfb5db4872470508671348408b14abcadcb"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "v2.5.1"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v2.5.0",
            "v2.3.0-RC5",
            "v2.3.0-RC4",
            "v2.3.0-RC3",
            "v2.3.0-RC2",
            "v2.3.0-RC1",
            "v2.2.0",
            "v2.2.0-RC1",
            "v2.1.1",
            "v2.1.0",
            "v2.1.0-RC2",
            "v2.1.0-RC1",
            "v2.0.2",
            "v2.0.1",
            "v2.0.0",
            "v2.0.0-RC5",
            "v2.0.0-RC4",
            "v2.0.0-RC3",
            "v2.0.0-RC2",
            "v2.0.0-RC1",
            "v2.0.0-beta2",
            "v2.0.0-beta1",
            "v1.1.0",
            "v1.0.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-39174.json"
          }
        }
      ],
      "modified": "2026-10-20T10:54:53.783379755Z",
      "provider": "osv",
      "references": [
        "https://github.com/fiveai/Cachet/releases/tag/v2.5.1",
        "https://github.com/fiveai/Cachet/security/advisories/GHSA-88f9-7xxh-c688",
        "https://blog.sonarsource.com/cachet-code-execution-via-laravel-configuration-injection/"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2021-39174",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 386401,
  "published_at": "2021-08-28T00:15:06.917+00:00"
}