frp: Unauthenticated Remote Denial of Service in the frp SSH Tunnel Gateway via Integer Overflow
An integer overflow vulnerability in the frp server's SSH Tunnel Gateway allows an unauthenticated remote attacker to crash the entire frps process by sending a specially crafted five-byte message. This causes a slice bounds out-of-range panic in the Go runtime, terminating the server process and dropping all active tunnels. The vulnerability is reachable without authentication when the SSH Tunnel Gateway is enabled with no authorized-keys file, which is the default mode. There is no confidentiality or code execution impact. The issue affects frp versions from v0.53.0 through v0.70.0 with the SSH Tunnel Gateway enabled.
AI Analysis
Technical Summary
The frp server's SSH Tunnel Gateway contains an integer overflow vulnerability triggered by an attacker-controlled four-byte length field in an SSH exec channel request. Adding a constant to the maximum 32-bit unsigned integer value wraps around, causing a bounds check to be bypassed and leading to a slice operation with invalid indices. This triggers a Go runtime panic that is not recovered, crashing the entire frps process. The vulnerability is exploitable without authentication when the gateway is enabled without an authorized-keys file, allowing an unauthenticated attacker to cause a denial of service by repeatedly crashing the server. The vulnerability affects frp versions >=0.53.0 and <0.70.1, confirmed on v0.70.0.
Potential Impact
An unauthenticated remote attacker can cause a denial of service by crashing the frps server process with a single crafted message, resulting in all active tunnels being dropped and new connections refused until the server is restarted. The crash is trivially repeatable, enabling sustained outages. There is no impact on confidentiality, integrity, or code execution. Only frps instances with the SSH Tunnel Gateway explicitly enabled and configured without client authentication are affected.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, do not enable the SSH Tunnel Gateway or configure it with an authorized-keys file to require client authentication. Disabling the SSH Tunnel Gateway or enabling client authentication prevents unauthenticated access to the vulnerable code path.
frp: Unauthenticated Remote Denial of Service in the frp SSH Tunnel Gateway via Integer Overflow
Description
An integer overflow vulnerability in the frp server's SSH Tunnel Gateway allows an unauthenticated remote attacker to crash the entire frps process by sending a specially crafted five-byte message. This causes a slice bounds out-of-range panic in the Go runtime, terminating the server process and dropping all active tunnels. The vulnerability is reachable without authentication when the SSH Tunnel Gateway is enabled with no authorized-keys file, which is the default mode. There is no confidentiality or code execution impact. The issue affects frp versions from v0.53.0 through v0.70.0 with the SSH Tunnel Gateway enabled.
CVSS v4.0
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The frp server's SSH Tunnel Gateway contains an integer overflow vulnerability triggered by an attacker-controlled four-byte length field in an SSH exec channel request. Adding a constant to the maximum 32-bit unsigned integer value wraps around, causing a bounds check to be bypassed and leading to a slice operation with invalid indices. This triggers a Go runtime panic that is not recovered, crashing the entire frps process. The vulnerability is exploitable without authentication when the gateway is enabled without an authorized-keys file, allowing an unauthenticated attacker to cause a denial of service by repeatedly crashing the server. The vulnerability affects frp versions >=0.53.0 and <0.70.1, confirmed on v0.70.0.
Potential Impact
An unauthenticated remote attacker can cause a denial of service by crashing the frps server process with a single crafted message, resulting in all active tunnels being dropped and new connections refused until the server is restarted. The crash is trivially repeatable, enabling sustained outages. There is no impact on confidentiality, integrity, or code execution. Only frps instances with the SSH Tunnel Gateway explicitly enabled and configured without client authentication are affected.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, do not enable the SSH Tunnel Gateway or configure it with an authorized-keys file to require client authentication. Disabling the SSH Tunnel Gateway or enabling client authentication prevents unauthenticated access to the vulnerable code path.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-26gq-p25f-99cp
- Osv Schema Version
- 1.4.0
- Aliases
- []
- Ecosystems
- ["Go"]
- Database Specific Severity
- HIGH
- Cvss Version
- 4.0
Threat ID: 6a6542219c2644c7f80884ce
Added to database: 07/25/2026, 23:09:21 UTC
Last enriched: 07/25/2026, 23:52:21 UTC
Last updated: 07/26/2026, 00:20:08 UTC
Views: 3
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.