Docker lab and Python driver reproducing CVE-2026-104099, a path-equivalence ACL bypass in Fabio <1.7.3 where dot-segment, encoded-dot and double-slash paths skip route allow/auth gates.
Fabio selects a route using the raw, unnormalized request path. The per-route
allow= and auth= gates hang off that selection, and the same raw path is then
forwarded to the origin. A dot-segment, encoded-dot, or double-slash variant of a
protected path therefore misses the protected route, falls through to a less
restrictive route that points at the same backend, and the backend normalizes the
path and serves the protected resource with no access control applied.
Class: Path-equivalence authorization bypass Reach: Remote, unauthenticated, conditional on a fallback route
Fabio < 1.7.3
| ID | CVE-2026-104099 / GHSA-4hrh-34w3-5ww8 |
| Class | Path-equivalence authorization bypass |
| Reach | Remote, unauthenticated |
| CWE | CWE-41 / CWE-289 / CWE-863 |
| CVSS | Critical: 9.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N (vendor) |
| Product | fabiolb/fabio |
| Affected | < 1.7.3. Verified here on 1.7.2 |
| Fixed | 1.7.3 |
| License | GNU Affero GPL v3.0 |
| Lab | Docker, loopback only, no Consul |
| Position | Method / sink | Recon, integrity, availability, confidentiality | Proven or inferred |
|---|---|---|---|
| Anyone who can reach the Fabio listener | GET /./admin/ with no credentials | Confidentiality (protected page) | Lab-proven. 200 with the witness |
| Same, encoded dot | GET /%2e/admin/ | Confidentiality | Lab-proven. 200 with the witness |
| Same, double slash | GET //admin/ | Confidentiality | Lab-proven. 200 with the witness |
| Same, traversal segment | GET /x/../admin/ | Confidentiality | Lab-proven. 200 with the witness |
| Skip a basic-auth gate | auth= on the protected route | Confidentiality | Inferred from the same selection path. This lab used an allow= ACL |
| Skip an allow-list | allow=ip: on the protected route | Confidentiality | Lab-proven |
| Reach an instance with no fallback route | n/a | n/a | Closed. Every variant returns 404 |
Stays closed on this leftover
| Axis | Method / sink | Why it is closed |
|---|---|---|
| Any variant with the catch-all removed | GET /./admin/ | Lab-proven 404. The fallback route is the precondition |
| The protected route itself | GET /admin/ | Lab-proven 403. The ACL is intact; the selection is what fails |
| The origin's own page | direct GET /admin/ on the backend | Returns the witness, confirming the string is the protected resource |
| The same variant on 1.7.3 | GET /./admin/ | Lab-proven 403 with no witness |
The advisory is public and the fix shipped, so this is a regression lab rather than a first disclosure. The defect is visible in one line of route selection:
// route/table.go
if target = t.lookup(h, req.URL.Path, pick, match); target != nil {
req.URL.Path is the raw path. Both gates are properties of whatever target that
lookup returned:
// proxy/http_proxy.go
if t.AccessDeniedHTTP(r) { // per-route allow / deny ACL
http.Error(w, "access denied", http.StatusForbidden)
return
}
if !t.Authorized(r, w, p.AuthSchemes) { // per-route basic auth
http.Error(w, "authorization failed", http.StatusUnauthorized)
return
}
and the same raw path is forwarded upstream. So the path that decides the authorization is the path the backend does not agree with.
python3 cve-2026-104099-fabio-path-acl-bypass-Abraxas-Labs.py
or directly:
cd lab && ./run.sh
Two services: Fabio on 127.0.0.1:18900, a stdlib origin on 127.0.0.1:18901. Static
routes, so no Consul. The protected route carries allow=ip:192.0.2.1, which is
TEST-NET-1 and never matches, and a catch-all / route points at the same backend.
CHECK vulnerable baseline path=/admin/ status=403 witness=no
CHECK vulnerable primary path=/./admin/ status=200 witness=yes
CHECK vulnerable variant path=/%2e/admin/ status=200 witness=yes
CHECK vulnerable variant path=//admin/ status=200 witness=yes
CHECK vulnerable variant path=/x/../admin/ status=200 witness=yes
CHECK negative primary path=/./admin/ status=404 witness=no
CHECK patched primary path=/./admin/ status=403 witness=no
Witness string: FABIO104099-WITNESS. Recorded on fabiolb/fabio:1.7.2
(1.7.2 go1.26.4); the patched phase used 1.7.3 (1.7.3 go1.26.5).
//admin/ on 1.7.3 returns 200, and it is not a bypass. The body is the public
page and the witness is absent. The 1.7.3 normalizer runs url.Parse, and //admin/
parses as a scheme-relative URL whose path is /, so it lands on the open route. It
is a routing quirk, not a protected read.
The gRPC observation is unexercised. proto=grpc routes never call
AccessDeniedHTTP or Authorized, so allow= and auth= on a gRPC route are
silently unenforced. That is in the advisory's own secondary notes and this lab did
not test it.
The GHSA metadata lists affected as <= 1.6.5 with 1.7.3 patched, which leaves
1.7.0 through 1.7.2 outside the stated range. The advisory's description and
verification are against HEAD, and this lab confirms 1.7.2 is vulnerable while
1.7.3 is not. Anyone filtering deployments on the metadata range will miss
1.7.0 to 1.7.2.
Upgrade to 1.7.3. If an upgrade is delayed, normalize or reject dot-segment, encoded-dot, double-slash, and traversal paths at an upstream proxy, and enforce authentication at the backend itself.
The real fix belongs in the lookup: decode percent-encoded dot segments, apply
path.Clean, and match on the normalized form. Whether the normalized or the original
path is forwarded upstream is a separate decision, but the lookup has to run on the
normalized form, because the ACL decision is derived from it.
Abraxas Labs - [email protected]