Skip to content
Heist/ feed
MediumFix available

rclone: S3 Redirect Sanitization Omits IBM IAM Bearer Tokens and SSE-C Keys

Type: advisorySource: OSV1 source record

## 1. Summary The S3 redirect callback strips `X-Amz-Security-Token` when a redirect changes scheme or host, but it does not strip IBM IAM bearer authorization or customer-provided encryption keys. Two independently validated paths remain: - a same-host HTTPS-to-HTTP redirect preserves `Authorization: Bearer ...` and exposes a reusable IBM IAM token to the plaintext network path; - a cross-origin redirect preserves SSE-C and copy-source SSE-C key headers. The High rating is driven by the reusable IBM IAM bearer token. The SSE-C cross-origin disclosure is a secondary confidentiality issue. The meaningful threat is a trusted endpoint, gateway, or accelerator that emits an unsafe redirect, followed by an adjacent/on-path observer; describing the originally configured endpoint itself as the attacker would be weak because that endpoint already receives the request secrets. ## 2. Affected Assets & Attack Surface - S3 redirect policy: `backend/s3/s3.go:1345-1379` - IBM IAM signer: `backend/s3/ibm_signer.go:28-40` - SSE-C key preparation: `backend/s3/s3.go:1821-1837` - Affected operations: requests carrying IBM IAM authorization, SSE-C keys, or copy-source SSE-C keys - Confirmed affected version: `<= v1.74.0-240-ga0c09f138` ## 3. Technical Root Cause Analysis `s3CheckRedirect` applies a one-header denylist: ```go if s3RedirectCrossesHost(req, via) { req.Header.Del("X-Amz-Security-Token") } ``` Go removes `Authorization` on some hostname changes, but preserves it for a same-host redir

Announced Source revision 1
Original source ↗

GHSA-8mxv-9xhp-86h4

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: osv:GHSA-8mxv-9xhp-86h4

github.com/rclone/rclone

Source reference: /affected/0/package/name

Affected versions
Not stated in this record
Fixed versions
1.75.0

Source reference: /affected/0/ranges

Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "ranges": [
      {
        "type": "SEMVER",
        "events": [
          {
            "introduced": "0"
          },
          {
            "fixed": "1.75.0"
          }
        ]
      }
    ],
    "package": {
      "name": "github.com/rclone/rclone",
      "purl": "pkg:golang/github.com/rclone/rclone",
      "ecosystem": "Go"
    },
    "database_specific": {
      "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/08/GHSA-8mxv-9xhp-86h4/GHSA-8mxv-9xhp-86h4.json",
      "last_known_affected_version_range": "<= 1.74.0"
    }
  }
]
Related CVEs
CVE-2026-79780

Source reference: /aliases

Publisher severity

No explicit severity was provided.

Linked CVE context

These ratings describe the referenced vulnerabilities and products. They are not a severity rating for every application using this dependency.

Event
#15263 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement