{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-66211","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","state":"PUBLISHED","assignerShortName":"GitHub_M","dateReserved":"2025-11-24T23:01:29.678Z","datePublished":"2025-12-23T22:00:36.081Z","dateUpdated":"2026-03-17T16:18:26.310Z"},"containers":{"cna":{"title":"Coolify Vulnerable to Authenticated Remote Code Execution via Command Injection in PostgreSQL Init Script Filename","problemTypes":[{"descriptions":[{"cweId":"CWE-78","lang":"en","description":"CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')","type":"CWE"}]}],"metrics":[{"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"LOW","userInteraction":"NONE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"HIGH","subIntegrityImpact":"HIGH","subAvailabilityImpact":"HIGH","baseScore":9.4,"baseSeverity":"CRITICAL","vectorString":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H","version":"4.0"}}],"references":[{"name":"https://github.com/coollabsio/coolify/security/advisories/GHSA-24mp-fc9q-c884","tags":["x_refsource_CONFIRM"],"url":"https://github.com/coollabsio/coolify/security/advisories/GHSA-24mp-fc9q-c884"},{"name":"https://github.com/coollabsio/coolify/pull/7375","tags":["x_refsource_MISC"],"url":"https://github.com/coollabsio/coolify/pull/7375"},{"name":"https://github.com/0xrakan/coolify-cve-2025-66209-66213","tags":["x_refsource_MISC"],"url":"https://github.com/0xrakan/coolify-cve-2025-66209-66213"},{"name":"https://github.com/coollabsio/coolify/releases/tag/v4.0.0-beta.451","tags":["x_refsource_MISC"],"url":"https://github.com/coollabsio/coolify/releases/tag/v4.0.0-beta.451"}],"affected":[{"vendor":"coollabsio","product":"coolify","versions":[{"version":"< 4.0.0-beta.451","status":"affected"}]}],"providerMetadata":{"orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","shortName":"GitHub_M","dateUpdated":"2026-01-06T15:45:48.428Z"},"descriptions":[{"lang":"en","value":"Coolify is an open-source and self-hostable tool for managing servers, applications, and databases. Prior to version 4.0.0-beta.451, an authenticated command injection vulnerability in PostgreSQL Init Script Filename handling allows users with application/service management permissions to execute arbitrary commands as root on managed servers. PostgreSQL initialization script filenames are passed to shell commands without proper validation, enabling full remote code execution. Version 4.0.0-beta.451 fixes the issue."}],"source":{"advisory":"GHSA-24mp-fc9q-c884","discovery":"UNKNOWN"}},"adp":[{"references":[{"url":"https://github.com/coollabsio/coolify/security/advisories/GHSA-24mp-fc9q-c884","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-03-17T16:18:22.179059Z","id":"CVE-2025-66211","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2026-03-17T16:18:26.310Z"}}]}}