CRLF injection in ex_aws_s3 copy-source header via unencoded keys
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- Present
- Impact type
- —
- Confidentiality · integrity · availability
- None · Low · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA.
Summary
ex-aws ex_aws_s3 from 2.0.0 before 2.6.0 is affected. ExAws.S3.upload_part_copy/8 puts the source bucket and object key into the x-amz-copy-source header without percent-encoding them (CWE-93). When an application passes an untrusted source key, reserved characters can make the copy target the wrong object, and carriage return or line feed characters can inject extra HTTP headers. Applications that only pass trusted, well-formed keys are not affected.
Written with Claude Haiku 5.5 from the sources below · 2026-11-24
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| ex-aws | ex_aws_s3 | 2.0.0 to before 2.6.0 | 2.6.0 | Patch available | CNA |
- ex_aws_s3 Vendorex-aws Affected 2.0.0 to before 2.6.0 Fixed in 2.6.0 Patch available CNA
CPE names CNA · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:ex-aws:ex_aws_s3:*:*:*:*:*:*:*:* | — | — | — |
- cpe:2.3:a:ex-aws:ex_aws_s3:*:*:*:*:*:*:*:* Versions — — ·—
Remediation
Upgrade ex_aws_s3 to 2.6.0, the fixed version.
Written with Claude Haiku 5.5 from the sources below · 2026-11-24
- Fix · CNA ex_aws_s3 (ex-aws) Fixed in 2.6.0
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
ex-aws ex_aws_s3 2.6.0
8 records Highest priority Priority MEDIUM 3 MEDIUM, 5 LOW
Other records, highest priority first
- TI-2026-97430 XML injection in ex_aws_s3 bucket configuration buildersPriority MEDIUM 64
- TI-2026-97439 XML injection in ExAws S3 batch delete lets attackers remove extra objectsPriority MEDIUM 62
- TI-2026-97429 XML injection in ex_aws_s3 object and bucket taggingPriority MEDIUM 44
Timeline
- 2026-11-24 Threatist record created from CVE-2026-63584
- 2026-11-24 Alias added: GHSA-649c-5f5j-5256
- 2026-12-01 CISA SSVC decision points changed
References
More ex-aws vulnerabilities
- TI-2026-97430 XML injection in ex_aws_s3 bucket configuration builders CVSS 4.0MEDIUM 6.9
- TI-2026-97439 XML injection in ExAws S3 batch delete lets attackers remove extra objects CVSS 4.0MEDIUM 5.9
- TI-2026-97429 XML injection in ex_aws_s3 object and bucket tagging CVSS 4.0LOW 2.1
- TI-2026-34676 ex_aws_sns SigningCertURL not validated in verify_message/1 CVSS 4.0HIGH 8.7
- TI-2026-97227 ex_aws IMDSv2 token request follows HTTP redirects (SSRF) CVSS 4.0HIGH 7.6
- TI-2026-97235 ex_aws normalizes .. in S3 object keys client-side, allowing bucket or key-prefix escape CVSS 4.0HIGH 7.4
Sources
- CVE-2026-63584 · CVE Program
- CVE-2026-63584 · NVD
- FIRST EPSS
- GHSA-649c-5f5j-5256 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences