{
  "id": "CVE-2026-59734",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-59734",
  "published_at": "2026-07-09T17:35:05.368Z",
  "title": "Coolify: OS Command Injection in Health Check Configuration Allows Remote Code Execution",
  "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": {
    "created_at": "2026-07-11T08:27:52Z",
    "first_seen_at": "2026-11-14T11:25:11.578Z",
    "days_after_publication": 1.6,
    "repo": "cybertechajju/CVE-2026-59734-POC",
    "source": "github"
  },
  "poc_repo_count": 1,
  "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.469, Coolify's app/Jobs/ApplicationDeploymentJob.php generate_healthcheck_commands() function directly interpolated the health_check_host, health_check_method, and health_check_path parameters into shell commands without proper sanitization, allowing authenticated users to execute arbitrary commands inside deployment containers. This issue is fixed in version 4.0.0-beta.469.",
  "cwe": "CWE-78",
  "cvss_by_source": {
    "cna": 8.8
  },
  "repos": [
    {
      "repo": "cybertechajju/CVE-2026-59734-POC",
      "url": "https://github.com/cybertechajju/CVE-2026-59734-POC",
      "created_at": "2026-07-11T08:27:52Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2022-12-15T16:02:07Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "coollabsio",
        "product": "coolify",
        "ranges": [
          "\u003c 4.0.0-beta.469"
        ],
        "fixed_in": [
          "4.0.0-beta.469"
        ]
      }
    ],
    "upgrade": [
      "Upgrade coolify to 4.0.0-beta.469 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/coollabsio/coolify/security/advisories/GHSA-4fhp-xqqp-w7vv"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/coollabsio/coolify/pull/9007"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/coollabsio/coolify/commit/0ffcee7a4dcd24f92b5fab8c9c7be140b9532733"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/coollabsio/coolify/releases/tag/v4.0.0-beta.469"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [
    {
      "method": "GET",
      "path_template": "/api/v1/applications",
      "headers": [
        {
          "name": "Authorization",
          "value": "Bearer YOUR_TOKEN"
        }
      ],
      "ports": [
        3000,
        8080
      ],
      "protocol": "https",
      "repos": [
        "cybertechajju/CVE-2026-59734-POC"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "cybertechajju/CVE-2026-59734-POC/README.md:177"
      ]
    },
    {
      "method": "GET",
      "path_template": "/api/v1/applications/{var}",
      "headers": [
        {
          "name": "Accept",
          "value": "application/json"
        },
        {
          "name": "Authorization",
          "value": "Bearer {var}"
        }
      ],
      "ports": [
        3000,
        8080
      ],
      "protocol": "https",
      "repos": [
        "cybertechajju/CVE-2026-59734-POC"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "cybertechajju/CVE-2026-59734-POC/coolify_healthcheck_rce_poc.sh:248"
      ]
    },
    {
      "method": "GET",
      "path_template": "/api/v1/version",
      "headers": [
        {
          "name": "Accept",
          "value": "application/json"
        },
        {
          "name": "Authorization",
          "value": "Bearer {var}"
        }
      ],
      "ports": [
        3000,
        8080
      ],
      "protocol": "https",
      "repos": [
        "cybertechajju/CVE-2026-59734-POC"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "cybertechajju/CVE-2026-59734-POC/coolify_healthcheck_rce_poc.sh:290"
      ]
    },
    {
      "method": "PATCH",
      "path_template": "/api/v1/applications/{var}",
      "headers": [
        {
          "name": "Accept",
          "value": "application/json"
        },
        {
          "name": "Authorization",
          "value": "Bearer {var}"
        }
      ],
      "content_type": "application/json",
      "ports": [
        3000,
        8080
      ],
      "protocol": "https",
      "repos": [
        "cybertechajju/CVE-2026-59734-POC"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "cybertechajju/CVE-2026-59734-POC/coolify_healthcheck_rce_poc.sh:338",
        "cybertechajju/CVE-2026-59734-POC/coolify_healthcheck_rce_poc.sh:418"
      ]
    },
    {
      "method": "POST",
      "path_template": "/api/v1/applications/{var}/restart",
      "headers": [
        {
          "name": "Accept",
          "value": "application/json"
        },
        {
          "name": "Authorization",
          "value": "Bearer {var}"
        }
      ],
      "ports": [
        3000,
        8080
      ],
      "protocol": "https",
      "repos": [
        "cybertechajju/CVE-2026-59734-POC"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "cybertechajju/CVE-2026-59734-POC/coolify_healthcheck_rce_poc.sh:379"
      ]
    }
  ],
  "rules": []
}
