# Fabio: Access-control bypass through unnormalized request paths

Fabio routes on un-normalized request paths, so dot-segment, encoded-dot or double-slash variants of a protected path fall through to an ACL/auth-free catch-all route and reach the backend unauthenticated.

- Payout: Research
- Severity: critical
- Program: Fabio
- Found by: arpitjain099
- Disclosed: 2026-11-20
- CVE: CVE-2026-104099
- Write-up quality: 8/10
- Original: https://github.com/advisories/GHSA-4hrh-34w3-5ww8
- Library page: https://bugbountylibrary.com/r/ghsa%3AGHSA-4hrh-34w3-5ww8
- Tags: area:cloud domain:infra domain:web impact:internal-access kind:research platform:ghsa sev:critical tech:go technique:parser-differential technique:source-review vuln:access-control vuln:auth-bypass vuln:path-traversal

**Target:** HTTP reverse proxy / load balancer route table
**Root cause:** Route lookup uses the raw req.URL.Path with no normalization (no path.Clean anywhere in the repo), and both the per-route ACL and basic-auth gates are properties of the matched target, so a non-canonical variant of a protected path matches a different, unrestricted route.
**Steps:**
1. Configure a protected route `/admin/` with `auth=` or `allow=`/`deny=ip` ACL, plus a catch-all `/` route to the same backend (the two-tag urlprefix- shape from fabio's docs).
2. Send `/admin/` without credentials: 401 (auth route) or 403 (ACL route) — controls correct.
3. Send crafted variants with `curl --path-as-is`: `/./admin/`, `/%2e/admin/`, `//admin/`, `/x/../admin/`.
4. Each variant fails to match the protected route, falls through to the catch-all `/` route with no ACL/auth, and is forwarded verbatim (`Path: r.URL.Path`) to the origin.
5. Origin normalizes the path and serves the protected resource: 200 with no credentials.
**How found:** Code reading: noticed route selection uses req.URL.Path raw and that both authorization gates derive from the returned target; a repo-wide search for path.Clean returned zero results, suggesting non-canonical paths could select a different route than the one the operator protected. Confirmed against the real binary with a live python http.server origin and curl --path-as-is, comparing 401/403 controls against 200 on crafted variants.
**Exploitation:** Unauthenticated attacker requests a non-canonical form of a protected path; fabio's lookup misses the protected route, selects the unrestricted fallback, and forwards the raw path to the backend which normalizes and serves the protected content — full bypass of operator-configured ACL and basic auth.
**Insight:** When a proxy's auth/ACL decisions are attached to the matched route rather than the request, any path form that changes route selection (dot segments, %2e, double slashes) is an auth bypass — check whether lookup normalizes before matching, and whether a permissive catch-all route shares the backend.

