H3-2026-1133¶
Maxim Bifrost Authentication Bypass via Path Traversal
| Category | VULNERABILITY |
| Base Score | 9.1 |
Description¶
Bifrost's authentication middleware evaluates the normalized and decoded ctx.Path() value against a whitelist of unauthenticated routes, while the underlying fasthttp router dispatches requests using the raw, still encoded PathOriginal() value. Remote attackers can craft a request containing percent-encoded path traversal sequences that decode to a whitelisted prefix for the auth check but route to a protected handler such as provider management. Exploitation requires network access to the Bifrost HTTP transport with authentication enabled and at least one whitelisted unauthenticated route configured. The mismatch allows any protected REST endpoint reachable through the router to be requested without presenting valid Bifrost credentials.
Impact¶
Attackers can reach protected API endpoints including provider management and configuration without valid credentials. This can allow unauthorized modification of the AI gateway's upstream provider configuration. A compromised configuration can redirect or intercept AI model traffic flowing through the gateway. Organizations exposing the Bifrost HTTP transport to an untrusted network face direct exposure.