medium CVSS 6.5 EPSS <0.1%

CVE-2026-27734·Docker vulnerability

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.

Severity
medium
Software
Docker
Fixed in
0.18.2
Published

How likely is exploitation

FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at <0.1% — higher than 3% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.

Affected versions

Until: 0.18.2

Fixed in: 0.18.2

How to fix this CVE

Update Docker to version 0.18.4 or later to patch a path traversal vulnerability in the Beszel monitoring platform that allows authenticated users to bypass API endpoint restrictions. This vulnerability affects Docker installations used with Beszel monitoring agents running on the same host. Apply the update immediately across all affected infrastructure to prevent unauthorized access to Docker API endpoints.

sudo dnf update docker-ce docker-ce-cli docker-buildx-plugin docker-compose-plugin

Defensia detects this vulnerability

What an exploitation attempt looks like

Sample log line indicative of exploitation attempts:

POST|GET /api/beszel/containers/(logs|info)\?container=\.\.%2F(images|networks|containers|volumes) or similar URL-encoded path traversal sequences in Beszel hub API requests from authenticated users

WAF mitigation (if patching is not yet possible)

Add this rule to your WAF to block exploitation attempts while you schedule the patch.

Implement input validation rules to reject container parameter values containing '..', '/', '%2f', '%2e', or other path traversal indicators before they reach the Docker agent; enforce allowlist matching against valid container ID/name patterns (alphanumeric, dash, underscore only)

How to check if you are affected

  1. Run 'docker --version' and check if the version is 0.18.2 or earlier; if Beszel is deployed, verify the hub version with 'curl http://localhost:8090/api/version' (adjust URL for your environment)
  2. Check if Beszel hub API endpoints are exposed to the network by reviewing Docker port mappings: 'docker ps | grep beszel'
  3. Search Docker daemon logs for suspicious container API calls: 'docker logs <container-id> | grep -i '../' or 'docker logs <container-id> | grep -E '(containers|images|networks)' | grep -v standard'
  4. Verify the patch by confirming Beszel version is 0.18.4+: check the release tag in your deployment or inspect the container image digest against the official Beszel repository

FAQ

What is CVE-2026-27734?

CVE-2026-27734 is a path traversal vulnerability in Beszel's Docker API integration where user-supplied container query parameters are not properly escaped when constructing Docker API URLs, allowing authenticated users to access arbitrary Docker endpoints and retrieve sensitive infrastructure information.

Is CVE-2026-27734 being actively exploited?

No, this vulnerability is not listed on the CISA Known Exploited Vulnerabilities (KEV) catalog and no public exploits are currently available, though it remains a significant risk for Beszel deployments with network-exposed hub instances.

What versions of Docker are affected by CVE-2026-27734?

The vulnerability affects Beszel versions prior to 0.18.4; Docker itself is not directly vulnerable, but Docker installations monitoring agents communicating with vulnerable Beszel hub instances are at risk of unauthorized API access.

How do I check if my server is vulnerable to CVE-2026-27734?

Run 'docker exec <beszel-hub-container> cat /app/version.txt' or check your Beszel deployment logs for version information; if the version is 0.18.2 or earlier, your installation is vulnerable.

Does Defensia detect CVE-2026-27734?

Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Docker is installed on a monitored server, CVE-2026-27734 will appear in your dashboard with remediation steps.

Related Docker CVEs

CVE-2026-57572CVSS 10Crawl4AI is an open-source LLM-friendly web crawler and scraper. Prior to 0.9.0, the Docker API server accepted request-supplied browser_config.extra_args, which flowed into Chromium's launch arguments. An attacker could inject Chromium switches that replace a child-process launch command together with --no-zygote, causing Chromium to fork or exec an attacker-controlled command as the container's runtime user. The Docker API is unauthenticated by default, so a single request yields arbitrary command execution. This issue is fixed in version 0.9.0.
CVE-2026-33587CVSS 10Lack of user input sanitisation in Open Notebook v1.8.3 allows the application user to execute Python code (and subsequently OS commands) on the docker container via Server-Side Template Injection (SSTI) for user-created transformations.
CVE-2026-44329CVSS 10free5GC is an open-source implementation of the 5G core network. Prior to 4.2.2, free5GC's SMF mounts the UPI management route group without OAuth2/bearer-token authorization middleware. A network attacker who can reach SMF on the SBI can hit UPI endpoints with no Authorization header at all, and the requests reach the SMF business handlers. In the running Docker lab this was directly demonstrated for read (GET /upi/v1/upNodesLinks), write (POST /upi/v1/upNodesLinks with attacker-controlled UP-node and link payload), and delete (DELETE /upi/v1/upNodesLinks/{nodeID}) operations. This vulnerability is fixed in 4.2.2.
CVE-2026-53576CVSS 10Kestra is an open-source, event-driven orchestration platform. Prior to 1.0.45 and 1.3.21, the authentication filter for the REST API (@Filter("/api/v1/**")) treats any request whose path ends in /configs as the public instance-config endpoint and forwards it without a credential check. kestra addresses its resources by URL path segments that the caller chooses (/api/v1/{tenant}/flows/{namespace}, /api/v1/{tenant}/executions/{namespace}/{id}, /api/v1/{tenant}/namespaces/{namespace}/kv/{key}). An anonymous caller picks the literal configs as the final segment, and the request bypasses Basic-Auth entirely. Because the bypass reaches the flow-create and execution-trigger routes, an unauthenticated caller creates a flow containing a Shell or Process task and runs it. The task executes as root inside the kestra container. The official docker-compose.yml mounts /var/run/docker.sock, so root in the container reaches the host Docker daemon. This vulnerability is fixed in 1.0.45 and 1.3.21.
CVE-2026-26216CVSS 10Crawl4AI versions prior to 0.8.0 contain a remote code execution vulnerability in the Docker API deployment. The /crawl endpoint accepts a hooks parameter containing Python code that is executed using exec(). The __import__ builtin was included in the allowed builtins, allowing unauthenticated remote attackers to import arbitrary modules and execute system commands. Successful exploitation allows full server compromise, including arbitrary command execution, file read and write access, sensitive data exfiltration, and lateral movement within internal networks.

References

Track CVEs across your fleet automatically

Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-27734. Free for 1 server.

Get started free