CVE-2026-42204
Full vulnerability record from the local CVENow database.
Description
Coolify is an open-source and self-hostable tool for managing servers, applications, and databases. From 4.0.0-beta.471 through 4.0.0-beta.473, a regression in SHELL_SAFE_COMMAND_PATTERN allowed ampersands in custom Docker Compose build, start, and pre/post-deployment command fields, allowing an authenticated team member to inject shell commands that execute on the host. This issue is fixed in version 4.0.0-beta.474.
Severity
HIGH
CVSS score
8.8
(v3.1)
Vulnerability status
Deferred
Source identifier
Published
2026-07-06 22:16:49.510000
Last modified
2026-10-25 20:10:00.147000
View original CVE JSON
{
"id": "CVE-2026-42204",
"sourceIdentifier": "[email protected]",
"published": "2026-07-06T22:16:49.510",
"lastModified": "2026-10-25T20:10:00.147",
"vulnStatus": "Deferred",
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "Coolify is an open-source and self-hostable tool for managing servers, applications, and databases. From 4.0.0-beta.471 through 4.0.0-beta.473, a regression in SHELL_SAFE_COMMAND_PATTERN allowed ampersands in custom Docker Compose build, start, and pre/post-deployment command fields, allowing an authenticated team member to inject shell commands that execute on the host. This issue is fixed in version 4.0.0-beta.474."
},
{
"lang": "es",
"value": "Coolify es una herramienta de código abierto y autoalojable para gestionar servidores, aplicaciones y bases de datos. Desde la 4.0.0-beta.471 hasta la 4.0.0-beta.473, una regresión en SHELL_SAFE_COMMAND_PATTERN permitió ampersands en los campos de comandos personalizados de Docker Compose para compilación, inicio y pre/post-despliegue, lo que permitió a un miembro del equipo autenticado inyectar comandos de shell que se ejecutan en el host. Este problema está solucionado en la versión 4.0.0-beta.474."
}
],
"affected": [
{
"source": "[email protected]",
"affectedData": [
{
"vendor": "coollabsio",
"product": "coolify",
"versions": [
{
"version": ">= 4.0.0-beta.471, < 4.0.0-beta.474",
"status": "affected"
}
]
}
]
}
],
"metrics": {
"cvssMetricV31": [
{
"source": "[email protected]",
"type": "Secondary",
"cvssData": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"baseScore": 8.8,
"baseSeverity": "HIGH",
"attackVector": "NETWORK",
"attackComplexity": "LOW",
"privilegesRequired": "LOW",
"userInteraction": "NONE",
"scope": "UNCHANGED",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"availabilityImpact": "HIGH"
},
"exploitabilityScore": 2.8,
"impactScore": 5.9
}
],
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"timestamp": "2026-07-07T14:47:26.768127Z",
"id": "CVE-2026-42204",
"options": [
{
"exploitation": "poc"
},
{
"automatable": "no"
},
{
"technicalImpact": "total"
}
],
"role": "CISA Coordinator",
"version": "2.0.3"
}
}
]
},
"weaknesses": [
{
"source": "[email protected]",
"type": "Secondary",
"description": [
{
"lang": "en",
"value": "CWE-78"
}
]
}
],
"references": [
{
"url": "https://github.com/coollabsio/coolify/commit/e1aac50b745cf499e710b7e35cd2a9d6a1538dd9",
"source": "[email protected]"
},
{
"url": "https://github.com/coollabsio/coolify/pull/9684",
"source": "[email protected]"
},
{
"url": "https://github.com/coollabsio/coolify/releases/tag/v4.0.0-beta.474",
"source": "[email protected]"
},
{
"url": "https://github.com/coollabsio/coolify/security/advisories/GHSA-chg4-63hm-xv9x",
"source": "[email protected]"
},
{
"url": "https://github.com/coollabsio/coolify/security/advisories/GHSA-chg4-63hm-xv9x",
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0"
}
]
}