ex_aws_s3 HTTP header (CRLF) injection via unvalidated object metadata
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- Present
- Impact type
- —
- Confidentiality · integrity · availability
- None · Low · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA.
Summary
ex_aws_s3 from 2.0.0 before 2.6.0 builds x-amz-meta-* request headers from object metadata without validating header names or values. A metadata value containing carriage return or line feed characters is copied into the request unchanged (CWE-113). If the HTTP adapter does not neutralize header values, an attacker who can influence object metadata with no authentication can inject additional headers into requests sent to the S3 endpoint.
Written with Claude Haiku 5.5 from the sources below · 2026-11-24
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| ex-aws | ex_aws_s3 | 2.0.0 to before 2.6.0 | 2.6.0 | Patch available | CNA |
- ex_aws_s3 Vendorex-aws Affected 2.0.0 to before 2.6.0 Fixed in 2.6.0 Patch available CNA
CPE names CNA · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:ex-aws:ex_aws_s3:*:*:*:*:*:*:*:* | — | — | — |
- cpe:2.3:a:ex-aws:ex_aws_s3:*:*:*:*:*:*:*:* Versions — — ·—
Remediation
Upgrade ex_aws_s3 to 2.6.0, the fixed version for affected versions from 2.0.0 before 2.6.0.
Written with Claude Haiku 5.5 from the sources below · 2026-11-24
- Fix · CNA ex_aws_s3 (ex-aws) Fixed in 2.6.0
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
ex-aws ex_aws_s3 2.6.0
8 records Highest priority Priority MEDIUM 3 MEDIUM, 5 LOW
Other records, highest priority first
- TI-2026-97430 XML injection in ex_aws_s3 bucket configuration buildersPriority MEDIUM 64
- TI-2026-97439 XML injection in ExAws S3 batch delete lets attackers remove extra objectsPriority MEDIUM 62
- TI-2026-97429 XML injection in ex_aws_s3 object and bucket taggingPriority MEDIUM 44
Timeline
- 2026-11-24 Threatist record created from CVE-2026-65621
- 2026-11-24 Alias added: GHSA-7252-fvxj-pv92
- 2026-12-01 CISA SSVC decision points changed
References
More ex-aws vulnerabilities
- TI-2026-97430 XML injection in ex_aws_s3 bucket configuration builders CVSS 4.0MEDIUM 6.9
- TI-2026-97439 XML injection in ExAws S3 batch delete lets attackers remove extra objects CVSS 4.0MEDIUM 5.9
- TI-2026-97429 XML injection in ex_aws_s3 object and bucket tagging CVSS 4.0LOW 2.1
- TI-2026-34676 ex_aws_sns SigningCertURL not validated in verify_message/1 CVSS 4.0HIGH 8.7
- TI-2026-97227 ex_aws IMDSv2 token request follows HTTP redirects (SSRF) CVSS 4.0HIGH 7.6
- TI-2026-97235 ex_aws normalizes .. in S3 object keys client-side, allowing bucket or key-prefix escape CVSS 4.0HIGH 7.4
Sources
- CVE-2026-65621 · CVE Program
- CVE-2026-65621 · NVD
- FIRST EPSS
- GHSA-7252-fvxj-pv92 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences