Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-39173

Cachet is an open source status page system. Prior to version 2.5.1 authenticated users, regardless of their privileges (User or Admin), can trick Cachet and install the instance again, leading to arbitrary code execution on the server. This issue was addressed in version 2.5.1 by improving the middleware `ReadyForUse`, which now performs a stricter validation of the instance name. 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-39173
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 11:53 UTC · Revision 1

Source evidence

CVE-2021-39173

core-osv · Original source

Published 27 Aug 2021, 23: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 trick Cachet and install the instance again, leading to arbitrary code execution on the server. This issue was addressed in version 2.5.1 by improving the middleware `ReadyForUse`, which now performs a stricter validation of the instance name. As a workaround, only allow trusted source IP addresses to access to the administration dashboard.

osv:CVE-2021-39173
Complete source record
{
  "id": "00e230304eeb2d99b9d55c589560659b746c714daae7eb57a1e25d7a21673ae1",
  "url": "https://osv.dev/vulnerability/CVE-2021-39173",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-39173",
    "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 trick Cachet and install the instance again, leading to arbitrary code execution on the server. This issue was addressed in version 2.5.1 by improving the middleware `ReadyForUse`, which now performs a stricter validation of the instance name. As a workaround, only allow trusted source IP addresses to access to the administration dashboard.",
    "evidence": "osv:CVE-2021-39173",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2021-39173",
      "aliases": [
        "CVE-2021-39173",
        "GHSA-r67m-m8c7-jp83"
      ],
      "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-39173.json"
          }
        }
      ],
      "modified": "2026-10-20T10:54:53.784925557Z",
      "provider": "osv",
      "references": [
        "https://github.com/fiveai/Cachet/releases/tag/v2.5.1",
        "https://github.com/fiveai/Cachet/security/advisories/GHSA-r67m-m8c7-jp83",
        "https://blog.sonarsource.com/cachet-code-execution-via-laravel-configuration-injection/"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2021-39173",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 386402,
  "published_at": "2021-08-27T23:15:06.957+00:00"
}