{"answers":{"affected":"","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-72867 exists.","fix":"No fix has been published for CVE-2026-72867 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-72867 is a critical command injection vulnerability in dokploy, published on 10 Aug 2026. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-72867 and fix it if it is affected.\n\nWhat it is: CVE-2026-72867 is a critical command injection vulnerability in dokploy, published on 10 Aug 2026. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-72867 exists.\n\nAffected product: dokploy. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-72867/ (Markdown: https://insights.sbomify.com/CVE-2026-72867/index.md)","id":"CVE-2026-72867","markdown":"https://insights.sbomify.com/CVE-2026-72867/index.md","name":"CVE-2026-72867","record":{"aliases":["GHSA-cg8g-x23v-5fw8"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Dokploy PaaS","requires_auth":"low_privilege","summary":"A low-privileged user can execute arbitrary host commands via unvalidated branch fields in the compose deployment pipeline.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":9.9,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"},{"id":"CWE-602","name":"Client-Side Enforcement of Server-Side Security"},{"id":"CWE-20","name":"Improper Input Validation"}],"description":"Dokploy is a free, self-hostable Platform as a Service (PaaS). From 0.29.3 until 0.29.13, the incomplete fix for CVE-2026-45628 leaves packages/server/src/db/schema/compose.ts branch fields without server-side validation, allowing a direct compose.update request to store a malicious customGitBranch, branch, gitlabBranch, bitbucketBranch, or giteaBranch. A low-privileged authenticated user can trigger compose.deploy, which passes the stored branch to shell-based Git clone commands in packages/server/src/utils/providers/git.ts, github.ts, gitlab.ts, bitbucket.ts, and gitea.ts, resulting in arbitrary host command execution. This issue is fixed in version 0.29.13.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2026-10-20","github_poc":2,"max_poc_stars":0,"metasploit":0,"nuclei":1,"refs":[{"date":"2026-10-20T21:56:21Z","kind":"github_poc","ref":"https://github.com/Lulztigre/CVE-2026-72867","stars":0,"title":"Working, stdlib-only PoC. A low-privileged authenticated user stores a shell palistener"},{"date":"2026-10-21T08:11:05Z","kind":"github_poc","ref":"https://github.com/WoYinDao/CVE-2026-72867-CVSS-9.9-Critical","stars":0,"title":"Dokploy \u003c=0.29.12 compose branch stored command injection (CVSS 9.9 Critical) — clean-room exploit, swarm lab orchestration, reproduced live against v0.29.12 with host-takeover channel proof"},{"date":null,"kind":"nuclei","ref":"http/cves/2026/CVE-2026-72867.yaml","stars":null,"title":"Dokploy \u003c= 0.29.12 - Authenticated RCE via Command Injection"}],"tier":"weaponised"},"has_fix":false,"headline":"Command injection in dokploy","id":"CVE-2026-72867","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"command_injection","year":"2026"},"n_packages":0,"n_references":4,"next":{"headline":"Dokploy: Member-role RCE as host root via destination.testConnection rclone shell injection","id":"CVE-2026-72868"},"packages":[],"prev":{"headline":"WebSocket Terminal Auth Bypass","id":"CVE-2026-72866"},"products":["dokploy"],"published":"2026-08-10","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"MIT","name":"Nuclei templates"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-08-13","vendors":["Dokploy"]},"summary":"A low-privileged user can execute arbitrary host commands via unvalidated branch fields in the compose deployment pipeline.","url":"https://insights.sbomify.com/CVE-2026-72867/"}