CVE-2026-62269
S3 object key query-string injection and truncation via unencoded reserved characters in ex_aws
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.
Who should check
- Anyone running ex-aws ex_aws >= 2.1.2, < 2.8.0
- Anyone running ex-aws ex_aws >= ecd51b1965909119ee597d6c0783334e30e59e58, < 963fcc0948102608c6796959e7a0d84f37d84dce
Vulnerability facts
- 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
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- 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:NOpen in CVSS calculator
Show all 11 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
- EPSS
- 0.22% chance of exploitation in 30 days (percentile 8, 2026-11-28)
- CWE
- CWE-116
- Modified
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
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
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.
References
Patches
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.
More ex-aws vulnerabilities
See all| Severity | Identifier / vulnerability | Technology | Signals | Age |
|---|---|---|---|---|
| LOW 2.0 | CVE-2026-62272 ex_aws_lambda relative path traversal via unencoded identifiers in ExAws.Lambda request paths | ex-aws | EPSS 8% | |
| MEDIUM 5.9 | CVE-2026-65622 ex_aws_ses missing URI-encoding of list_name allows path injection into SES V2 request URLs | ex-aws | EPSS 10% | |
| LOW 2.1 | CVE-2026-62273 XML injection via unescaped tag keys and values in ex_aws_s3 object and bucket tagging | ex-aws | PoCEPSS 31% | |
| MEDIUM 6.9 | CVE-2026-63581 ex_aws_s3 XML injection in bucket-configuration builders | ex-aws | PoCEPSS 31% | |
| LOW 2.1 | CVE-2026-63584 Copy-source header injection in ExAws.S3.upload_part_copy/8 via unencoded source key | ex-aws | EPSS 13% |