Read the docs

S3 bucket name controls the host of presigned URLs in ex_aws_s3

Priority LOW 25CWE-610Published · Updated

Key facts

Attack vector
Local
Privileges required
None
User interaction
Passive
Attack complexity
Low
Attack requirements
Present
Impact type
—
Confidentiality · integrity · availability
High · Low · None
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA.

Summary

ex_aws_s3 from 2.0.0 before 2.6.0 builds presigned URLs and presigned POST forms from the bucket name without validating it when virtual_host, s3_accelerate or bucket_as_host is enabled. An attacker who controls a bucket name can make the URL point at a host of their choice, so clients upload files to or download content from that host, and each URL discloses the access key id. The flaw is CWE-610 and is exploitable from a local position with low attack complexity, requiring user interaction.

Written with Claude Haiku 5.5 from the sources below · 2026-11-24

Description from the CNA

Externally Controlled Reference to a Resource in Another Sphere vulnerability in ex-aws ex_aws_s3 allows an attacker who controls an S3 bucket name to make presigned URLs and presigned POST forms point at a host of their choice. With virtual_host: true, s3_accelerate: true or bucket_as_host: true, ExAws.S3.presigned_url/5 and ExAws.S3.presigned_post/4 build the URL from the bucket name without checking it. A bucket such as attacker.example/x? turns the URL into https://attacker.example/x?.s3.amazonaws.com..., and the signature is computed for that host. Clients given the URL upload their files to, or download content from, the attacker's host, and every such URL discloses the access key id. With bucket_as_host: true any valid hostname works as the bucket name. This issue affects ex_aws_s3: from 2.0.0 before 2.6.0.

Why it matters now

EPSS 0.00226 7th percentileScored 2026-11-30
Fix Fixed ex_aws_s3 (ex-aws): 2.6.0

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
ex-awsex_aws_s32.0.0 to before 2.6.02.6.0Patch availableCNA
  • ex_aws_s3 Vendorex-aws Affected 2.0.0 to before 2.6.0 Fixed in 2.6.0 Patch available CNA

CPE names CNA · 1

CPEVersionsRoleVendor
cpe:2.3:a:ex-aws:ex_aws_s3:*:*:*:*:*:*:*:*———
  • cpe:2.3:a:ex-aws:ex_aws_s3:*:*:*:*:*:*:*:* Versions — — ·—

Remediation

Upgrade ex_aws_s3 to version 2.6.0 or later, which fixes the flaw.

Written with Claude Haiku 5.5 from the sources below · 2026-11-24

  • Fix · CNA ex_aws_s3 (ex-aws) Fixed in 2.6.0

Fixed in the same release

Records fixed by the same vendor advisory or release, as the CNA lists them.

  • Release ·

    ex-aws ex_aws_s3 2.6.0

    8 records Highest priority Priority MEDIUM 3 MEDIUM, 5 LOW

    Other records, highest priority first

    • TI-2026-97430 XML injection in ex_aws_s3 bucket configuration buildersPriority MEDIUM 64
    • TI-2026-97439 XML injection in ExAws S3 batch delete lets attackers remove extra objectsPriority MEDIUM 62
    • TI-2026-97429 XML injection in ex_aws_s3 object and bucket taggingPriority MEDIUM 44

Timeline

  1. 2026-11-24 Threatist record created from CVE-2026-63582
  2. 2026-11-24 Alias added: GHSA-3689-943w-8vcg

References

  • TI-2026-97430 XML injection in ex_aws_s3 bucket configuration builders CVSS 4.0MEDIUM 6.9
  • TI-2026-97439 XML injection in ExAws S3 batch delete lets attackers remove extra objects CVSS 4.0MEDIUM 5.9
  • TI-2026-97429 XML injection in ex_aws_s3 object and bucket tagging CVSS 4.0LOW 2.1
  • TI-2026-34676 ex_aws_sns SigningCertURL not validated in verify_message/1 CVSS 4.0HIGH 8.7
  • TI-2026-97227 ex_aws IMDSv2 token request follows HTTP redirects (SSRF) CVSS 4.0HIGH 7.6
  • TI-2026-97235 ex_aws normalizes .. in S3 object keys client-side, allowing bucket or key-prefix escape CVSS 4.0HIGH 7.4
See all 16 →

Sources