CVE-2026-27734: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in henrygd beszel
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 Analysis
Technical Summary
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.
Affected Countries
United States, Germany, United Kingdom, Canada, Australia, France, Netherlands, Japan, South Korea, India
CVE-2026-27734: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in henrygd 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
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.
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 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Related Threats
CVE-2024-29741: Elevation of privilege in Google Android
HighCVE-2026-28426: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in statamic cms
HighCVE-2025-11252: CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in Signum Technology Promotion and Training Inc. windesk.fm
CriticalCVE-2026-2647
UnknownCVE-2026-28425: CWE-94: Improper Control of Generation of Code ('Code Injection') in statamic cms
HighActions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.