CVE-2026-45408
Dokku es un PaaS basado en Docker. Antes de la versión 0.38.2, la expresión regular de validación del nombre de la aplicación (^[a-z0-9][^/:_A-Z]*$) permite metacaracteres de shell. Cuando un usuario autenticado envía (push) a un remoto de git con un nombre de aplicación manipulado, el nombre se incrusta sin comillas en un script de gancho pre-receive de bash mediante un here document sin comillas (<<EOF en lugar de <<'EOF') en fn-git-create-hook() en plugins/git/internal-functions:378. Al hacer git push, bash interpreta el punto y coma como separador de comandos, ejecutando comandos arbitrarios como el usuario dokku. Esta vulnerabilidad está corregida en la versión 0.38.2.
Traducción automática del texto original de NVD (en inglés).
CVSS
- Puntuación base
- 9
- Versión
- 3.1
- Vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
Probabilidad de explotación (EPSS)
- Probabilidad de explotación en los próximos 30 días
- 0.42 %
- Percentil entre todas las CVEs puntuadas
- 35
- Fecha de la puntuación
- 20/10/2026
EPSS (Exploit Prediction Scoring System, de FIRST) estima la probabilidad de que una vulnerabilidad sea explotada en 30 días. Complementa a CVSS (impacto) y a CISA KEV (explotación confirmada).
Técnicas ATT&CK
Cómo se explota esta vulnerabilidad y qué consigue el atacante, en el lenguaje de MITRE ATT&CK.
- Explotación
T1203Exploitation for Client Executionexecution85 % - Impacto principal
T1059Command and Scripting Interpreterexecution90 % - Impacto secundario
T1068Exploitation for Privilege Escalationprivilege escalation75 %
CWE-78 con inyección en heredoc; UI:R (git push interactivo) + AV:N → T1203. El atacante ejecuta comandos arbitrarios (T1059) como usuario dokku, con potencial escalada (T1068).
Inferido por nuestro agente de análisis a partir de la descripción oficial, el vector CVSS y la CWE, y comprobado por un supervisor. Puede contener errores.
Mitigaciones ATT&CK que cubren estas técnicas
Tecnologías afectadas (1)
CWE
- CWE-78
Referencias
JSON original (NVD)
Mostrar
{
"id": "CVE-2026-45408",
"cveTags": [],
"metrics": {
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"id": "CVE-2026-45408",
"role": "CISA Coordinator",
"options": [
{
"exploitation": "none"
},
{
"automatable": "no"
},
{
"technicalImpact": "total"
}
],
"version": "2.0.3",
"timestamp": "2026-06-26T18:14:28.682565Z"
}
}
],
"cvssMetricV31": [
{
"type": "Secondary",
"source": "security-advisories@github.com",
"cvssData": {
"scope": "CHANGED",
"version": "3.1",
"baseScore": 9,
"attackVector": "NETWORK",
"baseSeverity": "CRITICAL",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H",
"integrityImpact": "HIGH",
"userInteraction": "REQUIRED",
"attackComplexity": "LOW",
"availabilityImpact": "HIGH",
"privilegesRequired": "LOW",
"confidentialityImpact": "HIGH"
},
"impactScore": 6,
"exploitabilityScore": 2.3
}
]
},
"affected": [
{
"source": "security-advisories@github.com",
"affectedData": [
{
"vendor": "dokku",
"product": "dokku",
"versions": [
{
"status": "affected",
"version": "< 0.38.2"
}
]
}
]
}
],
"published": "2026-06-26T17:16:33.427",
"references": [
{
"url": "https://github.com/dokku/dokku/pull/8590",
"tags": [
"Issue Tracking",
"Patch"
],
"source": "security-advisories@github.com"
},
{
"url": "https://github.com/dokku/dokku/security/advisories/GHSA-9x85-7gxq-fcr3",
"tags": [
"Vendor Advisory"
],
"source": "security-advisories@github.com"
}
],
"vulnStatus": "Analyzed",
"weaknesses": [
{
"type": "Secondary",
"source": "security-advisories@github.com",
"description": [
{
"lang": "en",
"value": "CWE-78"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "Dokku is a docker-powered PaaS. Prior to 0.38.2, the app name validation regex (^[a-z0-9][^/:_A-Z]*$) permits shell metacharacters. When an authenticated user pushes to a git remote with a crafted app name, the name is embedded unquoted into a bash pre-receive hook script via an unquoted heredoc (<<EOF instead of <<'EOF') in fn-git-create-hook() at plugins/git/internal-functions:378. On git push, bash interprets the semicolon as a command separator, executing arbitrary commands as the dokku user. This vulnerability is fixed in 0.38.2."
}
],
"lastModified": "2026-06-26T19:16:40.433",
"configurations": [
{
"nodes": [
{
"negate": false,
"cpeMatch": [
{
"criteria": "cpe:2.3:a:dokku:dokku:*:*:*:*:-:*:*:*",
"vulnerable": true,
"matchCriteriaId": "5D111D37-869B-4B10-9590-9B2E278E5ECD",
"versionEndExcluding": "0.38.2"
}
],
"operator": "OR"
}
]
}
],
"sourceIdentifier": "security-advisories@github.com"
}