{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "4.0.0-beta.474"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "b1a78df58efe3ac38679d18c888b5817c7f01216"
            },
            {
              "fixed": "37518813a60596190b08f3df562e82cd77182a98"
            }
          ],
          "repo": "https://github.com/coollabsio/coolify",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-c83f-5ph7-x8xv"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-613"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42172.json"
  },
  "details": "Coolify is an open-source and self-hostable tool for managing servers, applications, and databases. Prior to 4.0.0-beta.474, Sanctum API tokens did not expire, allowing a leaked token to retain access indefinitely until manually revoked. This issue is fixed in version 4.0.0-beta.474.",
  "id": "CVE-2026-42172",
  "modified": "2026-07-09T03:51:34.210937740Z",
  "published": "2026-07-07T02:52:58.684Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/coollabsio/coolify/releases/tag/v4.0.0-beta.474"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42172.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/coollabsio/coolify/security/advisories/GHSA-c83f-5ph7-x8xv"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-42172"
    },
    {
      "type": "FIX",
      "url": "https://github.com/coollabsio/coolify/commit/b1a78df58efe3ac38679d18c888b5817c7f01216"
    },
    {
      "type": "FIX",
      "url": "https://github.com/coollabsio/coolify/pull/9677"
    }
  ],
  "schema_version": "1.7.5",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Coolify: Sanctum API Tokens Have No Expiration — Leaked Tokens Grant Permanent Access"
}