Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSupply crafted object key via app input
-
ExploitKey flows into upload_part_copy copy-source
-
ExecutionUnencoded CRLF corrupts x-amz-copy-source header
-
ImpactCopy misdirected or extra headers injected
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization CRLF sequence sanitization
|
| Exploitation Conditions | Exploitation requires that the application pass an attacker-controlled source bucket or object key into ExAws.S3.upload_part_copy/8 (the multipart copy path); applications that only ever pass trusted, well-formed keys, or that use put_object_copy (which percent-encodes), are not affected. The header-splitting outcome is further gated by the configured HTTP backend (AT:P): it only occurs if that backend serializes raw \r/\n into the outgoing request rather than rejecting or sanitizing them - many HTTP clients reject control characters in header values, which limits the full header-injection impact to object/copy-target corruption in those cases. There is no authentication, privilege, or user-interaction requirement on the attacker side beyond controlling the key value that the vulnerable application forwards. |
| Impact | This is a genuinely low-priority issue by every available signal, and the signals are consistent rather than conflicting. The vendor CVSS 4.0 vector (AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N) scores 2.1, reflecting low integrity-only impact with an attack requirement (AT:P) tied to how the configured HTTP backend serializes headers. The vuln.today decision label is 'monitor', not act_now or emergency. No EPSS score was supplied and the CVE is not in CISA KEV, so there is no indication of active exploitation. There is a patch and a public advisory, but no public exploit identified at time of analysis - no PoC reference is present, only the fix commits. Critically, exploitability is entirely application-dependent: the flaw only matters when an application routes untrusted input into the copy-source bucket/object key of ExAws.S3.upload_part_copy/8, and even then the CR/LF header-split outcome depends on whether the backing HTTP client passes raw CR/LF through rather than rejecting or stripping it. One note of uncertainty worth verifying with the vendor: the CVSS marks AV:L (local), yet the untrusted key would in practice typically arrive over the network via the application, so the real attack surface may be more network-reachable than AV:L implies - but the impact ceiling (low integrity, no confidentiality, no availability) remains small regardless. Net: real but minor; patch on a normal maintenance cycle, prioritize only if your app demonstrably feeds untrusted keys to this function. |
| Exploit ScenarioDerived | An Elixir application performs an S3 multipart copy and passes a user-supplied object key (or bucket) into ExAws.S3.upload_part_copy/8; because that function interpolates the key into the x-amz-copy-source header without percent-encoding, an attacker-controlled key containing reserved characters misdirects the copy to the wrong object, and a key containing CR or LF can split or inject additional headers into the outgoing request depending on the HTTP backend's serialization. Given AV:L/AT:P, success is conditional on both untrusted input reaching this specific function and the backend emitting raw CR/LF. No public exploit identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 24, 2026
CRLF and header injection in the Elixir library ExAws.S3 lets an attacker-controlled S3 object key corrupt or split the x-amz-copy-source header that upload_part_copy/8 builds, affecting versions 2.0.0 through 2.5.x (fixed in 2.6.0). Because the key is interpolated raw, spaces, '?', '&' and '=' silently retarget the multipart copy at the wrong object or cause it to fail, while embedded carriage-return or newline characters may inject or split headers depending on the configured HTTP backend - many clients reject control characters in header values, so in practice the integrity impact is often limited to copy-target corruption. This is a low-priority issue: CVSS 4.0 base 2.1 and the independent assessment's CVSS 3.1 AV:N/AC:H/PR:N/UI:N/C:N/I:L/A:N both reflect a high-attack-complexity, integrity-only condition, the vendor has released a patch, and no public exploit has been identified at time of analysis (no CISA KEV entry).
RemediationAI
Upgrade ex_aws_s3 to 2.6.0 or later, the vendor-released fix; the relevant upstream change is commit b708beb7cbd0fe2ab7ce685834bb664397e4df1e (referenced alongside commit 4ce4d72219c0cb8de9356278203d8ea780311b75) and the advisory is at https://github.com/ex-aws/ex_aws_s3/security/advisories/GHSA-27g7-88jv-xqhq. If upgrading is not immediately possible, the compensating control that directly removes the flaw is to percent-encode the source bucket and object key yourself before calling upload_part_copy/8, matching what put_object_copy does internally - note this must be applied at every call site, since the library will not re-encode and a double-encoded key would address the wrong object. Alternatively, route the operation through put_object_copy where the copy size permits, or reject or sanitize any source key containing control characters or reserved delimiters (spaces, '?', '&', '=') at the boundary where untrusted input enters; the trade-off is that legitimate keys containing those characters must be encoded rather than rejected. No public exploit has been identified at time of analysis, and this issue is assessed as low priority.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
ExAws.S3 is an Elixir client library for Amazon S3 and S3-compatible object storage. The flaw is CWE-93 (Improper Neutralization of CRLF Sequences) in ExAws.S3.upload_part_copy/8 in lib/ex_aws/s3.ex, which assembles the x-amz-copy-source request header by string interpolation of "/#{src_bucket}/#{src_object}" with no percent-encoding of either component. Its sibling put_object_copy percent-encodes the bucket and each path segment before building the same header, so the multipart-copy path diverges from the correctly encoded single-shot copy path. Reserved characters therefore pass through verbatim and break the copy-source reference, and raw \r or \n bytes can split or inject additional headers into the outgoing HTTP request if - and only if - the configured HTTP adapter serializes them rather than rejecting them; the CVSS 4.0 AT:P component captures that backend-dependent gate, and the trigger and outcome for any particular adapter are not further described in the available sources. Affected CPE data (cpe:2.3:a:ex-aws:ex_aws_s3) is version-agnostic, so the authoritative range is the advisory's: 2.0.0 before 2.6.0.
Know when Elixir gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Untrusted key typically arrives over the network (AV:N); impact depends on untrusted input reaching this function and the HTTP backend emitting raw CR/LF (AC:H); only request/copy integrity is affected (I:L, C:N, A:N).
Primary rating from Vendor (EEF).
CVSS VectorVendor: EEF
DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.
Unbounded recursion in the Elixir `protobuf` Hex package (versions >= 0.8.0, < 0.16.1) lets unauthenticated remote attac
Improper JWT signature verification in Dashbit's nimble_zta (0.1.2 up to but not including 0.1.3) lets an unauthenticate
Remote code execution in the Elixir Flop pagination library affects versions 0.8.0 through 0.26.6, 0.27.0 through 0.27.2
Session-swapping authentication bypass in the Elixir library AshAuthentication (versions 4.10.0 before 4.15.0 and 5.0.0-
Account takeover in AshAuthentication (Elixir/Ash) 4.14.0 through 4.14.x and 5.0.0-rc.10 through 5.0.0-rc.13 lets unauth
Authentication bypass in the Elixir library ash_authentication lets an attacker who operates one federated identity-prov
Server-Side Request Forgery protection bypass in the Elixir safeurl library (versions 0.1.0 and later) allows unauthenti
Arbitrary code execution in applications running the Elixir db_connection library 1.1.0 through 2.10.2 is possible when
Unauthenticated remote CPU exhaustion in mtrudel Bandit's HTTP/2 server (versions before 1.14.0) is achievable by holdin
Unbounded per-connection memory and CPU growth in the Elixir Bandit HTTP/2 server (0.3.6 up to 1.14.0) lets an unauthent
Unauthenticated remote denial of service in the Elixir HTTP server Bandit (mtrudel/bandit) from 0.1.0 before 1.14.0 lets
Unauthenticated remote attackers can consume disproportionate server CPU on Bandit (mtrudel/bandit, Elixir/Erlang) by se
EUVD-2026-134129
GHSA-649c-5f5j-5256
NVD
CVE.org
EPSS
Exploit-DB