Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/fatedier/frp
  4. ›
  5. CVE-2026-40910

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

April 14, 2026 (updated April 24, 2026)

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.

References

  • github.com/advisories/GHSA-pq96-pwvg-vrr9
  • github.com/fatedier/frp
  • github.com/fatedier/frp/security/advisories/GHSA-pq96-pwvg-vrr9
  • nvd.nist.gov/vuln/detail/CVE-2026-40910

Code Behaviors & Features

Detect and mitigate CVE-2026-40910 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 0.43.0 before 0.68.1

Fixed versions

  • 0.68.1

Solution

Upgrade to version 0.68.1 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-287: Improper Authentication

Source file

go/github.com/fatedier/frp/CVE-2026-40910.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 09 May 2026 12:19:06 +0000.