# CVE-2026-63582: S3 bucket name controls the host of presigned URLs in ex\_aws\_s3

- **Severity:** MEDIUM 5.8
- **CVSS:** 5.8 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Attack requirements: Present; Privileges required: None; User interaction: Passive; Confidentiality impact: High; Integrity impact: Low; Availability impact: None; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.23% (percentile 8, 2026-11-28)
- **CWE:** CWE-610
- **Published:** 2026-11-24T14:13:16.822Z
- **Modified:** 2026-11-24T19:12:16.707Z

## Who should check

- Anyone running ex-aws ex\_aws\_s3 \>= 2.0.0, \< 2.6.0
- Anyone running ex-aws ex\_aws\_s3 \>= 4ce4d72219c0cb8de9356278203d8ea780311b75, \< ea26e8b43785f3ff1f14d6b22d8069fc06a58e55

## 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 and fixed versions

- ex-aws ex\_aws\_s3: \>= 2.0.0, \< 2.6.0 (cvelist)
- ex-aws ex\_aws\_s3: \>= 4ce4d72219c0cb8de9356278203d8ea780311b75, \< ea26e8b43785f3ff1f14d6b22d8069fc06a58e55 (cvelist)

## Mitigation

- Upgrade ex\_aws\_s3 to 2.6.0 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-63582. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-63582.md
Affected: ex-aws ex_aws_s3 >= 2.0.0, < 2.6.0; ex-aws ex_aws_s3 >= 4ce4d72219c0cb8de9356278203d8ea780311b75, < ea26e8b43785f3ff1f14d6b22d8069fc06a58e55
Fixed in: ex-aws ex_aws_s3 2.6.0

Steps:
1. Search this machine and project for ex-aws ex_aws_s3: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-63582 being exploited?

There is no confirmed exploitation: CVE-2026-63582 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.23% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-63582?

Medium: CVSS 5.8 (v4.0, scored by CNA). Not remotely exploitable (local or adjacent access needed). A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2026-63582?

ex-aws ex\_aws\_s3 \>= 2.0.0, \< 2.6.0; ex-aws ex\_aws\_s3 \>= 4ce4d72219c0cb8de9356278203d8ea780311b75, \< ea26e8b43785f3ff1f14d6b22d8069fc06a58e55.

### Is there a fix for CVE-2026-63582?

Yes. Fixed in ex-aws ex\_aws\_s3 2.6.0. Upgrade ex\_aws\_s3 to 2.6.0 or later.

### How do I check if I'm affected by CVE-2026-63582?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/ex-aws/ex_aws_s3/security/advisories/GHSA-p62r-cgcg-9fm7>
- patch: <https://github.com/ex-aws/ex_aws_s3/commit/4ce4d72219c0cb8de9356278203d8ea780311b75>
- patch: <https://github.com/ex-aws/ex_aws_s3/commit/ea26e8b43785f3ff1f14d6b22d8069fc06a58e55>
- other: <https://cna.erlef.org/cves/CVE-2026-63582.html>
- other: <https://osv.dev/vulnerability/EEF-CVE-2026-63582>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-63582>
- FIRST EPSS: EPSS scores by FIRST <https://www.first.org/epss/>

HTML: <https://flawdb.com/CVE-2026-63582> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-63582>
