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

- Severity: Medium 6.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.54%, higher than 46% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-02-27T19:41:30.418Z
- Modified: 2026-06-17T10:27:34.413Z
- Also known as: GHSA-phwh-4f42-gwf3, GO-2026-4571
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- henrygd beszel: < 0.18.4
- github.com/henrygd/beszel (Go): before 0.18.4
- beszel beszel: before 0.18.2

## Every score

- GitHub_M: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/henrygd/beszel/security/advisories/GHSA-phwh-4f42-gwf3> (exploit, advisory, vendor-advisory, web)
- <https://github.com/henrygd/beszel/releases/tag/v0.18.4> (product, release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-27734> (advisory)
- <https://github.com/henrygd/beszel/commit/311095cfddda113863ca9656cf9e99411be1cef5> (fix, web)
- <https://github.com/henrygd/beszel> (package)

## Sources

- CVE List: [CVE-2026-27734](https://www.cve.org/CVERecord?id=CVE-2026-27734), CVE Terms of Use, modified 2026-03-02
- GitHub Advisory Database: [GHSA-phwh-4f42-gwf3](https://github.com/advisories/GHSA-phwh-4f42-gwf3), CC-BY-4.0, modified 2026-03-23
- Go Vulnerability Database: [GO-2026-4571](https://pkg.go.dev/vuln/GO-2026-4571), CC-BY-4.0, modified 2026-03-23
- NVD: [CVE-2026-27734](https://nvd.nist.gov/vuln/detail/CVE-2026-27734), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-27734 · Whole record: https://cve.day/CVE-2026-27734.json · Rebuilt by cve.day 2026-11-25T22:59:15.039Z
