CVE-2026-65621
NVD
Vulnerability Summary
ex_aws_s3 builds x-amz-meta-* request headers by interpolating user-supplied object metadata directly into header names and values without any validation. In ExAws.S3.Utils.build_meta_headers/1 (lib/ex_aws/s3/utils.ex), each :meta entry is turned into a header as {"x-amz-meta-#{k}", v} with no check for carriage return (CR), line feed (LF), or other illegal header bytes.
Object metadata is routinely derived from end-user input (for example an upload service that lets users attach a comment or label to an object). When such input reaches ExAws.S3.put_object/4 or any other operation accepting the :meta option, a value containing CR/LF is carried unchanged into the outbound header list. If the configured HTTP adapter does not neutralize header values before writing them to the socket, the embedded CRLF starts a new header line, allowing an attacker to inject arbitrary headers into (or split) the HTTP request the library sends to the S3 endpoint. This is an HTTP header (CRLF) injection leading to HTTP request splitting. The practical impact depends on the HTTP adapter, and no authentication is required beyond the ability to influence object metadata.
This issue affects ex_aws_s3: from 2.0.0 before 2.6.0.
Object metadata is routinely derived from end-user input (for example an upload service that lets users attach a comment or label to an object). When such input reaches ExAws.S3.put_object/4 or any other operation accepting the :meta option, a value containing CR/LF is carried unchanged into the outbound header list. If the configured HTTP adapter does not neutralize header values before writing them to the socket, the embedded CRLF starts a new header line, allowing an attacker to inject arbitrary headers into (or split) the HTTP request the library sends to the S3 endpoint. This is an HTTP header (CRLF) injection leading to HTTP request splitting. The practical impact depends on the HTTP adapter, and no authentication is required beyond the ability to influence object metadata.
This issue affects ex_aws_s3: from 2.0.0 before 2.6.0.
CVSS v4.0 Base Metrics — Score 2.1 (LOW)
CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:L/SA:NAttack VectorLocal
Attack ComplexityLow
Attack RequirementsPresent
Privileges RequiredNone
User InteractionNone
Confidentiality (Vulnerable System)None
Integrity (Vulnerable System)Low
Availability (Vulnerable System)None
Confidentiality (Subsequent System)None
Integrity (Subsequent System)Low
Availability (Subsequent System)None
Affected & Patched Versions
- ex-aws ex_aws_s3 >= 2.0.0 and < 2.6.0
- ex-aws ex_aws_s3 >= 4ce4d72219c0cb8de9356278203d8ea780311b75 and < fa941106c2e3b10de8e710d1a03eeb673b88096c
- ex-aws ex_aws_s3 2.6.0
- ex-aws ex_aws_s3 fa941106c2e3b10de8e710d1a03eeb673b88096c
What to do
Fix it during your normal patch cycle. No exploitation is confirmed yet.
- Check whether you run ex-aws ex_aws_s3 and which version.
- Update to a patched version listed above, then confirm the new version.
Timeline
- Nov 24, 2026Published
- Nov 24, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new ex-aws ex_aws_s3 CVEsYou are reading CVE-2026-65621. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsExternal References
- Vendor Advisoryhttps://github.com/ex-aws/ex_aws_s3/security/advisories/GHSA-5887-vcfr-5ff8
- Referencehttps://cna.erlef.org/cves/CVE-2026-65621.html
- Referencehttps://osv.dev/vulnerability/EEF-CVE-2026-65621
- Patchhttps://github.com/ex-aws/ex_aws_s3/commit/4ce4d72219c0cb8de9356278203d8ea780311b75
- Patchhttps://github.com/ex-aws/ex_aws_s3/commit/fa941106c2e3b10de8e710d1a03eeb673b88096c
Data last checked: Nov 30, 2026 11:12 UTC