CVE-2026-62269
published medium CVSS 4.0 · 5.1S3 object key query-string injection and truncation via unencoded reserved characters in ex_aws
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| ex-aws | — | ex_aws2.1.2 to < 2.8.0 · Other versions: unaffected | Affected | Not stated | EEF |
| ex-aws | — | ex-aws/ex_awsex_aws · ecd51b1965909119ee597d6c0783334e30e59e58 to < 963fcc0948102608c6796959e7a0d84f37d84dce · Other versions: unaffected | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 5.1 / 10
- Severity
- medium
- Provider
- EEF · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| ex-aws | ex_aws | 2.1.2 to < 2.8.0 (affected · semver)Default: unaffected | EEF · cna |
| ex-aws | ex_aws | ecd51b1965909119ee597d6c0783334e30e59e58 to < 963fcc0948102608c6796959e7a0d84f37d84dce (affected · git)Default: unaffected | EEF · cna |
Weaknesses
1- CWE-116 CWE-116 Improper Encoding or Escaping of Output
References
5- EEF CNA record for CVE-2026-62269 https://cna.erlef.org/cves/CVE-2026-62269.html
- Fix commit 963fcc0 in ex-aws/ex_aws https://github.com/ex-aws/ex_aws/commit/963fcc0948102608c6796959e7a0d84f37d84dce
- Introducing commit ecd51b1 in ex-aws/ex_aws https://github.com/ex-aws/ex_aws/commit/ecd51b1965909119ee597d6c0783334e30e59e58
- https://github.com/ex-aws/ex_aws/security/advisories/GHSA-96q9-mcc7-hqj8
- OSV record EEF-CVE-2026-62269 https://osv.dev/vulnerability/EEF-CVE-2026-62269
Provider assertions
2EEF · cna
S3 object key query-string injection and truncation via unencoded reserved characters in ex_aws
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 1710d57b5f11800e235e77fe7c0749edb436f4ed9918acb4790b044b3e6dfe9c
- Ingested
- 01 Dec 2026, 17:00:20 UTC
- Source record
- Official CVE record