Security mailing lists by PureSourceCode

CVE-2026-65621

LOW 2.1CVSS 4.0

Unvalidated object metadata in ex_aws_s3 enables HTTP header (CRLF) injection into S3 requests

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
24 Nov 2026
Last modified
1 Dec 2026
Assigned by
6b3ad84c-e1a6-4bf7-a703-f496b71e49db
NVD status
Awaiting Analysis
Weakness
CWE-113
Also known as
EEF-CVE-2026-65621GHSA-5887-vcfr-5ff8
Sources
NVDJSONCVE ListJSONOSV EEF-CVE-2026-65621JSON

Scores

SourceScored byVersionScoreVector / decision
NVD 6b3ad84c-e1a6-4bf7-a703-f496b71e49db (Secondary) CVSS 4.0 LOW 2.1 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
CVE List EEF CVSS 4.0 LOW 2.1 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
CVE List CISA-ADP SSVC Exploitation: none; Automatable: no; Technical Impact: partial

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
CVE List https://repo.hex.pm ex_aws_s3
cpe:2.3:a:ex-aws:ex_aws_s3:*:*:*:*:*:*:*:*
>= 2.0.0, < 2.6.0 2.6.0
CVE List https://github.com ex-aws/ex_aws_s3
cpe:2.3:a:ex-aws:ex_aws_s3:*:*:*:*:*:*:*:*
>= 4ce4d72219c0cb8de9356278203d8ea780311b75, < fa941106c2e3b10de8e710d1a03eeb673b88096c fa941106c2e3b10de8e710d1a03eeb673b88096c
OSV Hex ex_aws_s3 >= 2.0.0, < 2.6.0 2.6.0

References

History

  • 1 Dec 2026 17:18 UTC · NVD: updated (other details)
  • 1 Dec 2026 17:09 UTC · CVE List: updated (other details)
  • 25 Nov 2026 20:36 UTC · CVE List: first stored (published 24 Nov 2026)
  • 25 Nov 2026 20:15 UTC · OSV: first stored (published 24 Nov 2026)
  • 25 Nov 2026 20:11 UTC · NVD: first stored (published 24 Nov 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.