CVE-2026-63584
Copy-source header injection in ExAws.S3.upload_part_copy/8 via unencoded source key
Mitigation
- Upgrade ex_aws_s3 to 2.6.0 or later.
- Vendor workaround: Percent-encode or otherwise sanitize the source bucket and object key before passing them to ExAws.S3.upload_part_copy/8. At minimum, reject (or strip) any value containing \r, \n, or the reserved URI characters that alter the copy-source reference. Encode each path segment with URI.encode(segment, &URI.char_unreserved?/1), mirroring how put_object_copy builds the same header.
Who should check
- Anyone running ex-aws ex_aws_s3 >= 2.0.0, < 2.6.0
- Anyone running ex-aws ex_aws_s3 >= 4ce4d72219c0cb8de9356278203d8ea780311b75, < b708beb7cbd0fe2ab7ce685834bb664397e4df1e
Vulnerability facts
- Affected
- ex-aws ex_aws_s3 >= 2.0.0, < 2.6.0; ex-aws ex_aws_s3 >= 4ce4d72219c0cb8de9356278203d8ea780311b75, < b708beb7cbd0fe2ab7ce685834bb664397e4df1e
- Fixed in
- ex-aws ex_aws_s3 2.6.0
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 2.1 (v4.0, CNA)CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:L/SA:NOpen in CVSS calculator
Show all 11 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Attack requirements: Present
- Privileges required: None
- User interaction: None
- Confidentiality impact: None
- Integrity impact: Low
- Availability impact: None
- Confidentiality impact on other systems: None
- Integrity impact on other systems: Low
- Availability impact on other systems: None
- EPSS
- 0.27% chance of exploitation in 30 days (percentile 13, 2026-11-26)
- CWE
- CWE-93
- Modified
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.
Affected and fixed versions
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-63584. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-63584.md Affected: ex-aws ex_aws_s3 >= 2.0.0, < 2.6.0; ex-aws ex_aws_s3 >= 4ce4d72219c0cb8de9356278203d8ea780311b75, < b708beb7cbd0fe2ab7ce685834bb664397e4df1e 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.
References
Patches
FAQ
Is CVE-2026-63584 being exploited?
There is no confirmed exploitation: CVE-2026-63584 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.27% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-63584?
Low: CVSS 2.1 (v4.0, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2026-63584?
ex-aws ex_aws_s3 >= 2.0.0, < 2.6.0; ex-aws ex_aws_s3 >= 4ce4d72219c0cb8de9356278203d8ea780311b75, < b708beb7cbd0fe2ab7ce685834bb664397e4df1e.
Is there a fix for CVE-2026-63584?
Yes. Fixed in ex-aws ex_aws_s3 2.6.0. Upgrade ex_aws_s3 to 2.6.0 or later. Vendor workaround: Percent-encode or otherwise sanitize the source bucket and object key before passing them to ExAws.S3.upload_part_copy/8. At minimum, reject (or strip) any value containing \r, \n, or the reserved URI characters that alter the copy-source reference. Encode each path segment with URI.encode(segment, &URI.char_unreserved?/1), mirroring how put_object_copy builds the same header.
How do I check if I'm affected by CVE-2026-63584?
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.
More ex-aws vulnerabilities
See all| Severity | Identifier / vulnerability | Technology | Signals | Age |
|---|---|---|---|---|
| LOW 2.0 | CVE-2026-62272 ex_aws_lambda relative path traversal via unencoded identifiers in ExAws.Lambda request paths | ex-aws | ||
| MEDIUM 5.9 | CVE-2026-65622 ex_aws_ses missing URI-encoding of list_name allows path injection into SES V2 request URLs | ex-aws | EPSS 10% | |
| LOW 2.1 | CVE-2026-62273 XML injection via unescaped tag keys and values in ex_aws_s3 object and bucket tagging | ex-aws | PoCEPSS 31% | |
| MEDIUM 6.9 | CVE-2026-63581 ex_aws_s3 XML injection in bucket-configuration builders | ex-aws | PoCEPSS 31% | |
| HIGH 7.0 | CVE-2026-63583 XML injection in ExAws.S3.Utils.build_lifecycle_rule/1 in ex_aws_s3 | ex-aws | EPSS 9% |