CVE-2026-65621
published low CVSS 4.0 · 2.1Unvalidated object metadata in ex_aws_s3 enables HTTP header (CRLF) injection into S3 requests
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| ex-aws | — | ex_aws_s32.0.0 to < 2.6.0 · Other versions: unaffected | Affected | Not stated | EEF |
| ex-aws | — | ex-aws/ex_aws_s3ex_aws_s3 · 4ce4d72219c0cb8de9356278203d8ea780311b75 to < fa941106c2e3b10de8e710d1a03eeb673b88096c · Other versions: unaffected | Affected | Not stated | EEF |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 2.1 / 10
- Severity
- low
- Provider
- EEF · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| ex-aws | ex_aws_s3 | 2.0.0 to < 2.6.0 (affected · semver)Default: unaffected | EEF · cna |
| ex-aws | ex_aws_s3 | 4ce4d72219c0cb8de9356278203d8ea780311b75 to < fa941106c2e3b10de8e710d1a03eeb673b88096c (affected · git)Default: unaffected | EEF · cna |
Weaknesses
1- CWE-113 CWE-113 Improper Neutralization of CRLF Sequences in HTTP Headers
References
5- EEF CNA record for CVE-2026-65621 https://cna.erlef.org/cves/CVE-2026-65621.html
- Introducing commit 4ce4d72 in ex-aws/ex_aws_s3 https://github.com/ex-aws/ex_aws_s3/commit/4ce4d72219c0cb8de9356278203d8ea780311b75
- Fix commit fa94110 in ex-aws/ex_aws_s3 https://github.com/ex-aws/ex_aws_s3/commit/fa941106c2e3b10de8e710d1a03eeb673b88096c
- https://github.com/ex-aws/ex_aws_s3/security/advisories/GHSA-5887-vcfr-5ff8
- OSV record EEF-CVE-2026-65621 https://osv.dev/vulnerability/EEF-CVE-2026-65621
Provider assertions
2EEF · cna
Unvalidated object metadata in ex_aws_s3 enables HTTP header (CRLF) injection into S3 requests
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 5522c9734e0c2246518c3c1de52872ad66390efab9595bd7318f448b796d79cf
- Ingested
- 01 Dec 2026, 16:54:56 UTC
- Source record
- Official CVE record