CVE-2026-73040: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in louislam dockge
CVE-2026-73040 is a path traversal vulnerability in louislam dockge allowing authenticated users to read and delete files outside the intended directory. The flaw arises because stack names are only validated on write operations, but not on read or delete paths, enabling traversal sequences to access arbitrary directories. This can disclose sensitive environment and Compose files and delete directories if they contain valid Compose files. Instances with disabled authentication expose these operations without login. The vulnerability has a high severity with a CVSS score of 8.7 and affects dockge versions up to 1.5.0.
AI Analysis
Technical Summary
Dockge improperly limits pathname validation to write operations, specifically validating stack names only in the save() path with a regex allow-list. However, the path getter and Stack.getStack functions construct paths without validation, allowing traversal sequences in stack names to resolve outside the managed stacks directory. Authenticated users can exploit this to read .env and Compose files from arbitrary directories accessible by the server process, disclosing secrets. They can also invoke delete() to run 'docker compose down' and recursively remove directories if a valid Compose file is present. Instances configured with disableAuth automatically authenticate callers as admin, exposing these operations without authentication. Dockge often runs as root with Docker socket access, increasing potential impact.
Potential Impact
An authenticated user can read sensitive environment and Compose files from any directory accessible to the dockge server process, potentially disclosing secrets. They can also delete directories containing valid Compose files, causing data loss. The vulnerability is more severe in instances with disabled authentication, which allow unauthenticated access to these operations. Since dockge commonly runs with root privileges and Docker socket access, the affected directories may include unrelated applications, increasing risk.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict access to dockge instances, especially those with disableAuth enabled, to trusted users only. Avoid running dockge with root privileges or Docker socket access if possible. Monitor for updates from the vendor and apply official patches or mitigations once released.
CVE-2026-73040: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in louislam dockge
Description
CVE-2026-73040 is a path traversal vulnerability in louislam dockge allowing authenticated users to read and delete files outside the intended directory. The flaw arises because stack names are only validated on write operations, but not on read or delete paths, enabling traversal sequences to access arbitrary directories. This can disclose sensitive environment and Compose files and delete directories if they contain valid Compose files. Instances with disabled authentication expose these operations without login. The vulnerability has a high severity with a CVSS score of 8.7 and affects dockge versions up to 1.5.0.
CVSS v4.0
Score 8.7high
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Dockge improperly limits pathname validation to write operations, specifically validating stack names only in the save() path with a regex allow-list. However, the path getter and Stack.getStack functions construct paths without validation, allowing traversal sequences in stack names to resolve outside the managed stacks directory. Authenticated users can exploit this to read .env and Compose files from arbitrary directories accessible by the server process, disclosing secrets. They can also invoke delete() to run 'docker compose down' and recursively remove directories if a valid Compose file is present. Instances configured with disableAuth automatically authenticate callers as admin, exposing these operations without authentication. Dockge often runs as root with Docker socket access, increasing potential impact.
Potential Impact
An authenticated user can read sensitive environment and Compose files from any directory accessible to the dockge server process, potentially disclosing secrets. They can also delete directories containing valid Compose files, causing data loss. The vulnerability is more severe in instances with disabled authentication, which allow unauthenticated access to these operations. Since dockge commonly runs with root privileges and Docker socket access, the affected directories may include unrelated applications, increasing risk.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict access to dockge instances, especially those with disableAuth enabled, to trusted users only. Avoid running dockge with root privileges or Docker socket access if possible. Monitor for updates from the vendor and apply official patches or mitigations once released.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-08-10T19:06:03.364Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a876924acd9273b491d06a9
Added to database: 08/20/2026, 20:52:52 UTC
Last enriched: 08/20/2026, 21:07:17 UTC
Last updated: 08/20/2026, 21:07:17 UTC
Views: 4
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.