Skip to main content

Improper Authentication

CVE-2026-40910

Severity High
Score 9.1/10

Summary

frp is a fast reverse proxy. From 0.43.0 through 0.68.0, frp contains an authentication bypass in the HTTP vhost routing path when "routeByHTTPUser" is used as part of access control. In proxy-style requests, the routing logic uses the username from Proxy-Authorization to select the "routeByHTTPUser" backend, while the access control check uses credentials from the regular Authorization header. As a result, an attacker who can reach the HTTP vhost entrypoint and knows or can guess the protected "routeByHTTPUser" value may access a backend protected by httpUser / "httpPassword" even with an incorrect Proxy-Authorization password. This issue affects deployments that explicitly use "routeByHTTPUser." It does not affect ordinary HTTP proxies that do not use this feature. This vulnerability is fixed in 0.68.1.

  • LOW
  • NETWORK
  • HIGH
  • UNCHANGED
  • NONE
  • NONE
  • HIGH
  • NONE

CWE-287 - Improper Authentication

Improper (or broken) authentication attacks are widespread, and have accounted for many of the worst data breaches in recent years. Improper authentication attacks are a class of vulnerabilities where an attacker impersonates a legitimate user by exploiting weaknesses in either session management or credential management to gain access to the user’s account. This can result in disclosure of sensitive information, and can lead to system compromise, theft, identity theft, and fraud.

Advisory Timeline

  • Published