All vulnerabilities

Hex

CVE-2026-63584

Copy-source header injection in ExAws.S3.upload_part_copy/8 via unencoded source key

Severity
Low 2.1
Published
24 Nov 2026
Last changed
24 Nov 2026
Added to UpHeron
24 Nov 2026
Fixed in
2.6.0
Weakness
CRLF injection (CWE-93)
Attack
Needs local access · Only under certain conditions · No login needed · No user action needed
Attacker can
Change some data
CVSS 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
Sources
CVE Program

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.

From the CVE Program. Shortened; the full text is there.

Affected software

SoftwareAffected versions
ex_aws_s3Hex · osv:Hex:ex_aws_s3
  • From 2.0.0 before 2.6.0

About ex_aws_s3

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-63584