CVE-2026-65621
CVE-2026-65621 · Unvalidated object metadata in ex_aws_s3 enables HTTP header (CRLF) injection into S3 requests
CVSS 2.1 · Low · EPSS 0.3% · Fix available
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- ex_aws_s3Update to 2.6.0
Assess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
- Published
- Updated
Affected products and versions
Original sources
- https://github.com/ex-aws/ex_aws_s3/security/advisories/GHSA-5887-vcfr-5ff8
- https://cna.erlef.org/cves/CVE-2026-65621.html
- https://osv.dev/vulnerability/EEF-CVE-2026-65621
- https://github.com/ex-aws/ex_aws_s3/commit/4ce4d72219c0cb8de9356278203d8ea780311b75
- https://github.com/ex-aws/ex_aws_s3/commit/fa941106c2e3b10de8e710d1a03eeb673b88096c
- https://nvd.nist.gov/vuln/detail/CVE-2026-65621