Path Traversal in Beszel
CVE-2026-27734
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.
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N.
EPSS exploit prediction
EPSS 0.005, 46.3th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Beszel
- Henrygd Beszel — versions < 0.18.4
Weakness classification (CWE)
References
- https://github.com/henrygd/beszel/security/advisories/GHSA-phwh-4f42-gwf3 (Exploit, Vendor Advisory)
- https://github.com/henrygd/beszel/releases/tag/v0.18.4 (Product, Release Notes)