CVE-2026-63582
published medium CVSS 4.0 · 5.8S3 bucket name controls the host of presigned URLs in ex_aws_s3
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| ex-aws | — | ex_aws_s32.0.0 to < 2.6.0 · Other versions: unaffected | Affected | Not stated | EEF |
| ex-aws | — | ex-aws/ex_aws_s3ex_aws_s3 · 4ce4d72219c0cb8de9356278203d8ea780311b75 to < ea26e8b43785f3ff1f14d6b22d8069fc06a58e55 · Other versions: unaffected | Affected | Not stated | EEF |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 5.8 / 10
- Severity
- medium
- Provider
- EEF · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| ex-aws | ex_aws_s3 | 2.0.0 to < 2.6.0 (affected · semver)Default: unaffected | EEF · cna |
| ex-aws | ex_aws_s3 | 4ce4d72219c0cb8de9356278203d8ea780311b75 to < ea26e8b43785f3ff1f14d6b22d8069fc06a58e55 (affected · git)Default: unaffected | EEF · cna |
Weaknesses
1- CWE-610 CWE-610 Externally Controlled Reference to a Resource in Another Sphere
References
5- EEF CNA record for CVE-2026-63582 https://cna.erlef.org/cves/CVE-2026-63582.html
- Introducing commit 4ce4d72 in ex-aws/ex_aws_s3 https://github.com/ex-aws/ex_aws_s3/commit/4ce4d72219c0cb8de9356278203d8ea780311b75
- Fix commit ea26e8b in ex-aws/ex_aws_s3 https://github.com/ex-aws/ex_aws_s3/commit/ea26e8b43785f3ff1f14d6b22d8069fc06a58e55
- Virtual-host bucket name controls the host of presigned URLs in ExAws.S3.presigned_url/5 and presigned_post/4 https://github.com/ex-aws/ex_aws_s3/security/advisories/GHSA-p62r-cgcg-9fm7
- OSV record EEF-CVE-2026-63582 https://osv.dev/vulnerability/EEF-CVE-2026-63582
Provider assertions
2EEF · cna
S3 bucket name controls the host of presigned URLs in ex_aws_s3
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- ddbe528b4a2bc5a58edab064575bfb7aec1cafaccb51a24bdf60115019ffc14a
- Ingested
- 01 Dec 2026, 16:54:56 UTC
- Source record
- Official CVE record