Skip to main content

frp CVE-2026-40910

| EUVDEUVD-2026-24477 CRITICAL
Improper Authentication (CWE-287)
2026-04-21 GitHub_M
9.1
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify frp HTTP vhost entrypoint
  2. Delivery
    Enumerate or guess routeByHTTPUser username value
  3. Exploit
    Craft proxy-style request with username in Proxy-Authorization header
  4. Execution
    frp routes request to protected backend via routeByHTTPUser logic
  5. Persist
    Authorization header check operates on different credentials and is bypassed
  6. Impact
    Gain unauthorized access to httpUser/httpPassword-protected backend

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Authentication mechanism validation
MITRE ATT&CK

2 techniques across 2 tactics: Defense Evasion, Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires three explicit, co-occurring configuration conditions: (1) the frp deployment must use the routeByHTTPUser directive to route HTTP traffic by username, (2) the same proxy must also configure httpUser and httpPassword for credential-based access control, and (3) the attacker must know or successfully guess the routeByHTTPUser username value assigned to the target backend. The attacker must have network access to the frp HTTP vhost entrypoint. Deployments using only standard HTTP proxying without routeByHTTPUser are entirely unaffected. Deployments using routeByHTTPUser without httpUser/httpPassword authentication are also unaffected, as there is no access control to bypass. The CVSS AC:H rating reflects the guessing requirement for the username. No authentication is required to attempt exploitation (PR:N), and no user interaction is needed.

Impact

The CVSS 3.1 score of 6.5 (AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N) reflects unauthenticated network exploitation with high attack complexity - the AC:H rating is appropriate because the attacker must know or correctly enumerate the routeByHTTPUser username value, which is a site-specific configuration string. The C:H rating is significant: a successful bypass grants unrestricted access to an otherwise protected backend. EPSS at 0.04% (13th percentile) and absence from CISA KEV both indicate limited real-world exploitation at the time of analysis, consistent with the niche configuration requirement. SSVC classifies this as poc-level exploitation, not automatable, with partial technical impact - supporting the view that this is a real but targeted risk rather than opportunistic mass exploitation. The principal limiting factor is deployment scope: only frp instances that explicitly combine routeByHTTPUser with httpUser/httpPassword are vulnerable, which is a deliberate, non-default configuration. For those specific deployments, however, the confidentiality exposure is high and the bypass is straightforward once the username is known.

Exploit ScenarioDerived

An attacker identifies a publicly reachable frp HTTP vhost entrypoint and determines the routeByHTTPUser username value (e.g., 'alice') through configuration disclosure, educated guessing, or enumeration. The attacker sends a proxy-style HTTP request with 'alice' as the username in the Proxy-Authorization header and any arbitrary password, with no valid Authorization header. frp routes the request to the alice-protected backend based on the Proxy-Authorization username, and the Authorization-based access control check either passes vacuously or is bypassed, granting full access to the protected backend without valid credentials. This attack was confirmed by the reporter against official frp_0.68.0_linux_amd64.tar.gz binaries.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 24, 2026

Authentication bypass in frp (fast reverse proxy) versions 0.43.0 through 0.68.0 allows network-accessible attackers to reach backends protected by httpUser/httpPassword access controls without valid credentials, when the routeByHTTPUser routing feature is in use. The flaw stems from a credential-source mismatch in pkg/util/vhost/http.go: route selection reads the username from the Proxy-Authorization header, while the access control check validates against the separate Authorization header, enabling an attacker who knows the routeByHTTPUser username to bypass authentication entirely. A proof-of-concept has been confirmed by the reporter against official release binaries; no active exploitation is recorded in CISA KEV.

RemediationAI

Upgrade frp to version 0.68.1, which resolves the credential-source mismatch by making proxy-mode authentication consistently derive credentials from Proxy-Authorization, aligning the authentication check with the routing logic. This fix is confirmed by the vendor via GHSA-pq96-pwvg-vrr9 (https://github.com/fatedier/frp/security/advisories/GHSA-pq96-pwvg-vrr9). For deployments unable to upgrade immediately, the most effective workaround is to remove the combined use of routeByHTTPUser with httpUser/httpPassword - using either feature independently eliminates the vulnerable code path, though this may require redesigning access control. Alternatively, restricting access to the frp HTTP vhost entrypoint at the network layer (firewall rules, VPN-only access) reduces the pool of potential attackers who can reach the endpoint, but does not eliminate the underlying flaw. Note that disabling routeByHTTPUser entirely may affect multi-tenant routing behavior that deployments may depend on.

Affected VersionsENISA

frp < 0.68.1

Affected Packages

go github.com/fatedier/frp fix: 0.68.1
euvd frp fix: 0.68.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in go, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

frp (CPE: cpe:2.3:a:fatedier:frp) is an open-source Go-based reverse proxy designed for NAT traversal and service exposure. The vulnerability (CWE-287: Improper Authentication) is located in pkg/util/vhost/http.go, introduced by commit 4af85da0c2c6eb981142a8fdb44f885d26cb9d08, first shipped in v0.43.0. In proxy-style HTTP requests using an absolute URI, the injectRequestInfoToCtx() function extracts the username from the Proxy-Authorization header and stores it as the routing HTTPUser for routeByHTTPUser backend selection. However, the authentication check in ServeHTTP() independently calls req.BasicAuth(), which reads from the standard Authorization header. Because these two code paths consume different credential sources, an attacker can supply a known routeByHTTPUser username in Proxy-Authorization to trigger correct backend routing, while the Authorization-based credential check operates on a completely separate - and attacker-controlled - value, creating a logical authentication bypass.

Know when Frp gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 9.1 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
vuln.today AI 6.5 MEDIUM

Network-reachable (AV:N) with AC:H because the attacker must know the routeByHTTPUser username; PR:N since no credentials are required to attempt the bypass; C:H for full backend access, I:L for incidental request injection.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N
4.0 AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N
SUSE CRITICAL

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

Lifecycle Timeline

5
Severity Changed
Oct 26, 2026 - 21:23 NVD
MEDIUM CRITICAL
CVSS changed
Oct 26, 2026 - 21:23 NVD
6.5 (MEDIUM) 9.1 (CRITICAL)
Patch released
Apr 29, 2026 - 23:20 nvd
Patch available
Patch available
Apr 21, 2026 - 22:17 EUVD
CVE Published
Apr 21, 2026 - 20:09 nvd
MEDIUM 6.5

DescriptionNVD

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.

Threat Intelligence Overview

EPSS Score
0.0%
Top 87% exploitable
Prevalence
Medium
popular open-source NAT traversal tool with substantial GitHub and homelab/self-hosted adoption
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor GitHub

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

46
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +46
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

Vendor StatusVendor

SUSE

Severity: Critical
Product Status
SUSE Linux Enterprise Server 16.1 Affected
SUSE Linux Enterprise Server for SAP applications 16.1 Affected
SUSE Linux Enterprise Module for Package Hub 15 SP5 Affected
SUSE Linux Enterprise Module for Package Hub 15 SP6 Affected
openSUSE Leap 15.5 Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy