Skip to content
DayZeroHub
Medium Not yet writtenCVSS 5.8CVE-2026-63582

CVE-2026-63582: S3 bucket name controls the host of presigned URLs in ex_aws_s3

ex-aws ex_aws_s3

Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.

Summary

CVE-2026-63582: medium-severity vulnerability (CVSS 5.8) in ex-aws ex_aws_s3.

What happened

Original description from the source: 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

Medium severity, CVSS 5.8.

Affected products and versions

ex-aws ex_aws_s3 >= 2.0.0, < 2.6.0; ex-aws ex_aws_s3 >= 4ce4d72219c0cb8de9356278203d8ea780311b75, < ea26e8b43785f3ff1f14d6b22d8069fc06a58e55

ProductVersionsFixed in
ex-aws ex_aws_s3>= 2.0.0, < 2.6.0—
ex-aws ex_aws_s3>= 4ce4d72219c0cb8de9356278203d8ea780311b75, < ea26e8b43785f3ff1f14d6b22d8069fc06a58e55—

Action recommended by the source

See the official references for the fix or mitigation.

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Weaknesses (CWE): CWE-610

Relevant change history

  1. Published

    Preliminary advisory published.