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

- Severity: Medium 6.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.28%, higher than 21% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-04-14T23:33:15.000Z
- Modified: 2026-10-26T21:10:00.170Z
- Also known as: GHSA-pq96-pwvg-vrr9, GO-2026-5549
- Weaknesses: CWE-287
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- fatedier frp: < 0.68.1; from 0.43.0 before 0.68.1
- github.com/fatedier/frp (Go): from 0.43.0 before 0.68.1

## Every score

- GitHub_M: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N`
- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N`
- NVD: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`

## References

- <https://github.com/fatedier/frp/security/advisories/GHSA-pq96-pwvg-vrr9> (exploit, advisory, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-40910> (advisory)
- <https://github.com/fatedier/frp> (package)

## Sources

- CVE List: [CVE-2026-40910](https://www.cve.org/CVERecord?id=CVE-2026-40910), CVE Terms of Use, modified 2026-04-21
- GitHub Advisory Database: [GHSA-pq96-pwvg-vrr9](https://github.com/advisories/GHSA-pq96-pwvg-vrr9), CC-BY-4.0, modified 2026-06-25
- Go Vulnerability Database: [GO-2026-5549](https://pkg.go.dev/vuln/GO-2026-5549), CC-BY-4.0, modified 2026-06-25
- NVD: [CVE-2026-40910](https://nvd.nist.gov/vuln/detail/CVE-2026-40910), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-40910 · Whole record: https://cve.day/CVE-2026-40910.json · Rebuilt by cve.day 2026-11-25T22:59:19.190Z
