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

CVE-2026-108899: Zoraxy Auth Bypass Vulnerability

CVE-2026-108899 is an authentication bypass flaw in Zoraxy proxy that allows remote attackers to circumvent authorization controls. This post explains its technical details, affected versions, and mitigation steps.

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-108899 Overview

CVE-2026-108899 is an improper authorization vulnerability in tobychui Zoraxy reverse proxy up to version 3.3.4. The flaw resides in the handleBasicAuth function within mod/dynamicproxy/authProviders.go, part of the Path Exception Matcher component. The Path Exception rules for Basic Auth, Authelia, and CAPTCHA match on a raw string prefix rather than a path boundary. An attacker can manipulate the PathPrefix argument to bypass authentication controls remotely without user interaction. A public exploit has been released, and upgrading to version 3.3.5-rc1 (commit 37cd0f27b17cd15cfa4af409bfec943146f5fdfe) resolves the issue.

Critical Impact

Remote attackers can bypass Basic Auth, Authelia, and CAPTCHA protections on Zoraxy-proxied routes by crafting requests whose paths share a prefix with excepted paths, exposing otherwise protected backend applications.

Affected Products

  • tobychui Zoraxy versions up to and including 3.3.4
  • Zoraxy Path Exception Matcher component (mod/dynamicproxy/authProviders.go)
  • Zoraxy forward-auth and CAPTCHA gating (src/mod/auth/sso/forward/ignoredpaths.go)

Discovery Timeline

  • 2026-10-12 - CVE-2026-108899 published to NVD
  • 2026-10-13 - Last updated in NVD database

Technical Details for CVE-2026-108899

Vulnerability Analysis

Zoraxy is an open-source reverse proxy that supports per-route authentication through Basic Auth, Authelia (zorxauth), and CAPTCHA. Administrators configure Path Exception rules so that specific sub-paths bypass authentication, for example to allow unauthenticated access to static assets or webhook endpoints.

The vulnerable matcher compared the incoming request path against the exception list using a raw string prefix check. Because the match did not enforce a path segment boundary (/), an attacker can request a URL that begins with the excepted prefix but continues into a protected path. The authentication layer treats the request as excepted and forwards it to the upstream service without challenge. This weakness is tracked under CWE-266: Incorrect Privilege Assignment.

Root Cause

The root cause is improper path parsing in exception rule evaluation. The code used strings.HasPrefix style comparison on the raw request path. A rule intended to except /public also matches /public-admin, /publicsecret, or /public../private. The fix unifies proxy path matching and CAPTCHA gating through a dedicated pathmatch package that enforces segment boundaries.

Attack Vector

An unauthenticated remote attacker sends an HTTP request to the Zoraxy-fronted service with a URL constructed to begin with an exempted prefix. No credentials, user interaction, or privileged position are required. The reverse proxy's authentication gate is bypassed and the request reaches the backend application, enabling access to resources that should require Basic Auth, Authelia session, or CAPTCHA verification.

go
// Patch excerpt: src/mod/auth/sso/forward/ignoredpaths.go
 package forward
 
 import (
-	"net/url"
-	"path"
 	"strings"
+
+	"imuslab.com/zoraxy/mod/pathmatch"
 )

Source: GitHub Zoraxy Commit 37cd0f2

go
// Patch excerpt: src/mod/dynamicproxy/Server.go
 	"os"
 	"path/filepath"
 	"strings"
-
-	"imuslab.com/zoraxy/mod/dynamicproxy/captcha"
 )

Source: GitHub Zoraxy Commit 37cd0f2

The patch replaces ad-hoc string handling with the shared pathmatch module so Basic Auth, forward-auth, and CAPTCHA all evaluate exceptions using the same boundary-aware logic.

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-108899

Indicators of Compromise

  • Access log entries where request paths begin with a configured exception prefix but extend into protected routes, for example /public-admin when only /public is excepted.
  • Successful HTTP 200 responses to protected endpoints without a preceding Authorization header or Authelia session cookie.
  • Requests to Zoraxy proxied hosts with unusual URL concatenations that merge excepted prefixes with sensitive paths.

Detection Strategies

  • Audit the Zoraxy conf/proxy/ configuration for Path Exception entries and correlate them with upstream access logs to identify prefix-collision patterns.
  • Alert on authenticated backend endpoints receiving traffic without the expected authentication headers from the Zoraxy upstream.
  • Compare request paths at the reverse proxy with the path segments actually served by the backend to detect boundary mismatches.

Monitoring Recommendations

  • Enable verbose access logging on Zoraxy and forward logs to a central SIEM for prefix-matching anomaly analysis.
  • Monitor the Zoraxy GitHub repository for the v3.3.5-rc1 release and subsequent stable releases.
  • Track outbound requests from Zoraxy to backend services and flag any that bypass expected auth middleware.

How to Mitigate CVE-2026-108899

Immediate Actions Required

  • Upgrade Zoraxy to version 3.3.5-rc1 or later, which includes patch commit 37cd0f27b17cd15cfa4af409bfec943146f5fdfe.
  • Review all Path Exception rules and remove any that could be prefix-ambiguous with protected routes.
  • Restrict Zoraxy administrative access to trusted networks until the upgrade is applied.

Patch Information

The fix is delivered in Zoraxy v3.3.5-rc1 via pull request #1291 and commit 37cd0f27b17cd15cfa4af409bfec943146f5fdfe. The patch introduces the imuslab.com/zoraxy/mod/pathmatch package to unify path matching and CAPTCHA gating with proper boundary semantics. Technical details are documented in the Path Exception Rules finding.

Workarounds

  • Rewrite Path Exception rules so that excepted prefixes always end with a trailing slash and do not share leading characters with protected paths.
  • Add a secondary authentication layer at the backend application so a reverse-proxy bypass alone does not grant unauthenticated access.
  • Place sensitive endpoints under distinct, non-overlapping path hierarchies that cannot collide with any excepted prefix.
bash
# Example: segregate protected and public paths to avoid prefix collisions
# Instead of excepting /public (which also matches /public-admin),
# use a bounded path and keep sensitive routes under a separate root:
#   Exception:  /public/
#   Protected:  /admin/
# Then verify the deployed Zoraxy version:
zoraxy -version   # must report >= 3.3.5-rc1

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.