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.
CVE-2026-73040
This high-severity CVE scores 8.8 under a secondary CVSS source (NVD's own analysis pending). EPSS exploit-prediction score not yet available (the EPSS model rescores nightly; freshly-published CVEs typically appear within 48 hours). GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- High severity, but no confirmed exploitation yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 8.8
- EG Score
- 8.8(low)
- EG Risk
- 44(Track)EG Risk 44/100SSVC: Track
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity88% × 45%Exploitation0% × 40%Automatability30% × 15%Action: Routine — remediate on your standard cadence. - EPSS PROB
- —
- EPSS %ILE
- —
- KEV
- Not listed
Published
August 20, 2026
Last Modified
August 20, 2026
Advisory Details (7)
Auto-updated Aug 20, 2026Dockge Path Traversal via Unvalidated Stack Name Allows Arbitrary Compose and .env Disclosure and Arbitrary Directory Deletion | Advisories | VulnCheck
https://www.vulncheck.com/advisories/dockge-path-traversal-via-unvalidated-stack-name-allows-arbitrary-compose-and-env-disclosure-and-arbitrary-directory-deletionGitHub - louislam/dockge: A fancy, easy-to-use and reactive self-hosted docker compose.yaml stack-oriented manager · GitHub
https://github.com/louislam/dockgedockge/backend/agent-socket-handlers/docker-socket-handler.ts at 1.5.0 · louislam/dockge · GitHub
https://github.com/louislam/dockge/blob/1.5.0/backend/agent-socket-handlers/docker-socket-handler.ts#L43-L78dockge/backend/stack.ts at 1.5.0 · louislam/dockge · GitHub
https://github.com/louislam/dockge/blob/1.5.0/backend/stack.ts#L218-L232dockge/backend/stack.ts at 1.5.0 · louislam/dockge · GitHub
https://github.com/louislam/dockge/blob/1.5.0/backend/stack.ts#L377-L379dockge/backend/stack.ts at 1.5.0 · louislam/dockge · GitHub
https://github.com/louislam/dockge/blob/1.5.0/backend/stack.ts#L155-L157Authenticated Path Traversal in stack name allows arbitrary .env/Compose file disclosure and arbitrary directory deletion · Issue #994 · louislam/dockge · GitHub
https://github.com/louislam/dockge/issues/994Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 3× in last 7d / 3× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-08-20 21:22 UTCEG score recompute
- 2026-08-20 20:42 UTCEG score recompute
- 2026-08-20 20:41 UTCMITRE cvelistV5first tracked
Related CVEs(same CWE)
Frequently asked(4)
What is CVE-2026-73040?
When was CVE-2026-73040 disclosed?
What is the CVSS score of CVE-2026-73040?
How do I remediate CVE-2026-73040?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2026-73040
Is Your Infrastructure Affected by CVE-2026-73040?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.