{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "4.0.0-beta.474"
              }
            ],
            "source": "AFFECTED_FIELD"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "37518813a60596190b08f3df562e82cd77182a98"
            }
          ],
          "repo": "https://github.com/coollabsio/coolify",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-f35h-g2c2-q36v"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-78"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42201.json"
  },
  "details": "Coolify is an open-source and self-hostable tool for managing servers, applications, and databases. Prior to 4.0.0-beta.474, database credential fields (redis_password, keydb_password, dragonfly_password, clickhouse_admin_user, clickhouse_admin_password, postgres_user, mysql_user) are validated only as 'string' at the API layer, with zero shell-safety checks. These values are then interpolated directly into Docker Compose YAML command: strings without any escaping. This issue is fixed in version 4.0.0-beta.474.",
  "id": "CVE-2026-42201",
  "modified": "2026-08-04T11:31:03.743963471Z",
  "published": "2026-07-07T03:29:13.739Z",
  "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-42201.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/coollabsio/coolify/security/advisories/GHSA-f35h-g2c2-q36v"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-42201"
    },
    {
      "type": "FIX",
      "url": "https://github.com/coollabsio/coolify/commit/bff6d853708f3d7c861279586f107739036e67da"
    },
    {
      "type": "FIX",
      "url": "https://github.com/coollabsio/coolify/pull/9676"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Coolify: OS Command Injection via Database Credential Fields in Docker Compose Service Commands"
}