Skip to main content

rclone EUVDEUVD-2026-53615

| CVE-2026-71310 MEDIUM
Uncontrolled Resource Consumption (CWE-400)
2026-08-05 https://github.com/rclone/rclone GHSA-xhf4-832v-7xcr
5.9
CVSS 3.1 · Vendor: https://github.com/rclone/rclone
View

Attack ChainAIDerived

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

  1. Access
    Configure rclone with attacker-controlled HTTP proxy
  2. Delivery
    Receive HTTP CONNECT request from rclone FTP/SFTP backend
  3. Exploit
    Return oversized CONNECT response with large header payload
  4. Execution
    Trigger unbounded heap growth via http.ReadResponse
  5. Persist
    Exhaust process memory
  6. Impact
    rclone process OOM-terminates, disrupting all active mounts

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource consumption limits
MITRE ATT&CK

1 technique across 1 tactic: Impact

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

Exploitation Conditions

Exploitation requires that the rclone user has configured an HTTP proxy (via --proxy flag or HTTPS_PROXY/HTTP_PROXY environment variables) pointing to an attacker-controlled or compromised server, or that an active on-path attacker can intercept plaintext HTTP proxy traffic (i.e., the proxy URL uses http:// rather than https://). HTTPS proxy configurations authenticate the proxy via TLS before the CONNECT response is parsed, so passive MITM attacks against HTTPS-proxied connections are blocked by TLS. SFTP connections reach this parser before SSH host-key validation, meaning a malicious proxy can exploit SFTP-proxied connections without being constrained by SSH authentication. No special application-level authentication or non-default rclone configuration is required beyond the presence of an HTTP proxy setting - but that proxy configuration itself is the critical prerequisite that limits mass exploitation.

Impact

The provided CVSS vector (AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H, score 5.9) contains a notable discrepancy: the advisory text explicitly states 'UI is Required' because the victim must configure and actively use an HTTP proxy, yet the vector encodes UI:N. A corrected UI:R vector yields approximately 5.3, still Medium. The AC:H rating is well-justified - exploitation requires either a malicious or compromised configured proxy, or an active on-path attacker capable of intercepting plaintext HTTP proxy traffic; HTTPS proxy connections require the attacker to also defeat TLS authentication before this code path is reached. No EPSS data was provided in the intelligence, and the vulnerability is not listed in CISA KEV, so real-world exploitation probability is unquantified but structurally limited by the proxy-configuration precondition. This is a genuine operational risk for rclone deployments routing FTP or SFTP through untrusted or third-party proxies, particularly where concurrent CONNECT handshakes are possible, but is not a zero-configuration mass-exploitation risk.

Exploit ScenarioDerived

An attacker operating a malicious HTTP proxy (or intercepting plaintext HTTP proxy traffic via active MITM) waits for rclone to issue a CONNECT request for an FTP or SFTP destination. The attacker returns a syntactically valid HTTP/1.1 200 Connection Established response embedding an arbitrarily large header such as X-Fill: xxxx... containing megabytes of data; rclone's unbounded http.ReadResponse consumes the entire response, growing heap memory until the process OOMs and terminates all active FTP, SFTP, and rclone mounts in the same process. The advisory demonstrates this succeeding with a 2 MiB header across three consecutive runs.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.4% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Aug 05, 2026

Memory exhaustion in rclone's shared HTTP CONNECT proxy helper (lib/proxy/http.go) allows a malicious or compromised proxy to crash the rclone process by returning arbitrarily large CONNECT response headers. Versions up to and including 1.74.0 are affected; the fix is confirmed in v1.75.0. No active exploitation has been identified (not in CISA KEV), but the advisory includes a detailed proof-of-concept demonstrating that a 2 MiB header is accepted without error across repeated test runs, and the impact is process-wide OOM affecting all FTP, SFTP, and other rclone mounts concurrently.

RemediationAI

Upgrade rclone to v1.75.0 or later, which applies the fix in commit 21d8cd3b92cd81d987f485051d454ea675d91a2b (https://github.com/rclone/rclone/commit/21d8cd3b92cd81d987f485051d454ea675d91a2b). The patch wraps the proxy connection in an io.LimitedReader capped at 1 MiB before passing it to bufio.NewReader, adds an error path that closes the connection if the limit is exceeded, and introduces a bufferedConn wrapper to preserve any tunnel bytes already buffered after the CONNECT response. For environments that cannot immediately upgrade, configure rclone to use only internally-controlled, trusted HTTP proxies and avoid routing traffic through third-party or shared proxy infrastructure. Where possible, prefer HTTPS proxy URLs over HTTP proxy URLs - HTTPS proxy connections require TLS authentication before the vulnerable CONNECT response is parsed, blocking passive on-path attackers. Restricting concurrent rclone mounts per process can limit blast radius if exploitation occurs, since the OOM impact is process-wide.

Affected VersionsENISA

rclone < 1.75.0

Affected Packages

go github.com/rclone/rclone fix: 1.75.0
euvd rclone fix: 1.75.0

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

The root cause (CWE-400: Uncontrolled Resource Consumption) is in HTTPConnectDial within lib/proxy/http.go:23-81, a shared helper invoked by both the SFTP backend (backend/sftp/ssh_internal.go:25-45) and the FTP backend (backend/ftp/ftp.go:465-479). The function calls http.ReadResponse(br, req) over an unbounded bufio.NewReader with no io.LimitReader wrapper. Go's textproto.NewReader documentation explicitly advises callers to apply io.LimitReader for DoS resistance, and http.ReadResponse does not inherit http.Transport.MaxResponseHeaderBytes in this context. The affected package is pkg:go/github.com_rclone_rclone at the verified revision a0c09f1381ae93e2a9a33c529d170186c61ad058 (v1.74.0). The helper also returns the raw connection after parsing, requiring the remediation to preserve any tunnel bytes (SSH banner, FTP greeting) already buffered beyond the CONNECT response - addressed in the fix via a bufferedConn wrapper.

Know when the next one hits your stack

  • 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

Vendor (https://github.com/rclone/rclone) PRIMARY 5.9 MEDIUM
AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 5.3 MEDIUM

Victim must configure and actively use an HTTP proxy (UI:R); malicious proxy or active MITM required (AC:H); availability-only OOM impact with no confidentiality or integrity consequence.

3.1 AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H
4.0 AV:N/AC:H/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
SUSE MEDIUM
Red Hat 5.9 MEDIUM

Primary rating from Vendor (https://github.com/rclone/rclone).

CVSS VectorVendor: https://github.com/rclone/rclone

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

DescriptionCVE.org

1. Summary

The shared HTTP CONNECT helper parses a proxy response with http.ReadResponse over an unrestricted buffered reader. The production helper accepted a valid response containing a 2 MiB header in three consecutive runs. A malicious or compromised configured proxy, or an active on-path actor controlling a plaintext HTTP-proxy hop, can grow memory until the process fails.

The security impact is process-wide exhaustion, not loss of access through the malicious proxy, which the proxy already controls. The victim must configure and use the proxy, so UI is Required and the rating is Medium.

2. Affected Assets & Attack Surface

  • Verified rclone revision: a0c09f1381ae93e2a9a33c529d170186c61ad058 (v1.74.0-240-ga0c09f138)
  • Current-master check: lib/proxy/http.go was unchanged at master commit 961266888fe797390c535386f3b3aa46f4853602 on 2026-07-18
  • Shared helper: lib/proxy/http.go:23-81
  • SFTP use: backend/sftp/ssh_internal.go:25-45
  • FTP use: backend/ftp/ftp.go:465-479
  • Proxy peer: configured malicious/compromised proxy or active on-path actor for a plaintext HTTP proxy
  • TLS boundary: HTTPS proxy connections authenticate the proxy before this response is parsed, so an on-path actor must also defeat TLS

3. Technical Root Cause Analysis

HTTPConnectDial invokes http.ReadResponse(br, req) directly. This call does not inherit http.Transport.MaxResponseHeaderBytes. In the Go implementation used for validation, exported textproto.Reader.ReadMIMEHeader passes math.MaxInt64 limits, and textproto.NewReader explicitly instructs callers to use io.LimitReader or an equivalent bound for denial-of-service resistance. Rclone supplies no bound or total CONNECT-handshake deadline. The helper additionally returns the raw connection, so a safe remediation must preserve any tunnel bytes already buffered after the CONNECT response.

4. Proof-of-Concept & Evidence

  1. Configure the helper to use a test proxy.
  2. Accept rclone's CONNECT request.
  3. Return HTTP/1.1 200 Connection Established with an X-Fill header containing 2 MiB of data.
  4. The actual helper parses and accepts the entire response without a fixed ceiling; this succeeded in all three reruns.

The test establishes unbounded parsing behavior without intentionally exhausting the host.

5. Impact Assessment

Large or concurrent CONNECT responses can terminate the rclone process and interrupt unrelated FTP/SFTP remotes and mounts. Runtime OOM cannot be contained by RC panic recovery. SFTP reaches this parser before SSH server authentication, so target host-key validation does not constrain a malicious proxy; HTTPS proxy authentication does constrain ordinary on-path attackers.

6. Remediation Guidance

  • Enforce a total CONNECT status/header budget before parsing.
  • Add a fixed total handshake deadline as well as idle deadlines.
  • Close the connection on an oversized or malformed response.
  • Return a wrapper that consumes already buffered post-response tunnel bytes before the raw connection.
  • Test large single/multiple headers, slow streaming, and concurrent handshakes.

Threat Intelligence Overview

EPSS Score
0.4%
Top 70% exploitable
Prevalence
Medium
popular open-source cloud storage sync tool, broadly used in enterprise and DevOps
Threat Intel
1
1 sources
Exploit
POC
Public exploit code exists
Social Media
1
Sightings
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA Vendor CIRCL GitHub VulDB

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 MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
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

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

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
SUSE Linux Enterprise Server 16.1 Affected
SUSE Linux Enterprise Server for SAP applications 16.1 Affected

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