Skip to content

CVE-2026-27734 Beszel Vulnerable to Docker API Path Traversal via Unsanitized Container ID

MediumCVSS 6.5 EPSS 0.55%
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.

PackageAffectedFixed inStatus
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

ProductAffected versionsFixed 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