CVE-2026-62269
MEDIUM 5.1CVSS 4.0S3 object key query-string injection and truncation via unencoded reserved characters in ex_aws
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.
- Published
- 24 Nov 2026
- Last modified
- 1 Dec 2026
- Assigned by
- 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
- NVD status
- Awaiting Analysis
- Weakness
- CWE-116
- Also known as
- EEF-CVE-2026-62269GHSA-96q9-mcc7-hqj8
- Sources
- NVDJSONCVE ListJSONOSV EEF-CVE-2026-62269JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 6b3ad84c-e1a6-4bf7-a703-f496b71e49db (Secondary) | CVSS 4.0 | MEDIUM 5.1 | 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/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 | MEDIUM 5.1 | 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 |
| CVE List | CISA-ADP | SSVC | Exploitation: none; Automatable: no; Technical Impact: partial |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | https://repo.hex.pm | ex_awscpe:2.3:a:ex-aws:ex_aws:*:*:*:*:*:*:*:* |
>= 2.1.2, < 2.8.0 | 2.8.0 |
| CVE List | https://github.com | ex-aws/ex_awscpe:2.3:a:ex-aws:ex_aws:*:*:*:*:*:*:*:* |
>= ecd51b1965909119ee597d6c0783334e30e59e58, < 963fcc0948102608c6796959e7a0d84f37d84dce | 963fcc0948102608c6796959e7a0d84f37d84dce |
| OSV | Hex | ex_aws | >= 2.1.2, < 2.8.0 | 2.8.0 |
References
- https://cna.erlef.org/cves/CVE-2026-62269.html · related, WEB
- https://github.com/ex-aws/ex_aws/commit/963fcc0948102608c6796959e7a0d84f37d84dce · patch, FIX
- https://github.com/ex-aws/ex_aws/commit/ecd51b1965909119ee597d6c0783334e30e59e58 · related, WEB
- https://github.com/ex-aws/ex_aws/security/advisories/GHSA-96q9-mcc7-hqj8 · vendor-advisory, related, ADVISORY
- https://osv.dev/vulnerability/EEF-CVE-2026-62269 · related
- https://hex.pm/packages/ex_aws · PACKAGE
History
- 1 Dec 2026 17:18 UTC · NVD: updated (other details)
- 1 Dec 2026 17:09 UTC · CVE List: updated (other details)
- 26 Nov 2026 18:37 UTC · OSV: 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)