/

CVE-2026-104099

Severity:

CRITICAL RISK

(9.1)

Path-Based Authorization Bypass (CWE-863) in Fabio Router

CVE-2026-104099

Deferred

Vulnerability type

Category:

Authorization Bypass

CWE:

CWE-41, CWE-289, CWE-863

Impact:

Unauthorized access to protected backend resources

Severity:

CRITICAL RISK

(9.1)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

Fabio can apply route access controls to a less restrictive route when a request uses an alternate path representation, such as dot segments or repeated slashes. If that fallback route reaches the same backend, the backend may normalize the path and serve a protected resource without the intended ACL or basic-auth checks.

Affected context

The issue occurs in Fabio's HTTP(S) routing when route selection uses the raw URL path and per-route access controls are applied to the selected target. It becomes risky when path variants select a less restrictive fallback route that reaches the same backend, which may normalize the forwarded path and serve a resource protected by another route's controls. Without such a fallback route, the described request returns 404.

Exploit preconditions

  • Attack surface: An HTTP(S) endpoint routed through Fabio
  • Required access: Network reachability to the endpoint; the request may not need credentials if the fallback route has weaker controls
  • Trigger point: Route selection and per-route ACL or basic-auth checks
  • Why exploitation is possible: Fabio selects a target using the raw path, while the backend may normalize dot-segment, encoded-dot, or repeated-slash variants. A less restrictive fallback route must reach the same backend for the protected resource to be exposed.

Why this happens

The routing and authorization layers interpret the request path inconsistently. Fabio selects a route and applies its access controls using the raw URL path, then forwards that path to a backend that may normalize it differently. This mismatch can cause authorization to be checked against a less restrictive route than the one that ultimately serves the resource, mapping primarily to CWE-863: Incorrect Authorization. The related weaknesses include path interpretation and authentication or authorization bypass through alternate representations.

Potential impact

  • A requester may access resources without the intended route-level ACL or basic-auth checks.
  • Protected data or application functions could be exposed.
  • Differences between proxy and backend path handling may undermine other route-based security policies.

General mitigation guidance

Defensive designs generally aim to make routing and authorization use the same canonical path representation.

  • Normalize paths consistently before route selection and access-control decisions, or reject ambiguous path forms.
  • Apply authorization checks at the backend resource boundary as well as at the router where appropriate.
  • Use default-deny route policies and avoid weaker fallback routes to sensitive backends.
  • Reduce trust in client-supplied path representations and limit backend privileges and data access.

How teams detect issues like this

  • Review routing and authorization code for differences in path normalization, decoding, or slash handling.
  • Use static analysis and code review checks to identify ACL decisions made on raw paths before canonicalization.
  • Test route policies with dot-segment, encoded-dot, and repeated-slash variants, verifying that each representation receives the same intended authorization decision.
  • Monitor for unusual path variants and policy mismatches between proxy and backend logs; enforce consistent path-handling rules in security testing.

Sources

SourceLink
github.comgithub.com/fabiolb/fabio/commit/f00ce1a446a4b7a3bccbefbb7bfe4a5e0e3fd817
github.comgithub.com/fabiolb/fabio/releases/tag/v1.7.3
github.comgithub.com/fabiolb/fabio/releases/tag/v1.8.0
github.comgithub.com/fabiolb/fabio/security/advisories/GHSA-4hrh-34w3-5ww8

Frequently asked

questions

It can be reachable over HTTP(S) when an attacker can send requests to Fabio, but exposure depends on the routing configuration and the presence of a less restrictive fallback route to the same backend.

Not necessarily. The key conditions are network reachability and a fallback route with weaker controls; authentication requirements depend on the configured routes.

Ensure route selection and authorization operate on the same canonical path, and reject ambiguous forms where consistent interpretation cannot be guaranteed.

Test authorization decisions across alternate path representations, use default-deny routing, and enforce access controls at the resource boundary as well as at the proxy.

Find out what's already
exploitable in your codebase.