cvelo
P4 · InfoCVSS 2.1EPSS 0.3%

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

  • CVE-2026-63584
  • GHSA-649c-5f5j-5256
  • EUVD-2026-134129

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.

Text from the CVE.org record.

Recommendation

  • ex-aws ex_aws_s3

    • If you run a version from 2.0.0 to before 2.6.0update to 2.6.0 or laterMinor version change: check the release notes

Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.

Affected

  • ex-aws ex_aws_s3

    Affected versionsFixed in
    from 2.0.0 to before 2.6.02.6.0

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.