CVE-2026-27734
MEDIUM 6.5CVSS 3.1Beszel: Docker API has a Path Traversal Vulnerability via Unsanitized Container ID
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.
- Published
- 27 Feb 2026
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-22
- Also known as
- GHSA-phwh-4f42-gwf3GO-2026-4571
- Sources
- NVDJSONOSV GHSA-phwh-4f42-gwf3JSONOSV GO-2026-4571JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | beszel | beszelcpe:2.3:a:beszel:beszel:*:*:*:*:*:*:*:* |
< 0.18.2 | 0.18.2 |
| OSV | Go | github.com/henrygd/beszel | < 0.18.4 | 0.18.4 |
References
- https://github.com/henrygd/beszel/releases/tag/v0.18.4 · Product, Release Notes, WEB
- https://github.com/henrygd/beszel/security/advisories/GHSA-phwh-4f42-gwf3 · Exploit, Vendor Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2026-27734 · ADVISORY
- https://github.com/henrygd/beszel/commit/311095cfddda113863ca9656cf9e99411be1cef5 · WEB, FIX
- https://github.com/henrygd/beszel · PACKAGE
History
- 25 Nov 2026 21:01 UTC · NVD: first stored (published 27 Feb 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 10 Mar 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 27 Feb 2026)