CVE-2026-104099: Fabio Access-control Bypass Through Unnormalized Request Vulnerability

CRITICAL
Advisory Identifier: GHSA-4hrh-34w3-5ww8
CVSS 9.1
CWE-41 CWE-289 CWE-863
Published
Advisory Summary

CVE-2026-104099 is a CRITICAL (CVSS 9.1) access-control bypass through unnormalized request vulnerability (CWE-41: Improper Resolution of Path Equivalence) affecting Fabio libraries in the Go ecosystem. The issue involves access-control bypass through unnormalized request paths. Remediation is available by upgrading affected packages to version 1.7.3.

CVE-2026-104099 at a Glance

CVE Identifier CVE-2026-104099
GHSA Identifier GHSA-4hrh-34w3-5ww8
Severity CRITICAL
CVSS v3.1 Base Score 9.1
CWE Classification CWE-41: Improper Resolution of Path Equivalence
Affected Product Fabio
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 9.1

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity High (I:H)
Availability None (A:N)

How to Fix CVE-2026-104099

To remediate this vulnerability, upgrade all affected Fabio dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

github.com/fabiolb/fabio fixed: 1.7.3
Upgrade github.com/fabiolb/fabio to 1.7.3
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for github.com/fabiolb/fabio

How to Check if You Are Affected

To determine whether your application is affected by CVE-2026-104099, inspect your project dependencies for Fabio:

inspect dependencies for github.com/fabiolb/fabio

Analyze the terminal output to locate any version of Fabio in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.7.3), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & RFC 5280 Specification

Under RFC 5280 specifications for X.509 certificates, the Name Constraints extension defines a namespace within which all subsequent subject names in a certification path must be located. Constraints apply to various name forms including directory names, IP addresses, rfc822Name (email addresses), and uniformResourceIdentifier (URI) entries. Specifically, during certificate path validation, affected versions of Fabio failed to properly normalize or enforce boundary checks when domain names contained trailing dot (.) characters. Because domain names with a trailing dot signify fully qualified domain names (FQDNs), this omission allowed non-conforming certificates to be improperly validated as compliant with the defined name constraints.

Source Advisory Statement

## Summary Route selection uses the raw un-normalized request path, and the per-route ACL and basic-auth gates hang off that selection, so a dot-segment, encoded-dot, or double-slash variant of a protected path selects a different route, skips both gates, and is forwarded to the backend which normalizes and serves the protected resource. Unauthenticated; complete bypass of the access control the operator configured. Confirmed at HEAD b841544. Direct peers: Traefik CVE-2023-47106, Envoy CVE-2019-9901. ## The defect fabio never normalizes the request path. A repository-wide search for path.Clean returns zero results. Route selection uses the raw path (route/table.go line 487: `if target = t.lookup(h, req.URL.Path, pick, match); target != nil {`). Both access-control gates are properties of the target that lookup returned: ```go // proxy/http_proxy.go if t.AccessDeniedHTTP(r) { // line 111, per-route allow / deny:ip ACL http.Error(w, "access denied", http.StatusForbidden) return } if !t.Authorized(r, w, p.AuthSchemes) { // line 116, per-route auth= basic auth http.Error(w, "authorization failed", http.StatusUnauthorized) return } ``` and the same raw path is forwarded verbatim (`Path: r.URL.Path` at line 142). So /./admin/, /%2e/admin/, //admin/ and /x/../admin/ do not match the protected /admin route. They fall through to the catch-all / route, which carries no ACL and no auth, and fabio forwards the un-normalized path to the origin, which normalizes it and serves the protected resource. ## Verification Verified end to end against the real binary at HEAD, not a synthetic unit test. fabio was built and run with static routes against a `python3 -m http.server` origin, driven with curl --path-as-is: on a basic-auth route, /admin/ returned 401 without credentials and 200 with valid credentials (controls correct), while all four crafted paths returned 200 with the protected page and NO credentials; on an ACL route, /admin/ returned 403 and all four crafted variants returned 200. Precondition, stated honestly: a less restrictive route must reach the same backend so the crafted path has somewhere to fall through to. That is exactly the two-tag urlprefix- shape fabio's own access-control documentation instructs operators to configure. Where no fallback route exists the request 404s instead. ## Suggested fix Normalize the path before route lookup: decode percent-encoded dot segments and apply path.Clean, then match. Whether the normalized or original path is forwarded upstream is a separate decision, but the LOOKUP must run on the normalized form, because the ACL and auth decisions are derived from it. Also lowercase and strip the port and any trailing dot from the request host before host matching. Secondary observations: X-Forwarded-Prefix is passed through from the client on non-strip routes; the gRPC proxy path never calls either authorization gate, so allow=/auth= on a proto=grpc route are silently unenforced. ## Dedup note The obvious residual of CVE-2025-48865 is already taken: CVE-2026-62987 / GHSA-fq95-v8xc-jm3v (published 2026-07-03) covers the Connection-header strip of proxy.header.clientip/tls/requestid, fixed in v1.7.2. Do not re-report that. The finding above is a different and independent defect. ## Tooling AI assistance was used while investigating. The bypass was reproduced against the real fabio binary with a live backend, including the 401-vs-200 and 403-vs-200 controls, and the reporter separately confirmed at HEAD that lookup takes req.URL.Path, that both gates derive from the returned target, that the raw path is forwarded, and that path.Clean appears nowhere in the repository. The reporter manually verified this finding against the project's source at the location cited above before reporting it; the AI assistance noted above was for the audit and the drafting.

CVE-2026-104099 Affected Fabio Versions

1 component(s)
Fixed Versions:
1.7.3
Product / Package Ecosystem Affected Versions Fixed Version
github.com/fabiolb/fabio
Go
< 1.7.3
1.7.3

References

Frequently Asked Questions

What is CVE-2026-104099?
CVE-2026-104099 is a security vulnerability in Fabio involving Access-control bypass through unnormalized request paths under CWE-41: Improper Resolution of Path Equivalence.
Which Fabio versions are affected?
Affected versions include releases prior to 1.7.3 across affected packages: github.com/fabiolb/fabio.
What version fixes CVE-2026-104099?
Upgrading to 1.7.3 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/fabiolb/fabio affected?
Yes, github.com/fabiolb/fabio is affected in releases prior to 1.7.3. Upgrade your dependency to 1.7.3 or later.
What is the CVSS score of CVE-2026-104099?
CVE-2026-104099 has a CVSS v3.1 base score of 9.1 (CRITICAL) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N.
What CWE is associated with CVE-2026-104099?
CVE-2026-104099 is classified under CWE-41: Improper Resolution of Path Equivalence (The product is vulnerable to file system contents disclosure through path equivalence. Path equivalence involves the use of special characters in file and directory names. The associated manipulations are intended to generate multiple names for the same object.).
How can I check Go dependencies for CVE-2026-104099?
Run the dependency tree command: 'inspect dependencies for github.com/fabiolb/fabio'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-4hrh-34w3-5ww8",
  "modified" : "2026-11-20T14:51:25Z",
  "published" : "2026-11-20T14:51:25Z",
  "aliases" : [ "CVE-2026-104099" ],
  "summary" : "Fabio: Access-control bypass through unnormalized request paths",
  "details" : "## Summary\n\nRoute selection uses the raw un-normalized request path, and the per-route ACL and basic-auth gates hang off that selection, so a dot-segment, encoded-dot, or double-slash variant of a protected path selects a different route, skips both gates, and is forwarded to the backend which normalizes and serves the protected resource. Unauthenticated; complete bypass of the access control the operator configured. Confirmed at HEAD b841544. Direct peers: Traefik CVE-2023-47106, Envoy CVE-2019-9901.\n\n## The defect\n\nfabio never normalizes the request path. A repository-wide search for path.Clean returns zero results. Route selection uses the raw path (route/table.go line 487: `if target = t.lookup(h, req.URL.Path, pick, match); target != nil {`). Both access-control gates are properties of the target that lookup returned:\n\n```go\n// proxy/http_proxy.go\nif t.AccessDeniedHTTP(r) {                      // line 111, per-route allow / deny:ip ACL\n    http.Error(w, \"access denied\", http.StatusForbidden)\n    return\n}\nif !t.Authorized(r, w, p.AuthSchemes) {          // line 116, per-route auth= basic auth\n    http.Error(w, \"authorization failed\", http.StatusUnauthorized)\n    return\n}\n```\n\nand the same raw path is forwarded verbatim (`Path: r.URL.Path` at line 142). So /./admin/, /%2e/admin/, //admin/ and /x/../admin/ do not match the protected /admin route. They fall through to the catch-all / route, which carries no ACL and no auth, and fabio forwards the un-normalized path to the origin, which normalizes it and serves the protected resource.\n\n## Verification\n\nVerified end to end against the real binary at HEAD, not a synthetic unit test. fabio was built and run with static routes against a `python3 -m http.server` origin, driven with curl --path-as-is: on a basic-auth route, /admin/ returned 401 without credentials and 200 with valid credentials (controls correct), while all four crafted paths returned 200 with the protected page and NO credentials; on an ACL route, /admin/ returned 403 and all four crafted variants returned 200.\n\nPrecondition, stated honestly: a less restrictive route must reach the same backend so the crafted path has somewhere to fall through to. That is exactly the two-tag urlprefix- shape fabio's own access-control documentation instructs operators to configure. Where no fallback route exists the request 404s instead.\n\n## Suggested fix\n\nNormalize the path before route lookup: decode percent-encoded dot segments and apply path.Clean, then match. Whether the normalized or original path is forwarded upstream is a separate decision, but the LOOKUP must run on the normalized form, because the ACL and auth decisions are derived from it. Also lowercase and strip the port and any trailing dot from the request host before host matching. Secondary observations: X-Forwarded-Prefix is passed through from the client on non-strip routes; the gRPC proxy path never calls either authorization gate, so allow=/auth= on a proto=grpc route are silently unenforced.\n\n## Dedup note\n\nThe obvious residual of CVE-2025-48865 is already taken: CVE-2026-62987 / GHSA-fq95-v8xc-jm3v (published 2026-07-03) covers the Connection-header strip of proxy.header.clientip/tls/requestid, fixed in v1.7.2. Do not re-report that. The finding above is a different and independent defect.\n\n## Tooling\n\nAI assistance was used while investigating. The bypass was reproduced against the real fabio binary with a live backend, including the 401-vs-200 and 403-vs-200 controls, and the reporter separately confirmed at HEAD that lookup takes req.URL.Path, that both gates derive from the returned target, that the raw path is forwarded, and that path.Clean appears nowhere in the repository.\n\nThe reporter manually verified this finding against the project's source at the location cited above before reporting it; the AI assistance noted above was for the audit and the drafting.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/fabiolb/fabio"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.7.3"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/fabiolb/fabio/security/advisories/GHSA-4hrh-34w3-5ww8"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-104099"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/fabiolb/fabio/commit/f00ce1a446a4b7a3bccbefbb7bfe4a5e0e3fd817"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/fabiolb/fabio"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/fabiolb/fabio/releases/tag/v1.7.3"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/fabiolb/fabio/releases/tag/v1.8.0"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-289", "CWE-41", "CWE-863" ],
    "severity" : "CRITICAL",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-11-20T14:51:25Z",
    "nvd_published_at" : "2026-11-19T20:17:13Z"
  }
}