# CVE-2026-63584: Copy-source header injection in ExAws.S3.upload_part_copy/8 via unencoded source key

- Severity: Low 2.1 (CVSS:4.0, scored by EEF) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.27%, higher than 13% of CVEs (2026-11-30)
- Published: 2026-11-24T14:15:10.351Z
- Modified: 2026-11-25T17:23:09.263Z
- Also known as: EEF-CVE-2026-63584, GHSA-27g7-88jv-xqhq
- Weaknesses: CWE-93
- Assigned by: EEF

## Description

Improper Neutralization of CRLF Sequences ('CRLF Injection') vulnerability in ex-aws ex_aws_s3 allows HTTP header injection via an attacker-controlled copy-source key.

ExAws.S3.upload_part_copy/8 in lib/ex_aws/s3.ex builds the x-amz-copy-source request header by interpolating the source bucket and object key directly into "/#{src_bucket}/#{src_object}" with no percent-encoding. The sibling function put_object_copy percent-encodes the bucket and each path segment before assembling the same header, but upload_part_copy skips encoding entirely.

When the source key is derived from untrusted input, reserved characters (spaces, ?, &, =) pass through verbatim and corrupt the copy-source reference, so the copy targets the wrong object or fails. A key containing \r or \n can split or inject additional headers into the outgoing HTTP request, depending on how the configured HTTP backend serializes headers.

Applications that pass a source bucket or object key derived from untrusted input to ExAws.S3.upload_part_copy/8 are affected. Applications that only ever pass trusted, well-formed keys are not affected.

This issue affects ex_aws_s3: from 2.0.0 before 2.6.0.

(As written by CVE List.)

## Affected

- ex_aws_s3: from 2.0.0 before 2.6.0
- ex-aws/ex_aws_s3: from 4ce4d72219c0cb8de9356278203d8ea780311b75 before b708beb7cbd0fe2ab7ce685834bb664397e4df1e
- ex_aws_s3 (Hex): from 2.0.0 before 2.6.0
- https://github.com/ex-aws/ex_aws_s3: from 4ce4d72219c0cb8de9356278203d8ea780311b75 before b708beb7cbd0fe2ab7ce685834bb664397e4df1e

## Every score

- EEF: CVSS:4.0 2.1 Low `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`
- Erlang Ecosystem Foundation: CVSS:4.0 `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`

## References

- <https://github.com/ex-aws/ex_aws_s3/security/advisories/GHSA-27g7-88jv-xqhq> (advisory, related, vendor-advisory)
- <https://cna.erlef.org/cves/CVE-2026-63584.html> (related, web)
- <https://osv.dev/vulnerability/EEF-CVE-2026-63584> (related)
- <https://github.com/ex-aws/ex_aws_s3/commit/4ce4d72219c0cb8de9356278203d8ea780311b75> (related, web)
- <https://github.com/ex-aws/ex_aws_s3/commit/b708beb7cbd0fe2ab7ce685834bb664397e4df1e> (fix, patch)
- <https://hex.pm/packages/ex_aws_s3> (package)

## Sources

- CVE List: [CVE-2026-63584](https://www.cve.org/CVERecord?id=CVE-2026-63584), CVE Terms of Use, modified 2026-11-24
- Erlang Ecosystem Foundation: [EEF-CVE-2026-63584](https://osv.dev/vulnerability/EEF-CVE-2026-63584), CC-BY-4.0, modified 2026-11-25
- NVD: [CVE-2026-63584](https://nvd.nist.gov/vuln/detail/CVE-2026-63584), Public domain, modified 2026-11-24

---

Page: https://cve.day/CVE-2026-63584 · Whole record: https://cve.day/CVE-2026-63584.json · Rebuilt by cve.day 2026-11-25T22:59:52.832Z
