Skip to content
OpenAdvisories
Medium · 6.5 CVE-2026-40910 EUVD-2026-24477GHSA-pq96-pwvg-vrr9GO-2026-5549

frp: Authentication bypass in frp HTTP vhost routing when routeByHTTPUser is used for access control

Published Apr 21, 2026 · Updated Apr 21, 2026 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
fatedier frp < 0.68.1 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
openSUSE Leap 16.0 govulncheck-vulndb 0.0.20260723T184607-160000.1.1 openSUSE-SU-2026:21483-1

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/fatedier/frp >= 0.43.0, < 0.68.1 0.68.1 GHSA-pq96-pwvg-vrr9

Advisories 1

References