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

AILast updated: 02/27/2026, 20:13:23 UTC

Technical Analysis

The beszel platform, a server monitoring tool, contains a path traversal vulnerability identified as CVE-2026-27734 affecting versions before 0.18.4. The vulnerability arises in the hub's authenticated API endpoints GET /api/beszel/containers/logs and GET /api/beszel/containers/info, which accept a user-supplied 'container' query parameter. This parameter is passed directly to the agent without proper validation or sanitization. The agent uses Go's fmt.Sprintf to construct Docker Engine API URLs with the raw 'container' value instead of applying url.PathEscape(), allowing malicious input containing '../' sequences to traverse directories. Since Go's http.Client does not sanitize such sequences when communicating over Unix sockets, an authenticated user can access arbitrary Docker API endpoints on the agent host. This can lead to exposure of sensitive infrastructure information such as container logs and metadata. The vulnerability requires authentication but does not require user interaction and does not allow integrity or availability compromise. The issue is resolved in beszel version 0.18.4 by properly escaping or validating the 'container' parameter before URL construction. No known exploits are reported in the wild as of publication.

Potential Impact

This vulnerability can lead to unauthorized disclosure of sensitive infrastructure details by allowing authenticated users to access arbitrary Docker API endpoints on agent hosts. Organizations relying on beszel for monitoring containerized environments risk exposure of container logs and metadata, which may contain sensitive operational or security information. Although the vulnerability does not allow modification or disruption of services, the confidentiality breach can aid attackers in reconnaissance or lateral movement within the environment. The requirement for authentication limits exposure to insiders or compromised accounts, but readonly roles are also affected, increasing the attack surface. Enterprises with extensive container deployments and monitoring using beszel versions prior to 0.18.4 are at risk of information leakage that could facilitate further attacks or compliance violations.

Mitigation Recommendations

Organizations should upgrade beszel to version 0.18.4 or later immediately to apply the official fix that properly sanitizes the 'container' query parameter. Until upgrading, restrict access to beszel's authenticated API endpoints to trusted users only and audit readonly accounts for potential misuse. Implement network segmentation and access controls to limit communication between beszel agents and Docker Engine APIs. Monitor API usage logs for unusual or unexpected requests containing directory traversal patterns such as '../'. Consider deploying Web Application Firewalls (WAFs) or API gateways that can detect and block path traversal attempts. Additionally, conduct regular security reviews of custom monitoring tools to ensure proper input validation and sanitization practices are followed.

Need more detailed analysis?Upgrade to Pro Console

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: 2/27/2026, 8:13:23 PM

Last updated: 2/28/2026, 5:58:25 AM

Views: 8

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 in Console -> Billing 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