cvelo
P3 · MediumCVSS 5.8EPSS 0.2%

S3 bucket name controls the host of presigned URLs in ex_aws_s3

  • CVE-2026-63582
  • GHSA-3689-943w-8vcg
  • EUVD-2026-133981

Description

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.

Text from the CVE.org record.

Recommendation

  • ex-aws ex_aws_s3

    • If you run a version from 2.0.0 to before 2.6.0update to 2.6.0 or laterMinor version change: check the release notes

Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.

Affected

  • ex-aws ex_aws_s3

    Affected versionsFixed in
    from 2.0.0 to before 2.6.02.6.0

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.