Skip to main content
Vulnerability Database/CVE-2026-105037

CVE-2026-105037: EnergizeLab Station-Middleware Path Traversal

CVE-2026-105037 is a path traversal vulnerability in EnergizeLab station-middleware that allows low-privilege users to read arbitrary server files and secrets. This article covers technical details, affected versions, impact, and mitigation.

Published:

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

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-105037 Overview

CVE-2026-105037 is an arbitrary file read vulnerability in EnergizeLab station-middleware Docker images built on NestJS, versions 1.6.5 through 1.8.2. Any authenticated low-privilege account can supply an attacker-controlled file path and retrieve arbitrary files from the container filesystem. The flaw exposes middleware source files, configuration data, and server secrets stored on the host. The weakness is classified as External Control of File Name or Path [CWE-73].

Critical Impact

Low-privilege authenticated attackers can exfiltrate middleware source code, environment files, and credentials by passing crafted paths to a vulnerable file-handling endpoint.

Affected Products

  • EnergizeLab station-middleware NestJS Docker image 1.6.5
  • EnergizeLab station-middleware NestJS Docker image versions 1.6.5 through 1.8.2
  • EnergizeLab station-middleware NestJS Docker image 1.8.2

Discovery Timeline

  • 2026-10-15 - CVE-2026-105037 published to NVD
  • 2026-10-16 - Last updated in NVD database

Technical Details for CVE-2026-105037

Vulnerability Analysis

The station-middleware service exposes an endpoint that accepts a client-supplied file path and returns the file contents to the caller. The endpoint enforces authentication but does not validate that the requested path falls within an allowed directory. Any registered account, regardless of role, can request paths outside the intended scope.

Because the service runs inside a container with access to application configuration and secret material, successful exploitation yields credentials, API tokens, and middleware source files. Captured secrets enable lateral movement into connected backend services, databases, and station hardware integrations referenced by the middleware.

Root Cause

The root cause is external control of file name or path [CWE-73]. The endpoint trusts the user-provided path parameter and passes it to a file read operation without canonicalization or allow-list checks. Traversal sequences and absolute paths are not rejected before the read occurs.

Attack Vector

Exploitation requires network access to the middleware HTTP interface and valid credentials for any low-privilege account. The attacker sends a request to the vulnerable endpoint with a path parameter pointing to a sensitive file on the container, such as application configuration, .env files, or NestJS source modules. The server responds with the file contents.

A public proof-of-concept is available in the GitHub PoC repository. Additional context is provided in the TakeOnMe GCVE Analysis and a related report from The Verge.

Detection Methods for CVE-2026-105037

Indicators of Compromise

  • HTTP requests to middleware endpoints containing path traversal sequences such as ../, encoded variants like %2e%2e%2f, or absolute paths beginning with /etc, /app, or /proc.
  • Authenticated sessions from low-privilege accounts generating large volumes of file read requests in short time windows.
  • Outbound connections from backend services using credentials that previously resided only in middleware configuration files.

Detection Strategies

  • Inspect reverse proxy and application logs for file path parameters referencing configuration files, private keys, or paths outside the intended content directory.
  • Correlate successful authentication events for low-privilege accounts with immediate access to file-serving endpoints.
  • Alert on container filesystem reads of .env, config/, or secrets/ paths originating from the NestJS process.

Monitoring Recommendations

  • Enable verbose request logging on the station-middleware service and forward logs to a centralized analytics platform.
  • Monitor container runtime telemetry for unexpected read access to sensitive directories by the Node.js process.
  • Track credential usage patterns for secrets stored in middleware configuration to identify replay from unexpected hosts.

How to Mitigate CVE-2026-105037

Immediate Actions Required

  • Upgrade the station-middleware Docker image to a fixed release published after version 1.8.2 once available from EnergizeLab.
  • Rotate all secrets, API keys, database credentials, and tokens stored in or accessible to the middleware container.
  • Restrict network access to the middleware HTTP interface so only trusted internal clients can reach the vulnerable endpoint.
  • Audit account inventories and disable registered accounts that are no longer required.

Patch Information

No vendor advisory URL is listed in the available CVE references. Operators should monitor EnergizeLab release channels for a fixed station-middleware image above 1.8.2 and apply it as soon as it is published. Until a patched image is released, treat all exposed instances as compromised and prioritize credential rotation.

Workarounds

  • Place the middleware behind a web application firewall that blocks path traversal patterns and requests to known-sensitive paths.
  • Run the container with a read-only root filesystem and remove sensitive files from paths reachable by the Node.js process.
  • Enforce least-privilege account provisioning and remove self-registration if it is not required.
  • Mount secrets through runtime-only mechanisms rather than files inside the container image.
bash
# Configuration example
# Example reverse proxy rule to block traversal and absolute path parameters
# NGINX location snippet in front of station-middleware
location /api/ {
    if ($args ~* "(\.\./|%2e%2e%2f|path=/)") {
        return 403;
    }
    proxy_pass http://station_middleware_upstream;
}

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

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

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.