Skip to content
Heist/ feed
Back to feed
High

Coolify OS Command Injection Vulnerability in SSH Command Generation

Type: advisorySources: OSV

Coolify is an open-source and self-hostable tool for managing servers, applications, and databases. Starting in version 4.0.0-beta.18 and prior to 4.0.0-beta.253, a vulnerability in the execution of commands on remote servers allows an authenticated user to execute arbitrary code on the local Coolify container, gaining access to data and private keys or tokens of other users/teams. The ability to inject malicious commands into the Coolify container gives authenticated attackers the ability to fully retrieve and control the data and availability of the software. Centrally hosted Coolify instances (open registration and/or multiple teams with potentially untrustworthy users) are especially at risk, as sensitive data of all users and connected servers can be leaked by any user. Additionally, attackers are able to modify the running software, potentially deploying malicious images to remote nodes or generally changing its behavior. Version 4.0.0-beta.253 patches this issue.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2025-22605
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 09:38 UTC · Revision 1

Source evidence

Coolify OS Command Injection Vulnerability in SSH Command Generation

core-osv · Original source

Published 24 Jan 2025, 14:54 UTC

Coolify is an open-source and self-hostable tool for managing servers, applications, and databases. Starting in version 4.0.0-beta.18 and prior to 4.0.0-beta.253, a vulnerability in the execution of commands on remote servers allows an authenticated user to execute arbitrary code on the local Coolify container, gaining access to data and private keys or tokens of other users/teams. The ability to inject malicious commands into the Coolify container gives authenticated attackers the ability to fully retrieve and control the data and availability of the software. Centrally hosted Coolify instances (open registration and/or multiple teams with potentially untrustworthy users) are especially at risk, as sensitive data of all users and connected servers can be leaked by any user. Additionally, attackers are able to modify the running software, potentially deploying malicious images to remote nodes or generally changing its behavior. Version 4.0.0-beta.253 patches this issue.

osv:CVE-2025-22605
Complete source record
{
  "id": "353614014fe1f961c8762308dd3d1a0ed268daa1c1cbe0971d91fd8df322160e",
  "url": "https://osv.dev/vulnerability/CVE-2025-22605",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Coolify OS Command Injection Vulnerability in SSH Command Generation",
    "summary": "Coolify is an open-source and self-hostable tool for managing servers, applications, and databases. Starting in version 4.0.0-beta.18 and prior to 4.0.0-beta.253, a vulnerability in the execution of commands on remote servers allows an authenticated user to execute arbitrary code on the local Coolify container, gaining access to data and private keys or tokens of other users/teams. The ability to inject malicious commands into the Coolify container gives authenticated attackers the ability to fully retrieve and control the data and availability of the software. Centrally hosted Coolify instances (open registration and/or multiple teams with potentially untrustworthy users) are especially at risk, as sensitive data of all users and connected servers can be leaked by any user. Additionally, attackers are able to modify the running software, potentially deploying malicious images to remote nodes or generally changing its behavior. Version 4.0.0-beta.253 patches this issue.",
    "evidence": "osv:CVE-2025-22605",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2025-22605",
      "aliases": [
        "CVE-2025-22605",
        "GHSA-9wqm-fg79-4748"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:P"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/coollabsio/coolify",
              "type": "GIT",
              "events": [
                {
                  "introduced": "1de2c222b4611a7b9ee331f1a71f0fc8511bad94"
                },
                {
                  "fixed": "ff7fccb6a24b6dc06571bb925b67adf6469b96ca"
                },
                {
                  "fixed": "353245bb7de9680f238bae30443af1696bc977b0"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "4.0.0-beta.18"
                      },
                      {
                        "fixed": "4.0.0-beta.253"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "fixed": "353245bb7de9680f238bae30443af1696bc977b0"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v4.0.0-beta.252",
            "v4.0.0-beta.251",
            "v4.0.0-beta.249",
            "v4.0.0-beta.250",
            "v4.0.0-beta.248",
            "v4.0.0-beta.247",
            "v4.0.0-beta.246",
            "v4.0.0-beta.245",
            "v4.0.0-beta.244",
            "v4.0.0-beta.243",
            "v4.0.0-beta.242",
            "v4.0.0-beta.241",
            "v4.0.0-beta.240",
            "v4.0.0-beta.239",
            "v4.0.0-beta.238",
            "v4.0.0-beta.236",
            "v4.0.0-beta.237",
            "v4.0.0-beta.235",
            "v4.0.0-beta.234",
            "v4.0.0-beta.233",
            "v4.0.0-beta.232",
            "v4.0.0-beta.231",
            "v4.0.0-beta.230",
            "v4.0.0-beta.229",
            "v4.0.0-beta.228",
            "v4.0.0-beta.227",
            "v4.0.0-beta.226",
            "v4.0.0-beta.225",
            "v4.0.0-beta.224",
            "v4.0.0-beta.223",
            "v4.0.0-beta.222",
            "v4.0.0-beta.221",
            "v4.0.0-beta.220",
            "v4.0.0-beta.219",
            "v4.0.0-beta.218",
            "v4.0.0-beta.217",
            "v4.0.0-beta.216",
            "v4.0.0-beta.215",
            "v4.0.0-beta.214",
            "v4.0.0-beta.213",
            "v4.0.0-beta.212",
            "v4.0.0-beta.211",
            "v4.0.0-beta.209",
            "v4.0.0-beta.208",
            "v4.0.0-beta.207",
            "v4.0.0-beta.206",
            "v4.0.0-beta.205",
            "v4.0.0-beta.204",
            "v4.0.0-beta.203",
            "v4.0.0-beta.202",
            "v4.0.0-beta.201",
            "v4.0.0-beta.200",
            "v4.0.0-beta.199",
            "v4.0.0-beta.198",
            "v4.0.0-beta.197",
            "v4.0.0-beta.196",
            "v4.0.0-beta.195",
            "v4.0.0-beta.194",
            "v4.0.0-beta.193",
            "v4.0.0-beta.192",
            "v4.0.0-beta.191",
            "v4.0.0-beta.190",
            "v4.0.0-beta.189",
            "v4.0.0-beta.188",
            "v4.0.0-beta.187",
            "v4.0.0-beta.186",
            "v4.0.0-beta.185",
            "v4.0.0-beta.184",
            "v4.0.0-beta.183",
            "v4.0.0-beta.182",
            "v4.0.0-beta.181",
            "v4.0.0-beta.180",
            "v4.0.0-beta.179",
            "v4.0.0-beta.178",
            "v4.0.0-beta.177",
            "v4.0.0-beta.176",
            "v4.0.0-beta.175",
            "v4.0.0-beta.174",
            "v4.0.0-beta.173",
            "v4.0.0-beta.172",
            "v4.0.0-beta.171",
            "v4.0.0-beta.170",
            "v4.0.0-beta.169",
            "v4.0.0-beta.168",
            "v4.0.0-beta.167",
            "v4.0.0-beta.166",
            "v4.0.0-beta.165",
            "v4.0.0-beta.164",
            "v4.0.0-beta.163",
            "v4.0.0-beta.162",
            "v4.0.0-beta.161",
            "v4.0.0-beta.160",
            "v4.0.0-beta.159",
            "v4.0.0-beta.158",
            "v4.0.0-beta.157",
            "v4.0.0-beta.156",
            "v4.0.0-beta.155",
            "v4.0.0-beta.154",
            "v4.0.0-beta.153",
            "v4.0.0-beta.152",
            "v4.0.0-beta.151",
            "v4.0.0-beta.150",
            "v4.0.0-beta.149",
            "v4.0.0-beta.148",
            "v4.0.0-beta.147",
            "v4.0.0-beta.146",
            "v4.0.0-beta.145",
            "v4.0.0-beta.144",
            "v4.0.0-beta.143",
            "v4.0.0-beta.142",
            "v4.0.0-beta.141",
            "v4.0.0-beta.140",
            "v4.0.0-beta.139",
            "v4.0.0-beta.138",
            "v4.0.0-beta.137",
            "v4.0.0-beta.136",
            "v4.0.0-beta.135",
            "v4.0.0-beta.134",
            "v4.0.0-beta.133",
            "v4.0.0-beta.132",
            "v4.0.0-beta.131",
            "v4.0.0-beta.130",
            "v4.0.0-beta.129",
            "v4.0.0-beta.128",
            "v4.0.0-beta.127",
            "v4.0.0-beta.126",
            "v4.0.0-beta.125",
            "v4.0.0-beta.124",
            "v4.0.0-beta.123",
            "v4.0.0-beta.122",
            "v4.0.0-beta.121",
            "v4.0.0-beta.120",
            "v4.0.0-beta.119",
            "v4.0.0-beta.118",
            "v4.0.0-beta.117",
            "v4.0.0-beta.116",
            "v4.0.0-beta.115",
            "v4.0.0-beta.114",
            "v4.0.0-beta.113",
            "v4.0.0-beta.112",
            "v4.0.0-beta.111",
            "v4.0.0-beta.110",
            "v4.0.0-beta.109",
            "v4.0.0-beta.108",
            "v4.0.0-beta.107",
            "v4.0.0-beta.106",
            "v4.0.0-beta.105",
            "v4.0.0-beta.104",
            "v4.0.0-beta.103",
            "v4.0.0-beta.102",
            "v4.0.0-beta.101",
            "v4.0.0-beta.100",
            "v4.0.0-beta.99",
            "v4.0.0-beta.98",
            "v4.0.0-beta.97",
            "v4.0.0-beta.96",
            "v4.0.0-beta.95",
            "v4.0.0-beta.94",
            "v4.0.0-beta.93",
            "v4.0.0-beta.92",
            "v4.0.0-beta.91",
            "v4.0.0-beta.90",
            "v4.0.0-beta.89",
            "v4.0.0-beta.88",
            "v4.0.0-beta.87",
            "v4.0.0-beta.86",
            "v4.0.0-beta.85",
            "v4.0.0-beta.84",
            "v4.0.0-beta.83",
            "v4.0.0-beta.82",
            "v4.0.0-beta.81",
            "v4.0.0-beta.80",
            "v4.0.0-beta.79",
            "v4.0.0-beta.78",
            "v4.0.0-beta.77",
            "v4.0.0-beta.76",
            "v4.0.0-beta.75",
            "v4.0.0-beta.74",
            "v4.0.0-beta.73",
            "v4.0.0-beta.72",
            "v4.0.0-beta.71",
            "v4.0.0-beta.70",
            "v4.0.0-beta.69",
            "v4.0.0-beta.68",
            "v4.0.0-beta.67",
            "v4.0.0-beta.66",
            "v4.0.0-beta.65",
            "v4.0.0-beta.64",
            "v4.0.0-beta.63",
            "v4.0.0-beta.62",
            "v4.0.0-beta.61",
            "v4.0.0-beta.60",
            "v4.0.0-beta.59",
            "v4.0.0-beta.58",
            "v4.0.0-beta.57",
            "v4.0.0-beta.56",
            "v4.0.0-beta.55",
            "v4.0.0-beta.54",
            "v4.0.0-beta.53",
            "v4.0.0-beta.52",
            "v4.0.0-beta.51",
            "v4.0.0-beta.50",
            "v4.0.0-beta.49",
            "v4.0.0-beta.48",
            "v4.0.0-beta.47",
            "v4.0.0-beta.46",
            "v4.0.0-beta.45",
            "v4.0.0-beta.44",
            "v4.0.0-beta.43",
            "v4.0.0-beta.42",
            "v4.0.0-beta.41",
            "4.0.0-beta.40",
            "4.0.0-beta.39",
            "v4.0.0-beta.38",
            "v4.0.0-beta.37",
            "v4.0.0-beta.36",
            "v4.0.0-beta.35",
            "v4.0.0-beta.34",
            "v4.0.0-beta.33",
            "v4.0.0-beta.32",
            "v4.0.0-beta.31",
            "v4.0.0-beta.30",
            "v4.0.0-beta.29",
            "v4.0.0-beta.28",
            "v4.0.0-beta.27",
            "v4.0.0-beta.26",
            "v4.0.0-beta.25",
            "v4.0.0-beta.24",
            "v4.0.0-beta.23",
            "v4.0.0-beta.22",
            "v4.0.0-beta.21",
            "v4.0.0-beta.20",
            "v4.0.0-beta.19",
            "v4.0.0-beta.18"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-22605.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:27.670685587Z",
      "provider": "osv",
      "references": [
        "https://github.com/coollabsio/coolify/blob/40a239ddda3fc919f57a052d7b52b8e1a6696b81/bootstrap/helpers/remoteProcess.php#L70",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/22xxx/CVE-2025-22605.json",
        "https://github.com/coollabsio/coolify/security/advisories/GHSA-9wqm-fg79-4748",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-22605",
        "https://github.com/coollabsio/coolify/commit/353245bb7de9680f238bae30443af1696bc977b0",
        "https://github.com/coollabsio/coolify/pull/1524",
        "https://github.com/coollabsio/coolify/pull/1625"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-78"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/22xxx/CVE-2025-22605.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-22605",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 494254,
  "published_at": "2025-01-24T14:54:18.707+00:00"
}