{"id":"CVE-2026-63584","summary":"Copy-source header injection in ExAws.S3.upload_part_copy/8 via unencoded source key","details":"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.\n\nExAws.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.\n\nWhen 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.\n\nApplications 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.\n\nThis issue affects ex_aws_s3: from 2.0.0 before 2.6.0.","aliases":["EEF-CVE-2026-63584","GHSA-27g7-88jv-xqhq"],"modified":"2026-11-24T16:00:13.586343093Z","published":"2026-11-24T14:15:10.351Z","database_specific":{"cna_assigner":"EEF","cwe_ids":["CWE-93"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/63xxx/CVE-2026-63584.json"},"references":[{"type":"WEB","url":"https://cna.erlef.org/cves/CVE-2026-63584.html"},{"type":"WEB","url":"https://github.com"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/63xxx/CVE-2026-63584.json"},{"type":"PACKAGE","url":"https://github.com/ex-aws/ex_aws_s3"},{"type":"FIX","url":"https://github.com/ex-aws/ex_aws_s3/commit/4ce4d72219c0cb8de9356278203d8ea780311b75"},{"type":"FIX","url":"https://github.com/ex-aws/ex_aws_s3/commit/b708beb7cbd0fe2ab7ce685834bb664397e4df1e"},{"type":"ADVISORY","url":"https://github.com/ex-aws/ex_aws_s3/security/advisories/GHSA-27g7-88jv-xqhq"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-63584"},{"type":"WEB","url":"https://osv.dev/vulnerability/EEF-CVE-2026-63584"},{"type":"WEB","url":"https://repo.hex.pm"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/ex-aws/ex_aws_s3","events":[{"introduced":"4ce4d72219c0cb8de9356278203d8ea780311b75"},{"fixed":"b708beb7cbd0fe2ab7ce685834bb664397e4df1e"},{"introduced":"4cd774ebedc8a387842cb3a7ad4a7f9b86f9f5e2"},{"fixed":"50ae16bb1bf744742cf405778f309285aa6cb869"},{"fixed":"4ce4d72219c0cb8de9356278203d8ea780311b75"}],"database_specific":{"extracted_events":[{"strategy":"StandardRange","range":[{"introduced":"4ce4d72219c0cb8de9356278203d8ea780311b75"},{"fixed":"b708beb7cbd0fe2ab7ce685834bb664397e4df1e"}],"source":"AFFECTED_FIELD"},{"range":[{"introduced":"2.0.0"},{"fixed":"2.6.0"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"},{"range":[{"fixed":"4ce4d72219c0cb8de9356278203d8ea780311b75"}],"source":"REFERENCES_COMMIT"},{"range":[{"fixed":"b708beb7cbd0fe2ab7ce685834bb664397e4df1e"}],"source":"REFERENCES_COMMIT"}]}}],"versions":["v2.5.9","v2.5.8","v2.5.7","v2.5.5","v2.5.4","v2.5.3","v2.5.2","v2.5.1","v2.5.0","v2.4.0","v2.3.3","v2.3.2","v2.3.1","v2.3.0","v2.1.0","v2.0.2","v2.0.1","v2.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-63584.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}