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

CVE-2026-107334: Malcolm NGINX Lua RBAC Auth Bypass Flaw

CVE-2026-107334 is an authentication bypass flaw in Malcolm's NGINX Lua RBAC layer that lets low-privilege users access admin paths via percent-encoding. This post covers the technical details, affected systems, 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-107334 Overview

CVE-2026-107334 is an authorization bypass vulnerability in Malcolm, a network traffic analysis suite maintained by CISA. The flaw resides in the nginx Lua role-based access control (RBAC) layer that gates access to administrative paths such as /htadmin, /auth, /admin_login, /arkime/api/esadmin, NetBox, and upload endpoints. The RBAC gate pattern-matches the raw, percent-encoded request URI, while nginx itself routes requests using the percent-decoded, normalized URI. An authenticated low-privilege user can request admin-only paths using percent-encoded characters to bypass the RBAC check and reach restricted locations. The weakness is tracked as CWE-863: Incorrect Authorization.

Critical Impact

Authenticated low-privilege Malcolm users can reach administrative endpoints and modify sensitive configuration or user state they should not control.

Affected Products

  • Malcolm (CISA) — nginx Lua RBAC layer
  • Role-restricted endpoints including /htadmin, /auth, /admin_login, /arkime/api/esadmin
  • Integrated components routed through the gated nginx locations, including NetBox and upload endpoints

Discovery Timeline

  • 2026-10-08 - CVE-2026-107334 published to NVD
  • 2026-10-08 - Last updated in NVD database

Technical Details for CVE-2026-107334

Vulnerability Analysis

Malcolm fronts its web services with nginx and enforces role-based access control through Lua scripts that inspect the request URI. The Lua gate compares the URI against a list of restricted path patterns (for example, /htadmin, /auth, /admin_login, /arkime/api/esadmin) and denies access when the authenticated user lacks the required role.

The check operates on the raw, percent-encoded URI string provided by the client. Nginx, however, selects the location block that serves the request using the percent-decoded, normalized URI. These two views of the same request diverge whenever the client encodes characters that are preserved in the raw string but collapsed before routing.

A low-privilege authenticated user can therefore request /%68tadmin.php instead of /htadmin.php. The Lua RBAC gate matches the literal string /%68tadmin.php, finds no restriction pattern, and allows the request. Nginx then decodes the URI to /htadmin.php and dispatches it to the restricted administrative location. The result is horizontal and vertical privilege escalation inside the Malcolm interface.

Root Cause

The root cause is a parser differential between the authorization layer and the routing layer. The Lua RBAC check never calls a percent-decoding routine before pattern matching, so semantically identical URIs produce different authorization outcomes depending on their encoding. This is a classic [CWE-863] authorization inconsistency driven by inconsistent URI normalization.

Attack Vector

Exploitation requires network access to the Malcolm web interface and valid credentials for any role, including low-privilege read-only accounts. The attacker crafts an HTTP request whose URI percent-encodes one or more characters inside the restricted path segment. Delivery is a single HTTP request; no user interaction, chaining, or specialized tooling is required beyond an HTTP client.

Technical details and the reproduction scenario are documented in the GitHub Security Advisory GHSA-jr6p-63pg-hr6g and the CISA CSAF document ICSA-26-280-01.

Detect Identity Attacks the Moment Authentication Fails

Singularity™ Identity surfaces credential misuse, lateral movement, and privilege escalation in real time, so you can contain the breach before it spreads.

Stop Identity Attacks

Detection Methods for CVE-2026-107334

Indicators of Compromise

  • Access log entries containing percent-encoded alphabetic characters inside administrative path segments, for example /%68tadmin, /%61uth, or /%61dmin_login.
  • Successful HTTP 200 responses to administrative endpoints originating from accounts that do not hold the administrator role.
  • Requests to /arkime/api/esadmin, NetBox administrative routes, or upload endpoints from user identities with no prior history of accessing those paths.

Detection Strategies

  • Parse nginx access logs and flag any request URI containing % followed by hex digits in the first path segment, then correlate with the authenticated user's assigned role.
  • Compare the raw request URI with its percent-decoded form; alert when decoding reveals a path that matches a known restricted prefix.
  • Baseline per-user access to administrative endpoints and alert on first-time access by non-administrator principals.

Monitoring Recommendations

  • Forward nginx access and error logs from Malcolm to a central log store and retain full raw URIs rather than normalized paths.
  • Enable Lua RBAC debug logging where available to record both the matched pattern and the final nginx location served.
  • Monitor Malcolm administrative actions (user creation, role changes, index deletions) and alert when the acting account is not an administrator.

How to Mitigate CVE-2026-107334

Immediate Actions Required

  • Upgrade Malcolm to the fixed release identified in GHSA-jr6p-63pg-hr6g as soon as it is available in your environment.
  • Restrict network access to the Malcolm web interface to trusted administrator networks until the patch is applied.
  • Audit existing Malcolm user accounts and remove or disable accounts that do not require ongoing access.

Patch Information

Refer to the Malcolm GitHub Security Advisory GHSA-jr6p-63pg-hr6g for the fixed version and the exact commit that normalizes URIs before RBAC evaluation. The companion CISA ICSA-26-280-01 CSAF advisory tracks the issue in the ICS advisory stream.

Workarounds

  • Add an nginx rule that rejects any request whose URI contains percent-encoded characters in the first path segment, returning HTTP 400 before Lua RBAC evaluation.
  • Deploy a reverse proxy or web application firewall in front of Malcolm that normalizes URIs and re-applies path-based access control using the decoded form.
  • Temporarily restrict administrative endpoints such as /htadmin, /auth, /admin_login, and /arkime/api/esadmin at the network layer so only administrator source addresses can reach them.
bash
# Example nginx guard: block percent-encoded characters in the first path segment
# Place inside the server block that fronts Malcolm, above existing location blocks.
if ($request_uri ~* "^/[^/?]*%[0-9A-Fa-f]{2}") {
    return 400;
}

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.