{"id":"CVE-2026-27734","published":"2026-02-27T19:41:30Z","modified":"2026-03-02T12:52:19Z","title":"Beszel Vulnerable to Docker API Path Traversal via Unsanitized Container ID","vendor":"henrygd","product":"beszel","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00537,"percentile":0.46133,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/henrygd/beszel/security/advisories/GHSA-phwh-4f42-gwf3","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/henrygd/beszel/releases/tag/v0.18.4","tags":["x_refsource_MISC"]}],"priority":{"score":13.8,"factors":[{"name":"EPSS percentile","points":9.23},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"henrygd","affectedVersions":[{"vendor":"henrygd","product":"beszel","versions":["< 0.18.4"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-03-02T12:51:38.292112Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/henrygd/beszel","vulnerableRanges":["<0.18.4"],"patched":["0.18.4"],"from":["GHSA-phwh-4f42-gwf3","GO-2026-4571"],"provenance":"source"}],"summary":{"text":"Beszel, a server monitoring platform, has a path traversal flaw in its hub API: the \"container\" query parameter on the /api/beszel/containers/logs and /api/beszel/containers/info endpoints is passed unvalidated to the agent, which builds Docker Engine API URLs from it without escaping. An attacker with network access and an authenticated account, including a readonly role, can use \"../\" sequences to reach arbitrary Docker API endpoints on agent hosts and view sensitive infrastructure details, with no user interaction required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:40:24Z"},"euvd":{"id":"EUVD-2026-9053","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-27734","published":"2026-02-27","fixed":"0.18.4","kev":false},{"cve":"CVE-2026-40077","published":"2026-04-09","fixed":"0.18.7","kev":false,"link":{"from":"CVE-2026-27734","to":"CVE-2026-40077","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/henrygd/beszel","fromFixed":"0.18.4","toFixed":"0.18.7","daysApart":41}]}}],"package":"Go:github.com/henrygd/beszel"}}