CVE-2026-73564

frp: Unauthenticated Remote Denial of Service in the frp SSH Tunnel Gateway via Integer Overflow

Published Aug 13, 2026 CVSS 4.0 · 8.7 High EPSS < 1% KEV · Not listed
Description
frp is a fast reverse proxy. From 0.53.0 until 0.70.1, frp's optional SSH Tunnel Gateway in pkg/ssh/server.go parses an SSH exec channel request by adding 4 to an attacker-controlled four-byte big-endian length. A length of 0xFFFFFFFF makes the uint32 addition wrap to 3, defeats the payload bounds check, and causes payload[4:3] to panic in TunnelServer.handleNewChannel. When no authorized-keys file is configured, sshConfig.NoClientAuth permits an unauthenticated peer to reach this channel phase before the frp token is checked, so a single five-byte request terminates the frps process and drops every active tunnel. This issue is fixed in version 0.70.1.

Analysis

AI-generated

Technical impact

An unbounded index calculation in frp's optional SSH Tunnel Gateway causes a 4-byte integer overflow when parsing an SSH exec channel request if the payload length equals 0xFFFFFFFF. The overflow results in a wrap to 3, bypassing the bounds check and triggering a panic in TunnelServer.handleNewChannel. This crash terminates the frps process, effectively dropping every active tunnel. The vulnerability can be exploited by sending a five-byte request before authentication is verified, allowing an unauthenticated attacker to cause the denial of service. The weakness originates from improper integer handling and bounds checking (CWE-129, CWE-190).

Affected Systems

The issue affects the frp reverse proxy distributed by fatedier. All releases from 0.53.0 up to and including 0.70.1 contain the vulnerable SSH Tunnel Gateway logic. Versions before 0.53.0 or after 0.70.1 are not affected. Systems running frps without an authorized-keys configuration and that enable the default NoClientAuth option for the SSH gate are at risk.

Risk and Exploitability

The CVSS base score is 8.7, indicating a high severity. EPSS data is not provided, and the vulnerability is not listed in CISA's KEV catalog. The attack can be performed remotely without authentication, exploiting the unvalidated length field in an SSH exec channel request. The exploit requires only network connectivity to the frps SSH port, making it straightforward to execute against exposed deployments. Once exploited, the frps service is terminated, disrupting all active tunnels until the process is restarted.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade frp to version 0.70.1 or newer, which removes the vulnerable code.
  • If an upgrade is not immediately possible, disable the optional SSH Tunnel Gateway or restrict access by enabling the sshConfig.NoClientAuth restriction and requiring authorized-keys authentication.
  • Monitor frps process health and ensure rapid restart or automatic recovery is configured to mitigate downtime.

Generated by OpenCVE AI on August 13, 2026 at 18:37 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-26gq-p25f-99cp frp: Unauthenticated Remote Denial of Service in the frp SSH Tunnel Gateway via Integer Overflow
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Fatedier
Fatedier frp
Vendors & Products Fatedier
Fatedier frp
Type Values Removed Values Added
Description frp is a fast reverse proxy. From 0.53.0 until 0.70.1, frp's optional SSH Tunnel Gateway in pkg/ssh/server.go parses an SSH exec channel request by adding 4 to an attacker-controlled four-byte big-endian length. A length of 0xFFFFFFFF makes the uint32 addition wrap to 3, defeats the payload bounds check, and causes payload[4:3] to panic in TunnelServer.handleNewChannel. When no authorized-keys file is configured, sshConfig.NoClientAuth permits an unauthenticated peer to reach this channel phase before the frp token is checked, so a single five-byte request terminates the frps process and drops every active tunnel. This issue is fixed in version 0.70.1.
Title frp: Unauthenticated Remote Denial of Service in the frp SSH Tunnel Gateway via Integer Overflow
Weaknesses CWE-129
CWE-190
References
Metrics cvssV4_0

{'score': 8.7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-129

    Improper Validation of Array Index

  • CWE-190

    Integer Overflow or Wraparound

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 13, 2026, 5:53 PM
Reserved
Aug 12, 2026, 8:53 PM
Status
Deferred
Published
Aug 13, 2026, 6:18 PM
Modified
Oct 24, 2026, 3:10 PM