Dokploy: Remote Code Execution via destinationPath in Container File Upload
Dokploy is a free, self-hostable Platform as a Service (PaaS). In 0.29.1 and earlier, a command injection vulnerability exists in the Docker file upload functionality. When an authenticated user uploads a file to a container, the destinationPath parameter is not properly sanitized and is directly interpolated into a shell command string. By including shell metacharacters such as ; or ", an attacker can escape the intended docker cp command and execute arbitrary OS commands on the Dokploy host.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-45663
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 17:59 UTC · Revision 1
Source evidence
Dokploy: Remote Code Execution via destinationPath in Container File Upload
core-osv · Original sourcePublished 29 May 2026, 16:03 UTC
Dokploy is a free, self-hostable Platform as a Service (PaaS). In 0.29.1 and earlier, a command injection vulnerability exists in the Docker file upload functionality. When an authenticated user uploads a file to a container, the destinationPath parameter is not properly sanitized and is directly interpolated into a shell command string. By including shell metacharacters such as ; or ", an attacker can escape the intended docker cp command and execute arbitrary OS commands on the Dokploy host.
osv:CVE-2026-45663
Complete source record
{
"id": "9df10e53c2aa6cb4978a84f103fb85ab20900dbe5d582d99cd7c97d39095c81e",
"url": "https://osv.dev/vulnerability/CVE-2026-45663",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Dokploy: Remote Code Execution via destinationPath in Container File Upload",
"summary": "Dokploy is a free, self-hostable Platform as a Service (PaaS). In 0.29.1 and earlier, a command injection vulnerability exists in the Docker file upload functionality. When an authenticated user uploads a file to a container, the destinationPath parameter is not properly sanitized and is directly interpolated into a shell command string. By including shell metacharacters such as ; or \", an attacker can escape the intended docker cp command and execute arbitrary OS commands on the Dokploy host.",
"evidence": "osv:CVE-2026-45663",
"products": [],
"severity": "critical",
"structured": {
"id": "CVE-2026-45663",
"aliases": [
"CVE-2026-45663",
"GHSA-9m66-74x3-5mwr"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/dokploy/dokploy",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"last_affected": "98a586478e1b8168fab53aefb8fce9f37cfd6aa2"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"last_affected": "0.29.1"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"introduced": "0"
},
{
"last_affected": "0.29.1"
}
],
"source": "DESCRIPTION"
}
]
}
}
],
"versions": [
"v0.29.1",
"v0.29.0",
"v0.28.8",
"v0.28.7",
"v0.28.6",
"v0.28.5",
"v0.28.4",
"v0.28.3",
"v0.28.2",
"v0.28.1",
"v0.28.0",
"v0.27.1",
"v0.27.0",
"v0.26.7",
"v0.26.6",
"v0.26.5",
"v0.26.4",
"v0.26.3",
"v0.26.2",
"v0.26.0",
"v0.26.1",
"v0.25.11",
"v0.25.10",
"v0.25.9",
"v0.25.8",
"v0.25.7",
"v0.25.6",
"v0.25.5",
"v0.25.4",
"v0.25.3",
"v0.25.2",
"v0.25.1",
"v0.25.0",
"v0.24.12",
"v0.24.11",
"v0.24.10",
"v0.24.9",
"v0.24.8",
"v0.24.7",
"v0.24.6",
"v0.24.5",
"v0.24.4",
"v0.24.3",
"v0.24.2",
"v0.24.1",
"v0.24.0",
"v0.23.7",
"v0.23.6",
"v0.23.5",
"v0.23.4",
"v0.23.3",
"v0.23.2",
"v0.23.1",
"v0.23.0",
"v0.22.7",
"v0.22.6",
"v0.22.5",
"v0.22.4",
"v0.22.3",
"v0.22.2",
"v0.22.1",
"v0.22.0",
"v0.21.8",
"v0.21.7",
"v0.21.0",
"v0.21.4",
"v0.21.6",
"v0.21.5",
"v0.21.3",
"v0.21.2",
"v0.21.1",
"v0.20.8",
"v0.20.7",
"v0.20.6",
"v0.20.5",
"v0.20.4",
"v0.20.3",
"v0.20.2",
"v0.20.1",
"v0.20.0",
"v0.19.1",
"v0.18.4",
"v0.19.0",
"v0.18.3",
"v0.18.2",
"v0.18.1",
"v0.18.0",
"v0.17.9",
"v0.17.8",
"v0.17.7",
"v0.17.6",
"v0.17.5",
"v0.17.4",
"v0.17.2",
"v0.17.1",
"v0.17.0",
"v0.16.1",
"v0.16.0",
"v0.15.1",
"v0.15.0",
"v0.14.1",
"v0.14.0",
"v0.13.1",
"v0.13.0",
"v0.12.0",
"v0.11.2",
"v0.11.1",
"v0.11.0",
"v0.10.10",
"v0.10.9",
"v0.10.7",
"v0.10.6",
"v0.10.5",
"v0.10.4",
"v0.10.3",
"v0.10.2",
"v0.10.1",
"v0.10.0",
"v0.9.4",
"v0.9.3",
"v0.9.2",
"v0.9.1",
"v0.9.0",
"v0.8.3",
"v0.8.2",
"v0.8.1",
"v0.8.0",
"v0.7.3",
"v0.7.2",
"v0.7.1",
"v0.7.0",
"v0.6.3",
"v0.6.2",
"v0.6.1",
"v0.6.0",
"v0.5.1",
"v0.5.0",
"v0.4.0",
"v0.3.3",
"v0.3.2",
"v0.3.1",
"v0.3.0",
"v0.2.5",
"v0.2.4",
"v0.2.3",
"v0.2.2",
"v0.2.1",
"v0.1.0",
"v0.0.4",
"v0.0.3",
"v0.0.2",
"v0.0.1"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-45663.json"
}
}
],
"modified": "2026-10-28T02:30:31.036031256Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45663.json",
"https://github.com/Dokploy/dokploy/security/advisories/GHSA-9m66-74x3-5mwr",
"https://nvd.nist.gov/vuln/detail/CVE-2026-45663"
],
"provider_metadata": {
"cwe_ids": [
"CWE-77"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45663.json"
}
},
"related_cves": [
{
"value": "CVE-2026-45663",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 498115,
"published_at": "2026-05-29T16:03:22.999+00:00"
}