The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-27734

CVE-2026-27734: Beszel Path Traversal Vulnerability

CVE-2026-27734 is a path traversal flaw in Beszel server monitoring platform that allows authenticated users to access arbitrary Docker API endpoints. This article covers technical details, affected versions, and mitigation.

Published: March 6, 2026

CVE-2026-27734 Overview

CVE-2026-27734 is a path traversal vulnerability affecting Beszel, 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.

Critical Impact

Authenticated users with any role, including readonly, can exploit path traversal sequences to access arbitrary Docker API endpoints on agent hosts, potentially exposing sensitive infrastructure information and container configurations.

Affected Products

  • Beszel server monitoring platform versions prior to 0.18.2
  • Beszel hub API endpoints /api/beszel/containers/logs and /api/beszel/containers/info
  • All agent hosts connected to vulnerable Beszel hub instances

Discovery Timeline

  • 2026-02-27 - CVE-2026-27734 published to NVD
  • 2026-03-04 - Last updated in NVD database

Technical Details for CVE-2026-27734

Vulnerability Analysis

This vulnerability is classified as CWE-22 (Improper Limitation of a Pathname to a Restricted Directory), commonly known as path traversal or directory traversal. The core issue lies in the hub's API implementation which accepts a user-supplied "container" query parameter and forwards it to the agent without proper input sanitization or validation.

The agent component then constructs Docker Engine API URLs by directly interpolating this untrusted input using Go's fmt.Sprintf function. The critical security flaw is the absence of url.PathEscape() encoding on this user-controlled value. This oversight allows attackers to inject path traversal sequences such as ../ into the URL path.

Go's standard http.Client library exhibits behavior that exacerbates this vulnerability: it does not automatically sanitize path traversal sequences (../) from URL paths when communicating over unix sockets. This is particularly relevant since Docker Engine API communication typically occurs over the Docker unix socket (/var/run/docker.sock).

An attacker with any level of authentication, including the lowest-privilege readonly role, can craft malicious requests containing ../ sequences in the container parameter. This allows them to escape the intended API path and access arbitrary Docker Engine API endpoints, potentially exposing sensitive information about the container infrastructure, system configurations, and other containers running on the host.

Root Cause

The root cause is insufficient input validation in the Beszel hub's container-related API endpoints. The "container" query parameter is passed directly to agent hosts without sanitization. The agent fails to use proper URL encoding functions like url.PathEscape() when constructing Docker Engine API URLs, allowing path traversal sequences to be interpreted literally. This combination of missing input validation at the hub level and improper URL construction at the agent level creates an exploitable path traversal condition.

Attack Vector

The attack is network-based and requires low-privilege authentication. An attacker with valid credentials (even readonly access) can send HTTP GET requests to the vulnerable endpoints (/api/beszel/containers/logs or /api/beszel/containers/info) with a maliciously crafted "container" parameter containing ../ path traversal sequences. These sequences allow the attacker to navigate out of the intended Docker API path and access arbitrary endpoints on the Docker Engine API, potentially retrieving sensitive infrastructure information, container configurations, secrets, or other data accessible through the Docker API.

The vulnerability mechanism can be described as follows: when a legitimate request targets a specific container, the agent constructs a URL path. However, by injecting traversal sequences into the container parameter, an attacker can manipulate the constructed path to reach unintended Docker API endpoints. The agent's use of fmt.Sprintf without proper escaping, combined with Go's http.Client behavior over unix sockets, allows these sequences to remain intact and be processed by the Docker daemon. For detailed technical information, refer to the GitHub Security Advisory.

Detection Methods for CVE-2026-27734

Indicators of Compromise

  • HTTP requests to /api/beszel/containers/logs or /api/beszel/containers/info endpoints containing ../ sequences in the "container" query parameter
  • Unusual Docker API access patterns originating from Beszel agent processes
  • Access logs showing attempts to reach Docker API endpoints outside of normal container monitoring operations
  • Authenticated users accessing container information for resources they should not have visibility into

Detection Strategies

  • Implement web application firewall (WAF) rules to detect and block path traversal sequences (../, ..%2F, ..%5C) in query parameters
  • Monitor Beszel hub access logs for requests containing encoded or raw path traversal patterns in the container parameter
  • Enable Docker daemon audit logging to detect unusual API access patterns from the Beszel agent
  • Deploy runtime application self-protection (RASP) solutions capable of detecting path traversal attempts

Monitoring Recommendations

  • Configure alerting for any requests to Beszel container endpoints containing path manipulation characters
  • Monitor Docker socket access for requests originating from Beszel agent processes that target unexpected API endpoints
  • Review authentication logs for accounts accessing container information outside their normal operational scope
  • Establish baseline behavior for Docker API access patterns and alert on deviations

How to Mitigate CVE-2026-27734

Immediate Actions Required

  • Upgrade Beszel to version 0.18.4 or later immediately, as this version contains the security fix
  • Audit access logs for any signs of exploitation attempts against the vulnerable endpoints
  • Review user accounts with access to the Beszel platform and remove unnecessary readonly or higher-privilege accounts
  • Consider implementing network segmentation to limit access to Beszel hub and agent communication channels

Patch Information

The vulnerability has been addressed in Beszel version 0.18.4. The fix implements proper input validation and URL encoding using url.PathEscape() to prevent path traversal sequences from being processed. Organizations should update to this version or later as soon as possible. The patched release is available at the GitHub Release v0.18.4. Additional details about the vulnerability and fix are documented in the GitHub Security Advisory GHSA-phwh-4f42-gwf3.

Workarounds

  • If immediate patching is not possible, implement a reverse proxy or WAF in front of the Beszel hub to filter requests containing path traversal sequences
  • Restrict network access to Beszel hub API endpoints to only trusted IP ranges or systems
  • Temporarily disable or restrict access to the vulnerable container logs and info endpoints if the functionality is not critical
  • Monitor and audit all access to the affected endpoints while awaiting patching
bash
# Example: Verify Beszel version after upgrade
beszel version
# Expected output should show v0.18.4 or later

# Example: WAF rule concept for blocking path traversal in container parameter
# Block requests where 'container' parameter contains path traversal sequences
# SecRule ARGS:container "@contains ../" "id:100001,phase:1,deny,status:403,msg:'Path traversal attempt blocked'"

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypePath Traversal

  • Vendor/TechBeszel

  • SeverityMEDIUM

  • CVSS Score6.5

  • EPSS Probability0.01%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-22
  • Technical References
  • GitHub Release v0.18.4
  • Vendor Resources
  • GitHub Security Advisory GHSA-phwh-4f42-gwf3
  • Related CVEs
  • CVE-2026-40077: Beszel Hub Auth Bypass Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English