{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "4.0.0-beta.474"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "b74f54302b1a857c22c55fe1210d700859b0b3df"
            },
            {
              "fixed": "37518813a60596190b08f3df562e82cd77182a98"
            }
          ],
          "repo": "https://github.com/coollabsio/coolify",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-gvc4-f276-r88p"
  ],
  "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-42153.json"
  },
  "details": "Coolify is an open-source and self-hostable tool for managing servers, applications, and databases. Prior to 4.0.0-beta.474, PostgreSQL healthcheck command generation used attacker-controlled database settings (postgres_user and postgres_db) in shell-form commands, allowing an authenticated user to inject commands executed in the database container. This issue is fixed in version 4.0.0-beta.474.",
  "id": "CVE-2026-42153",
  "modified": "2026-07-15T01:48:54.103767704Z",
  "published": "2026-07-06T21:30:44.813Z",
  "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-42153.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/coollabsio/coolify/security/advisories/GHSA-gvc4-f276-r88p"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-42153"
    },
    {
      "type": "FIX",
      "url": "https://github.com/coollabsio/coolify/commit/b74f54302b1a857c22c55fe1210d700859b0b3df"
    },
    {
      "type": "FIX",
      "url": "https://github.com/coollabsio/coolify/pull/9674"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Coolify: PostgreSQL Healthcheck Command Injection Allows Root Code Execution in Container"
}