# CVE-2026-62269: S3 object key query-string injection and truncation via unencoded reserved characters in ex_aws

- Severity: Medium 5.1 (CVSS:4.0, scored by EEF) `CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 13% of CVEs (2026-12-01)
- Published: 2026-11-24T11:40:27.176Z
- Modified: 2026-12-01T17:17:40.007Z
- Also known as: EEF-CVE-2026-62269, GHSA-96q9-mcc7-hqj8
- Weaknesses: CWE-116
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: EEF

## Description

Improper Encoding or Escaping of Output vulnerability in ex_aws (S3 request URL construction).

This vulnerability is associated with program files lib/ex_aws/request/url.ex and program routines ExAws.Request.Url.build/2, ExAws.Request.Url.sanitize/2 and ExAws.Request.Url.get_path/2.

ex_aws does not percent-encode reserved characters in S3 object keys when it assembles the request URL. A literal ? in an object key survives unencoded: build/2 inserts the operation path verbatim and URI.to_string/1 emits it without encoding, and sanitize/2 then splits the flattened URL on the first ?, treating everything after it as the query string. Because the split runs before uri_encode is applied to the path, the ? is never neutralized, and the recovered query is re-inserted without any encoding.

An attacker who controls part of an object key (for example a download or upload keyed by a user-supplied filename) can therefore truncate the key past application-appended suffixes, causing the request to address a different object than the application intended, and can inject live S3 sub-resource operations (such as ?acl, ?tagging or ?versions) into the request. The manipulated URL is signed and transmitted normally, so the tampering is authorized like any legitimate request.

This issue affects ex_aws: from 2.1.2 before 2.8.0.

(As written by CVE List.)

## Affected

- ex_aws: from 2.1.2 before 2.8.0
- ex-aws/ex_aws: from ecd51b1965909119ee597d6c0783334e30e59e58 before 963fcc0948102608c6796959e7a0d84f37d84dce
- ex_aws (Hex): from 2.1.2 before 2.8.0
- https://github.com/ex-aws/ex_aws: from ecd51b1965909119ee597d6c0783334e30e59e58 before 963fcc0948102608c6796959e7a0d84f37d84dce

## Every score

- EEF: CVSS:4.0 5.1 Medium `CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N`
- Erlang Ecosystem Foundation: CVSS:4.0 `CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N`

## References

- <https://github.com/ex-aws/ex_aws/security/advisories/GHSA-96q9-mcc7-hqj8> (advisory, related, vendor-advisory)
- <https://cna.erlef.org/cves/CVE-2026-62269.html> (related, web)
- <https://osv.dev/vulnerability/EEF-CVE-2026-62269> (related)
- <https://github.com/ex-aws/ex_aws/commit/ecd51b1965909119ee597d6c0783334e30e59e58> (related, web)
- <https://github.com/ex-aws/ex_aws/commit/963fcc0948102608c6796959e7a0d84f37d84dce> (fix, patch)
- <https://hex.pm/packages/ex_aws> (package)

## Sources

- CVE List: [CVE-2026-62269](https://www.cve.org/CVERecord?id=CVE-2026-62269), CVE Terms of Use, modified 2026-12-01
- Erlang Ecosystem Foundation: [EEF-CVE-2026-62269](https://osv.dev/vulnerability/EEF-CVE-2026-62269), CC-BY-4.0, modified 2026-11-26
- NVD: [CVE-2026-62269](https://nvd.nist.gov/vuln/detail/CVE-2026-62269), Public domain, modified 2026-12-01

---

Page: https://cve.day/CVE-2026-62269 · Whole record: https://cve.day/CVE-2026-62269.json · Rebuilt by cve.day 2026-12-01T17:32:13.271Z
