rclone: Unbounded HTTP CONNECT Response Headers Can Exhaust rclone Memory (CVE-2026-71310)
Description
rclone contains a vulnerability in its HTTP CONNECT helper where unbounded HTTP response headers can cause excessive memory consumption. A malicious or compromised proxy can send very large headers (e.g., 2 MiB), causing the rclone process to exhaust memory and terminate. This affects rclone versions prior to 1.75.0 and requires the victim to configure and use the malicious proxy. The impact is denial of service via process-wide memory exhaustion, not unauthorized access. A fix is available to enforce limits on header size and handshake deadlines.
CVSS v3.1
Score 5.9medium
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 rclone HTTP CONNECT helper uses Go's http.ReadResponse without enforcing limits on response header size, allowing a proxy to send excessively large headers that cause unbounded memory growth. The vulnerability arises because the helper does not apply MaxResponseHeaderBytes or equivalent limits, nor does it set handshake deadlines. This can lead to process termination due to out-of-memory conditions when parsing large or multiple oversized CONNECT response headers. The issue affects rclone versions before 1.75.0. The attack requires a configured malicious or compromised proxy or an on-path attacker controlling a plaintext HTTP proxy hop. HTTPS proxy connections mitigate on-path attacks by requiring proxy authentication. The vulnerability impacts FTP and SFTP backends that use this helper. Remediation involves enforcing header size limits, handshake deadlines, and proper connection handling to prevent memory exhaustion.
Potential Impact
Exploitation can cause the rclone process to exhaust memory and terminate, disrupting unrelated FTP and SFTP operations. This denial of service affects the entire process and cannot be contained by panic recovery. There is no loss of confidentiality or integrity, as the attacker must already control the proxy or be on-path for a plaintext proxy connection. HTTPS proxy authentication limits the feasibility of on-path attacks. The impact is rated medium severity with a CVSS score of 5.9, reflecting a denial of service condition requiring user interaction (proxy configuration).
Mitigation Recommendations
A patch is available that enforces a fixed total size limit on CONNECT response headers and sets handshake deadlines to prevent unbounded memory growth. The fix also closes connections on oversized or malformed responses and ensures buffered tunnel bytes are safely consumed. Users should upgrade to rclone version 1.75.0 or later where these protections are implemented. Until patched, users should avoid configuring untrusted or compromised proxies and prefer HTTPS proxies with authentication to reduce attack surface.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-xhf4-832v-7xcr
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-71310"]
- Ecosystems
- ["Go"]
- Database Specific Severity
- MODERATE
- Cvss Version
- 3.1
Threat ID: 6a95a0d7acd9273b494784c0
Added to database: 08/31/2026, 15:42:15 UTC
Last enriched: 09/09/2026, 12:07:54 UTC
Last updated: 10/14/2026, 06:48:20 UTC
Views: 22
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.