Research/CVE-2026-104099
N-dayCVE-2026-104099CriticalPublic

CVE-2026-104099: Fabio, the path that picks its own permissions

Fabio selects a route from the raw unnormalized path, and the allow and auth gates hang off that selection. A dot-segment or encoded-dot variant of a protected path misses the protected route, falls through to an open one on the same backend, and the origin normalizes the path and serves the page with no access control. Four variants confirmed on 1.7.2, all closed on 1.7.3.

Name
CVE-2026-104099: Fabio, the path that picks its own permissions
Type
N-day analysis
CVE
CVE-2026-104099
CVE Risk
critical
Disclosure Status
public
Vendor
Fabio
Affected
fabiolb/fabio before 1.7.3. Verified vulnerable on 1.7.2 and fixed on 1.7.3. The advisory metadata lists affected as <= 1.6.5, which leaves 1.7.0 through 1.7.2 outside the stated range even though they carry the defect.
Published
22 Nov 2026
Updated
22 Nov 2026
Tags
n-day, fabio, path-traversal, cwe-41, cwe-863, go

Two components disagree about what a path is

Fabio is a router. A request arrives, Fabio picks a route, and that route carries the access rules: an allow-list, a basic-auth requirement, or nothing at all. Then Fabio forwards the request to the backend the route points at.

The defect is that the route is picked using the path exactly as it arrived, and the same unmodified path is forwarded. The backend, being a normal web server, normalizes what it receives before deciding which handler to run. So the component that decides whether you are allowed in and the component that decides what you get to see are reading two different strings.

Put /./admin/ on the wire. Fabio looks for a route matching /./admin/, does not find the protected /admin/ route, and falls through to whatever broader route exists. That broader route has no ACL. The request goes to the same backend, which collapses the dot segment, lands on /admin/, and serves the protected page. Nobody authenticated.

I am @abraxas_null. The lab is abraxas/cve-2026-104099-fabio-path-acl-bypass, and the client is cve-2026-104099-fabio-path-acl-bypass-Abraxas-Labs.py.

The class, the reach, and the honest precondition

Class: path-equivalence authorization bypass. Reach: remote, unauthenticated.

CVE-2026-104099 (GHSA-4hrh-34w3-5ww8). CWE-41, CWE-289, CWE-863. Critical 9.1, CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N, which is the vendor's vector.

The precondition is real and it is not universal: a less restrictive route has to reach the same backend, so the crafted path has somewhere to fall through to. Where no fallback exists, every variant I tried returns 404 and there is no bug to speak of.

What makes the precondition less exotic than it sounds is that Fabio's own access-control documentation tells operators to configure exactly that shape. The documented pattern is two tags on the same service, one carrying the ACL and one not. The recommended configuration is the vulnerable configuration.

The lab, and why the controls matter

This is a public advisory with a shipped fix, so what I built is a regression lab. The interesting part is not that the bypass works. It is the controls that stop me from claiming more than I proved.

Plain text
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

Four controls, each closing a different way of being wrong:

The protected path through Fabio returns 403 with no witness. That rules out a broken ACL. The allow-list works; the selection is what fails.

The protected path directly on the origin returns the witness. That rules out a Fabio artifact. The string really is the backend's protected page, and the only question is whether Fabio let the request through.

Removing the catch-all route turns every variant into a 404. That pins the fallback as the precondition rather than assuming it. If the bypass still worked without a fallback, the precondition in the advisory would be wrong.

On 1.7.3, three of the four variants return 403 with no witness.

The variant that does not close, and why I am not calling it a bug

//admin/ returns 200 on 1.7.3. That looks like a failed patch, and it is not.

The body is the public page. The witness is absent. What happens is that the 1.7.3 normalizer runs url.Parse on the path, and //admin/ parses as a scheme-relative URL whose path is /. So it lands on the open route and serves the public page, which is the correct answer for a request whose path is /.

This is the sort of thing worth writing down precisely, because the easy version of this post says the patch is incomplete and gets a correction from the maintainer. A 200 that serves the public page is not an authorization bypass. It is a routing quirk in how a leading double slash is parsed, and it is the reason the harness asserts on the witness string rather than on the status code alone.

Where the defect lives

Route selection reads the raw path:

Go
// route/table.go
if target = t.lookup(h, req.URL.Path, pick, match); target != nil {

Both gates are properties of whatever that lookup returned:

Go
// proxy/http_proxy.go
if t.AccessDeniedHTTP(r) {
    http.Error(w, "access denied", http.StatusForbidden)
    return
}
if !t.Authorized(r, w, p.AuthSchemes) {
    http.Error(w, "authorization failed", http.StatusUnauthorized)
    return
}

and the same raw path is forwarded upstream. The fix has to move the lookup onto the normalized form, not just change what gets forwarded, because the authorization decision is derived from the lookup. Normalizing on the way out would leave the gates reading the unnormalized path and the bug would persist.

A range that does not match the code

The advisory metadata lists affected as <= 1.6.5 with 1.7.3 patched. That leaves 1.7.0 through 1.7.2 outside the stated affected range, and I confirmed 1.7.2 is vulnerable while 1.7.3 is not.

This matters for anyone doing inventory. A scanner that reads the metadata range will report a 1.7.1 deployment as unaffected. The description and the verification in the advisory are both against HEAD, so the code was clearly understood; the metadata field is the part that drifted.

What an attacker can do

Position Method or sink Recon, integrity, availability, confidentiality Proven or inferred
Anyone who can reach the 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 an allow-list allow=ip: on the protected route Confidentiality Lab-proven
Skip a basic-auth gate auth= on the protected route Confidentiality Inferred from the same selection path. This lab used an ACL
Reach an instance with no fallback n/a n/a Closed. Every variant 404

Stays closed

Axis Why
A deployment with no fallback route The crafted path has nowhere to go and returns 404
The protected path itself 403. The ACL is intact
//admin/ on 1.7.3 200, but the public page with no witness. Not a protected read
The gRPC route note proto=grpc never calls either gate, which is a separate claim and is in the advisory's own notes. This lab did not exercise it

The lab

Plain text
python3 cve-2026-104099-fabio-path-acl-bypass-Abraxas-Labs.py

or directly:

Plain text
cd lab && ./run.sh

Two services, both on loopback. Fabio on 127.0.0.1:18900, a stdlib origin on 127.0.0.1:18901. Static routes, so no Consul and no service registry. 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.

The runner does all three phases: vulnerable, negative control with the catch-all removed, then patched. It prints the SUCCESS line and tears the stack down.

Plain text
SUCCESS CVE-2026-104099 fabio 1.7.2 go1.26.4 image fabiolb/fabio:1.7.2
  baseline /admin/ 403 bypass /./admin/ 200 witness FABIO104099-WITNESS
  variants /%2e/admin/=bypass:200,//admin/=bypass:200,/x/../admin/=bypass:200
  negative-control /./admin/ without-catchall 404
  patched fabiolb/fabio:1.7.3 1.7.3 go1.26.5 /./admin/ 403

Recorded on fabiolb/fabio:1.7.2 (1.7.2 go1.26.4), Docker 29.9.3, macOS arm64.

The fix

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 rather than relying on the router to do it.

The durable 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. The lookup is the one that has to change, because the lookup is what the ACL reads.

References