CVE-2026-73040
Last modified
CVE-2026-73040 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. Dockge validates a stack name only on the write path. In backend/stack.ts the allow-list check in validate(), which requires the name to match ^[a-z0-9_-]+$, is reached from save() alone, while the path getter returns path.join(this.server.stacksDir, this.name) and Stack.getStack builds path.join(server.stacksDir, stackName) with no check. EPSS estimates a 0.82% chance of exploitation in the next 30 days.
Description
Dockge validates a stack name only on the write path. In backend/stack.ts the allow-list check in validate(), which requires the name to match ^[a-z0-9_-]+$, is reached from save() alone, while the path getter returns path.join(this.server.stacksDir, this.name) and Stack.getStack builds path.join(server.stacksDir, stackName) with no check. The socket handlers in backend/agent-socket-handlers/docker-socket-handler.ts confirm the caller is logged in and that the name is a string, then pass it straight to Stack.getStack, so a name containing traversal sequences resolves outside the managed stacks directory. An authenticated user can therefore read the composeENV and composeYAML values of any directory the server process can reach, which discloses the secrets in that directory's .env or Compose file, and can invoke delete(), which runs docker compose down and then fsAsync.rm on the traversed path with recursive and force set, removing that directory. Disclosure is limited to files named .env or an accepted Compose filename, and deletion requires the target directory to hold a valid Compose file so that docker compose down exits successfully. Dockge commonly runs as root with access to the Docker socket, so the reachable set includes unrelated applications on the host. Instances configured with disableAuth, a supported option that logs the caller in as admin automatically, expose both operations without authentication.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| louislam | dockge | <= 1.5.0 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-73040?
How severe is CVE-2026-73040?
How do I fix CVE-2026-73040?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-73035npm-check-updates through 23.0.2, fixed in commit b554b84, c…4.3
- CVE-2026-73036Bash-it 3.2.0 contains a terminal escape sequence injection …4.4
- CVE-2026-73037Next AI Draw.io 0.2.1 through 0.4.16 contains a reflected cr…6.1
- CVE-2026-73038NodeBB before 4.15.0 contains a stored cross-site scripting …6.1
- CVE-2026-73039streama contains an insecure direct object reference vulnera…5.4
- CVE-2026-7304SGLangs multimodal generation runtime is vulnerable to unaut…9.8
- CVE-2026-73041SiYuan versions before v3.7.4 fail to validate or escape ann…9
- CVE-2026-73042SiYuan before v3.7.4 fails to properly escape database menu …9
- CVE-2026-73043SiYuan versions before v3.7.4 contain a remote code executio…9
- CVE-2026-73044SiYuan versions before v3.7.4 fail to validate or escape tab…9
- CVE-2026-73045SiYuan before 3.7.4 contains an improper restriction of exce…7.5
- CVE-2026-73046SiYuan before v3.7.4 improperly restricts excessive authenti…9.8
Are you affected by CVE-2026-73040?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
