CVE-2026-63584: Copy-source header injection in ExAws.S3.upload_part_copy/8 via unencoded source key
Published 2026-11-24 · Updated 2026-11-25 · Also known as EEF-CVE-2026-63584, GHSA-27g7-88jv-xqhq
Summary
A copy-source header injection vulnerability in ExAws.S3 allows attackers to inject HTTP headers or corrupt copy-source references via unencoded object keys in upload_part_copy/8. Engineering teams using ex_aws_s3 versions 2.0.0 up to 2.6.0 with untrusted input should update immediately.
Who is affected
Deployments of ex_aws_s3 utilizing ExAws.S3.upload_part_copy/8 with source buckets or object keys derived from untrusted input are affected. Depending on the HTTP backend and input, this can result in incorrect copy-source references or HTTP header injection.
Exploitability
The vulnerability requires local or low privileges depending on the vector, with a low attack complexity and partial privileges required (AT:P). According to EPSS and CVSS metrics, exploitation requires untrusted input passed to the specific function.
Remediation
- Upgrade the Hex package ex_aws_s3 to version 2.6.0 or higher.
- Percent-encode or sanitize the source bucket and object key before passing them to ExAws.S3.upload_part_copy/8 as a workaround if upgrading is not immediately possible.
How to check your project
- Check mix.exs and mix.lock for the ex_aws_s3 dependency within the version range [2.0.0, 2.6.0).
- Search codebase for calls to ExAws.S3.upload_part_copy/8 handling untrusted user input.
Automated analysis of the published advisory data, generated 2026-11-26. Not human-reviewed; verify against the official advisory. How this works.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | Upgrade |
|---|---|---|---|---|
| Hex | ex_aws_s3 |
>= 2.0.0, < 2.6.0 | 2.6.0 | mix deps.update ex_aws_s3 |
CVSS 4.0 vector
CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N
| Attack vector | Local |
|---|---|
| Attack complexity | Low |
| Attack requirements | Present |
| Privileges required | None |
| User interaction | None |
| Confidentiality (vulnerable system) | None |
| Integrity (vulnerable system) | Low |
| Availability (vulnerable system) | None |
| Confidentiality (subsequent systems) | None |
| Integrity (subsequent systems) | Low |
| Availability (subsequent systems) | None |
Base score is not computed for CVSS 4.0 vectors; severity is taken from the advisory.
FAQ
Which package is affected by CVE-2026-63584?
The Hex package ex_aws_s3 from version 2.0.0 before 2.6.0 is affected.
What causes the vulnerability?
The vulnerability is caused by missing percent-encoding in ExAws.S3.upload_part_copy/8 when building the x-amz-copy-source request header.
Are applications passing trusted keys affected?
No, applications that only ever pass trusted, well-formed keys are not affected.
Original advisory description
References
- ADVISORY https://github.com/ex-aws/ex_aws_s3/security/advisories/GHSA-27g7-88jv-xqhq
- WEB https://cna.erlef.org/cves/CVE-2026-63584.html
- WEB https://github.com/ex-aws/ex_aws_s3/commit/4ce4d72219c0cb8de9356278203d8ea780311b75
- FIX https://github.com/ex-aws/ex_aws_s3/commit/b708beb7cbd0fe2ab7ce685834bb664397e4df1e
- PACKAGE https://hex.pm/packages/ex_aws_s3
Source records: EEF-CVE-2026-63584 (OSV.dev) · EPSS by FIRST, 2026-11-26.