Skip to content

CVE-2026-40910 frp: Authentication bypass in frp HTTP vhost routing when routeByHTTPUser is used for access control

CriticalCVSS 9.1 EPSS 0.28%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial

Description

frp is a fast reverse proxy. From 0.43.0 to 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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
fatedier github.com/fatedier/frp = < 0.68.1; >= 0.43.0, < 0.68.1 0.68.1 Fixed
fatedier github.com/fatedier/frp(Go) >= 0.43.0, < 0.68.1; >= 0.43.0, <= 0.68.0 0.68.1 Fixed

Affected products

ProductAffected versionsFixed in
fatedier github.com/fatedier/frp(Go) >= 0.43.0, < 0.68.1 0.68.1
fatedier github.com/fatedier/frp = < 0.68.1 No fix listed
fatedier github.com/fatedier/frp(Go) >= 0.43.0, <= 0.68.0 No fix listed
fatedier github.com/fatedier/frp >= 0.43.0, < 0.68.1 0.68.1

References