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

- **Severity:** MEDIUM 5.1
- **CVSS:** 5.1 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Attack requirements: None; Privileges required: None; User interaction: None; Confidentiality impact: Low; Integrity impact: Low; Availability impact: None; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.22% (percentile 8, 2026-11-28)
- **CWE:** CWE-116
- **Published:** 2026-11-24T11:40:27.176Z
- **Modified:** 2026-11-24T19:12:16.707Z

## Who should check

- Anyone running ex-aws ex\_aws \>= 2.1.2, \< 2.8.0
- Anyone running ex-aws ex\_aws \>= ecd51b1965909119ee597d6c0783334e30e59e58, \< 963fcc0948102608c6796959e7a0d84f37d84dce

## 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.

## Affected and fixed versions

- ex-aws ex\_aws: \>= 2.1.2, \< 2.8.0 (cvelist)
- ex-aws ex\_aws: \>= ecd51b1965909119ee597d6c0783334e30e59e58, \< 963fcc0948102608c6796959e7a0d84f37d84dce (cvelist)

## Mitigation

- Upgrade ex\_aws to 2.8.0 or later.
- Upgrade ex\_aws to 963fcc0948102608c6796959e7a0d84f37d84dce or later.
- Vendor workaround: Before constructing an S3 operation, percent-encode reserved characters in the object key (or reject keys that contain ? or \#) so that no reserved character reaches the URL builder unencoded.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-62269. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-62269.md
Affected: ex-aws ex_aws >= 2.1.2, < 2.8.0; ex-aws ex_aws >= ecd51b1965909119ee597d6c0783334e30e59e58, < 963fcc0948102608c6796959e7a0d84f37d84dce
Fixed in: ex-aws ex_aws 2.8.0, ex-aws ex_aws 963fcc0948102608c6796959e7a0d84f37d84dce

Steps:
1. Search this machine and project for ex-aws ex_aws: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-62269 being exploited?

There is no confirmed exploitation: CVE-2026-62269 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.22% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-62269?

Medium: CVSS 5.1 (v4.0, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-62269?

ex-aws ex\_aws \>= 2.1.2, \< 2.8.0; ex-aws ex\_aws \>= ecd51b1965909119ee597d6c0783334e30e59e58, \< 963fcc0948102608c6796959e7a0d84f37d84dce.

### Is there a fix for CVE-2026-62269?

Yes. Fixed in ex-aws ex\_aws 2.8.0, ex-aws ex\_aws 963fcc0948102608c6796959e7a0d84f37d84dce. Upgrade ex\_aws to 2.8.0 or later. Upgrade ex\_aws to 963fcc0948102608c6796959e7a0d84f37d84dce or later. Vendor workaround: Before constructing an S3 operation, percent-encode reserved characters in the object key (or reject keys that contain ? or \#) so that no reserved character reaches the URL builder unencoded.

### How do I check if I'm affected by CVE-2026-62269?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/ex-aws/ex_aws/security/advisories/GHSA-96q9-mcc7-hqj8>
- patch: <https://github.com/ex-aws/ex_aws/commit/ecd51b1965909119ee597d6c0783334e30e59e58>
- patch: <https://github.com/ex-aws/ex_aws/commit/963fcc0948102608c6796959e7a0d84f37d84dce>
- other: <https://cna.erlef.org/cves/CVE-2026-62269.html>
- other: <https://osv.dev/vulnerability/EEF-CVE-2026-62269>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-62269>
- FIRST EPSS: EPSS scores by FIRST <https://www.first.org/epss/>

HTML: <https://flawdb.com/CVE-2026-62269> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-62269>
