Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-27734: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in henrygd beszel

0
Medium
VulnerabilityCVE-2026-27734cvecve-2026-27734cwe-22
Published: Fri Feb 27 2026 (02/27/2026, 19:41:30 UTC)
Source: CVE Database V5
Vendor/Project: henrygd
Product: beszel

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.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 03/06/2026, 21:40:46 UTC

Technical Analysis

Beszel is a server monitoring platform that prior to version 0.18.4 contained a path traversal vulnerability (CVE-2026-27734) in its authenticated API endpoints GET /api/beszel/containers/logs and GET /api/beszel/containers/info. These endpoints accept a 'container' query parameter which is passed directly to the agent without proper validation or sanitization. The agent constructs Docker Engine API URLs using fmt.Sprintf with the raw 'container' value instead of safely escaping it with url.PathEscape(). Because Go's http.Client does not sanitize '../' sequences in URL paths sent over unix sockets, an authenticated user can craft a 'container' parameter containing path traversal sequences to access arbitrary Docker API endpoints on the agent host. This can expose sensitive infrastructure details such as container logs, configuration, or other metadata that should be restricted. The vulnerability affects beszel versions prior to 0.18.4 and requires at least authenticated access (readonly role suffices). There is no known exploitation in the wild yet. The issue was addressed by properly escaping the 'container' parameter to prevent path traversal. The CVSS 3.1 vector is AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N, indicating network attack vector, low attack complexity, privileges required, no user interaction, unchanged scope, high confidentiality impact, and no integrity or availability impact.

Potential Impact

The primary impact of this vulnerability is unauthorized disclosure of sensitive infrastructure information. Attackers with authenticated access, even with readonly privileges, can leverage the path traversal to query arbitrary Docker Engine API endpoints on the agent host. This could reveal container logs, configurations, environment variables, or other metadata that may contain secrets or operational details. Such information disclosure can facilitate further attacks, reconnaissance, or lateral movement within an organization's infrastructure. Although the vulnerability does not allow code execution or denial of service, the exposure of sensitive data can significantly increase risk. Organizations relying on beszel for monitoring containerized environments are at risk of leaking critical operational data if running vulnerable versions. The requirement for authentication limits exposure to insiders or compromised accounts, but readonly roles are often widely granted, increasing the attack surface. Since the vulnerability affects the Docker API over unix sockets, it specifically impacts environments using Docker containers monitored by beszel agents.

Mitigation Recommendations

Organizations should immediately upgrade beszel to version 0.18.4 or later, where the vulnerability is fixed by proper escaping of the 'container' parameter. Until upgrade is possible, restrict access to beszel's authenticated API endpoints to trusted users only, minimizing readonly role assignments. Implement network segmentation and host-level access controls to limit who can reach the beszel agent hosts and Docker API sockets. Monitor API usage logs for suspicious or anomalous requests containing path traversal sequences such as '../'. Employ runtime security tools to detect unusual Docker API calls. Review and tighten container monitoring roles and permissions to enforce least privilege. Additionally, consider deploying web application firewalls or API gateways that can detect and block path traversal attempts in query parameters. Regularly audit and rotate secrets and credentials that may be exposed through container metadata to reduce risk from potential leaks.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-02-23T18:37:14.790Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 69a1f6db32ffcdb8a26bc2d9

Added to database: 2/27/2026, 7:56:11 PM

Last enriched: 3/6/2026, 9:40:46 PM

Last updated: 4/13/2026, 11:19:04 PM

Views: 73

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses