Home / ex-aws / ex_aws / CVE-2026-59698
CVE-2026-59698: is it exploited, and which versions of ex_aws are affected and fixed?
CVE-2026-59698 is a path traversal vulnerability in ex_aws. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 12:08 UTC). Affected: ex_aws from 2.1.7 before 2.8.0 (CVE record by EEF). Fixed in 2.8.0 (CVE record by EEF). Severity: High (7.4, CVSS 4.0, from EEF).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 12:08 UTC, CVE record December 1, 2026, 17:00 UTC and NVD December 1, 2026, 18:12 UTC.
What is CVE-2026-59698?
ex_aws normalizes .. in S3 object keys client-side, allowing bucket or key-prefix escape
Relative path traversal in ex_aws allows an attacker who controls an S3 object key to escape the intended bucket or key prefix. When ex_aws builds a path-style S3 request, ExAws.Operation.S3.add_bucket_to_path/2 in lib/ex_aws/operation/s3.ex joins the bucket name and the object key into a single path string and then normalizes it, collapsing . and .. segments the way a filesystem path would. Because the bucket is the first segment of the combined string, a leading ../ in the object key pops the bucket off the path. With bucket mybucket and a key of ../victim/secret.txt, the combined /mybucket/../victim/secret.txt normalizes to /victim/secret.txt, so the request (signed with the application's own credentials) is sent to bucket victim. The same mechanism collapses ../ within a key, defeating any isolation an application enforces by prepending a trusted prefix. Only the default path-style configuration is affected; requests built with virtual_host: true do not run this normalization. Because S3 treats object keys as opaque and does not resolve .. itself, the client-side normalization introduces a traversal that would not otherwise exist. Any application that derives an S3 object key from untrusted input and relies on the bucket, or a key prefix, as a tenant or trust boundary is exposed to cross-bucket or cross-prefix read and write, depending on the operation and the credentials' permissions. This issue affects ex_aws: from 2.1.7 before 2.8.0.
From the CVE record by EEF, last updated December 1, 2026, 16:52 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| ex-aws | ex_aws | from 2.1.7 before 2.8.0 | 2.8.0 |
| ex-aws | ex_aws ex-aws/ex_aws | not stated |
As the CVE record by EEF states it, last updated December 1, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
How severe is CVE-2026-59698?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.4 | CVSS 4.0 | CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N | EEF |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-59698 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: total (CISA ADP, December 1, 2026)
- EPSS
- 0.26% probability of exploitation activity in the next 30 days, percentile 19.5 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-23 Relative Path Traversal
Is there a workaround? (from the CVE record)
Configure the ex_aws S3 client with virtual_host: true, which builds the request without the client-side path normalization. Alternatively, reject or sanitize object keys that contain .. segments before passing them to ex_aws.
Where are the vendor advisories and references?
- https://github.com/ex-aws/ex_aws/security/advisories/GHSA-hrw3-2h5r-fhxx vendor-advisory, related
- EEF CNA record for CVE-2026-59698 related
- OSV record EEF-CVE-2026-59698 related
- Introducing commit 557d343 in ex-aws/ex_aws related
- Fix commit b1116f9 in ex-aws/ex_aws patch
Who found and reported it?
- Peter Ullrich (finder)
- Peter Ullrich (reporter)
- Jonatan Männchen / EEF (analyst)
- Peter Ullrich (coordinator)
- Bernard Duggan (remediation developer)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- July 6, 2026
- Published
- November 24, 2026, 11:45 UTC
- CVE record updated
- December 1, 2026, 16:52 UTC by EEF
- NVD
- Awaiting Analysis, last modified December 1, 2026, 17:17 UTC
- Last checked
- CVE list December 1, 2026, 17:00 UTC; NVD December 1, 2026, 18:12 UTC; KEV December 3, 2026, 12:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect ex_aws?
- Nov 24, 2026CVE-2026-120720 ex_aws: server-side request forgery (SSRF)
- Nov 24, 2026CVE-2026-59697 ex_aws: server-side request forgery (SSRF)
- Nov 24, 2026CVE-2026-62269 ex_aws: improper output encoding
Questions about CVE-2026-59698
Is CVE-2026-59698 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 12:08 UTC. FIRST's EPSS gives it a 0.26% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of ex_aws are affected by CVE-2026-59698?
ex_aws from 2.1.7 before 2.8.0, per the CVE record by EEF. The tables above give every range the sources list.
Which version fixes CVE-2026-59698?
2.8.0, per the CVE record by EEF. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-59698?
High (7.4, CVSS 4.0, from EEF). The severity table above shows each score with its source.
Where is the official record of CVE-2026-59698?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.