Hex
CVE-2026-65621
Unvalidated object metadata in ex_aws_s3 enables HTTP header (CRLF) injection into S3 requests
- Severity
- Low 2.1
- Published
- 24 Nov 2026
- Last changed
- 24 Nov 2026
- Added to UpHeron
- 24 Nov 2026
- Fixed in
- 2.6.0
- Attack
- Needs local access · Only under certain conditions · No login needed · No user action needed
- Attacker can
- Change some data
- CVSS vector
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- Sources
- CVE Program
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.
Affected software
| Software | Affected versions |
|---|---|
ex_aws_s3Hex · osv:Hex:ex_aws_s3 |
|
About ex_aws_s3
Vulnerabilities in ex_aws_s3
- In our list
- 8
- Published in the last 12 months
- 8
- Critical, last 12 months
- 0
- High, last 12 months
- 1
- Known exploited
- 0
- CVE-2026-62273XML injection via unescaped tag keys and values in ex_aws_s3 object and bucket taggingLow 2.1 24 Nov 2026
- CVE-2026-63581ex_aws_s3 XML injection in bucket-configuration buildersMedium 6.9 24 Nov 2026
- CVE-2026-63584Copy-source header injection in ExAws.S3.upload_part_copy/8 via unencoded source keyLow 2.1 24 Nov 2026
- CVE-2026-63583XML injection in ExAws.S3.Utils.build_lifecycle_rule/1 in ex_aws_s3High 7.0 24 Nov 2026
- CVE-2026-131902XML injection via unescaped VersionId in ExAws.S3.delete_multiple_objects/3Medium 5.9 24 Nov 2026
- CVE-2026-63582S3 bucket name controls the host of presigned URLs in ex_aws_s3Medium 5.8 24 Nov 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-65621