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.
Published: 2026-08-13
Score: 8.7 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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

Thu, 13 Aug 2026 18:45:00 +0000

Type Values Removed Values Added
First Time appeared Fatedier
Fatedier frp
Vendors & Products Fatedier
Fatedier frp

Thu, 13 Aug 2026 17:45:00 +0000

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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-13T17:53:06.534Z

Reserved: 2026-08-12T20:53:46.380Z

Link: CVE-2026-73564

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-13T18:18:18.950

Modified: 2026-08-13T18:18:18.950

Link: CVE-2026-73564

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-13T18:30:16Z

Weaknesses
  • CWE-129

    Improper Validation of Array Index

  • CWE-190

    Integer Overflow or Wraparound