CVE-2026-27734 Beszel Vulnerable to Docker API Path Traversal via Unsanitized Container ID
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- Docker
Description
Beszel is a server monitoring platform. Prior to version 0.18.2, the hub's authenticated API endpoints GET /api/beszel/containers/logs and GET /api/beszel/containers/info pass the user-supplied "container" query parameter to the agent without validation. The agent constructs Docker Engine API URLs using fmt.Sprintf with the raw value instead of url.PathEscape(). Since Go's http.Client does not sanitize ../ sequences from URL paths sent over unix sockets, an authenticated user (including readonly role) can traverse to arbitrary Docker API endpoints on agent hosts, exposing sensitive infrastructure details. Version 0.18.4 fixes the issue.
Upgrade path
4 packages: 3 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| alpine/beszel(Alpine v3.23) | < 0.18.7-r0 | 0.18.7-r0 | Fixed |
| beszel | < 0.18.2 | 0.18.2 | Fixed |
| henrygd github.com/henrygd/beszel(Go) | < 0.18.4; <= 0.18.3 | 0.18.4 | Fixed |
| henrygd github.com/henrygd/beszel | = < 0.18.4 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| henrygd github.com/henrygd/beszel(Go) | < 0.18.4 | 0.18.4 |
| henrygd github.com/henrygd/beszel | = < 0.18.4 | No fix listed |
| henrygd github.com/henrygd/beszel(Go) | <= 0.18.3 | No fix listed |
| alpine/beszel(Alpine:v3.23) | < 0.18.7-r0 | 0.18.7-r0 |
| beszel | < 0.18.2 | 0.18.2 |
References
- https://github.com/henrygd/beszel/security/advisories/GHSA-phwh-4f42-gwf3 exploit vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- github.com product
- https://github.com/henrygd/beszel/releases/tag/v0.18.4 product release-notes
- github.com
- security.alpinelinux.org vendor-advisory