CVE-2026-62269
S3 object key query-string injection and truncation via unencoded reserved characters in ex_aws
Check your servers for CVE-2026-62269
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-62269 affects ex_aws, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Severity (CVSS)
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
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Attack requirements
- none: an attack works without special conditions on the target
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Impact on the vulnerable system
- confidentiality low, integrity low, availability none: what an attacker can read, change or stop in the vulnerable component
- Impact on other systems
- confidentiality none, integrity none, availability none: what an attacker can read, change or stop beyond it
Exploitation
EPSS 0.22%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 13.7% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 1 Dec 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Weakness
- CWE-116 Improper Encoding or Escaping of Output
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
ex_aws
package
ex_aws |
affected from 2.1.2, before 2.8.0
Other versions: unaffected
|
|
ex_aws
package
ex-aws/ex_aws |
affected from ecd51b1965909119ee597d6c0783334e30e59e58, before 963fcc0948102608c6796959e7a0d84f37d84dce
Other versions: unaffected
|
Is my server affected?
Find the installed version of ex_aws and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i ex_aws
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2026-62269 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2026-62269RHEL, Rocky, Alma, Fedora
rpm -q ex_aws
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2026-62269Alpine
apk list --installed | grep -i ex_awsWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-62269
trivy image --scanners vuln IMAGE | grep CVE-2026-62269
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
- https://github.com/ex-aws/ex_aws/security/advisories/GHSA-96q9-mcc7-hqj8 github.com · vendor advisory, related
Patches and release notes
- Fix commit 963fcc0 in ex-aws/ex_aws github.com · patch
Other references
- EEF CNA record for CVE-2026-62269 cna.erlef.org · related
- OSV record EEF-CVE-2026-62269 osv.dev · related
- Introducing commit ecd51b1 in ex-aws/ex_aws github.com · related
Source: the record CVE-2026-62269 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse