{
  "id": "CVE-2026-42153",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-42153",
  "published_at": "2026-07-06T21:30:44.813Z",
  "title": "Coolify: PostgreSQL Healthcheck Command Injection Allows Root Code Execution in Container",
  "vendor": "coollabsio",
  "product": "coolify",
  "cvss": {
    "score": 8.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "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.",
  "cwe": "CWE-78",
  "cvss_by_source": {
    "cna": 8.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "coollabsio",
        "product": "coolify",
        "ranges": [
          "\u003c 4.0.0-beta.474"
        ],
        "fixed_in": [
          "4.0.0-beta.474"
        ]
      }
    ],
    "upgrade": [
      "Upgrade coolify to 4.0.0-beta.474 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/coollabsio/coolify/security/advisories/GHSA-gvc4-f276-r88p"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/coollabsio/coolify/pull/9674"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/coollabsio/coolify/commit/b74f54302b1a857c22c55fe1210d700859b0b3df"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/coollabsio/coolify/releases/tag/v4.0.0-beta.474"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
