CVE-2026-34158
Full vulnerability record from the local CVENow database.
Description
Coolify is an open-source and self-hostable tool for managing servers, applications, and databases. Prior to 4.0.0-beta.469, the executeInDocker() helper wraps user-controlled commands in single quotes without escaping embedded single quotes. Attackers who can edit application settings can inject a single quote into docker_compose_custom_build_command or docker_compose_custom_start_command to break out of the quoted context and execute arbitrary commands on the managed server host during deployments, escaping the intended Docker container confinement. This issue is fixed in version 4.0.0-beta.469.
Severity
HIGH
CVSS score
8.8
(v3.1)
Vulnerability status
Deferred
Source identifier
Published
2026-07-07 05:16:50.730000
Last modified
2026-10-25 20:10:00.147000
View original CVE JSON
{
"id": "CVE-2026-34158",
"sourceIdentifier": "[email protected]",
"published": "2026-07-07T05:16:50.730",
"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. Prior to 4.0.0-beta.469, the executeInDocker() helper wraps user-controlled commands in single quotes without escaping embedded single quotes. Attackers who can edit application settings can inject a single quote into docker_compose_custom_build_command or docker_compose_custom_start_command to break out of the quoted context and execute arbitrary commands on the managed server host during deployments, escaping the intended Docker container confinement. This issue is fixed in version 4.0.0-beta.469."
},
{
"lang": "es",
"value": "Coolify es una herramienta de código abierto y autoalojable para gestionar servidores, aplicaciones y bases de datos. Antes de la versión 4.0.0-beta.469, la función auxiliar executeInDocker() envuelve los comandos controlados por el usuario en comillas simples sin escapar las comillas simples incrustadas. Los atacantes que pueden editar la configuración de la aplicación pueden inyectar una comilla simple en docker_compose_custom_build_command o docker_compose_custom_start_command para salir del contexto entre comillas y ejecutar comandos arbitrarios en el host del servidor gestionado durante las implementaciones, escapando del confinamiento previsto del contenedor Docker. Este problema está solucionado en la versión 4.0.0-beta.469."
}
],
"affected": [
{
"source": "[email protected]",
"affectedData": [
{
"vendor": "coollabsio",
"product": "coolify",
"versions": [
{
"version": "< 4.0.0-beta.469",
"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-07T13:38:23.643397Z",
"id": "CVE-2026-34158",
"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/security/advisories/GHSA-j6j2-frv3-g6f7",
"source": "[email protected]"
},
{
"url": "https://github.com/coollabsio/coolify/security/advisories/GHSA-j6j2-frv3-g6f7",
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0"
}
]
}