Hex
CVE-2026-63582
S3 bucket name controls the host of presigned URLs in ex_aws_s3
- Severity
- Medium 5.8
- Published
- 24 Nov 2026
- Last changed
- 24 Nov 2026
- Added to UpHeron
- 24 Nov 2026
- Fixed in
- 2.6.0
- Weakness
- CWE-610
- Attack
- Needs local access · Only under certain conditions · No login needed · Needs someone to view a page or file
- Attacker can
- Read data · Change some data
- CVSS vector
CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:P/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N- Sources
- CVE Program
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.
Affected software
| Software | Affected versions |
|---|---|
ex_aws_s3Hex · osv:Hex:ex_aws_s3 |
|
About ex_aws_s3
Vulnerabilities in ex_aws_s3
- In our list
- 8
- Published in the last 12 months
- 8
- Critical, last 12 months
- 0
- High, last 12 months
- 1
- Known exploited
- 0
- CVE-2026-62273XML injection via unescaped tag keys and values in ex_aws_s3 object and bucket taggingLow 2.1 24 Nov 2026
- CVE-2026-63581ex_aws_s3 XML injection in bucket-configuration buildersMedium 6.9 24 Nov 2026
- CVE-2026-63584Copy-source header injection in ExAws.S3.upload_part_copy/8 via unencoded source keyLow 2.1 24 Nov 2026
- CVE-2026-63583XML injection in ExAws.S3.Utils.build_lifecycle_rule/1 in ex_aws_s3High 7.0 24 Nov 2026
- CVE-2026-131902XML injection via unescaped VersionId in ExAws.S3.delete_multiple_objects/3Medium 5.9 24 Nov 2026
- CVE-2026-63585ExAws.S3 ACL grantee injection via unescaped grant headers in format_grant_header/1Medium 4.8 24 Nov 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-63582