CVE-2026-59698
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…
Published Updated Sources: cvelistV5, EEF
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Unreported
no source claims exploitation
EPSS
<1%
chance of exploitation in 30 days
CVSS base
7.4
HIGH
CISA SSVC assessment
Three decision points CISA publishes for the CVEs it assesses · SSVC 2.0.3. A stakeholder decision, not a severity score.
Exploitation
None
none · proof-of-concept · active
Automatable
No
can an attacker script all four kill-chain steps
Technical impact
Total
partial · total control of the vulnerable component
Affected scope
The catalog records vendors and products as separate lists, not pairs, so which product belongs to which vendor is not something this page can say.
Vendors (1)
Products (1)
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 7.4 | CVSS 4.0 | HIGH | n/a | n/a | cvelistV5 |
Weakness & attack patterns
- CWE-23
Detection
Read off the CVSS vector and the weakness class. Starting points, not rules we have tested.
- Search application, proxy, and WAF logs for requests touching /2, /ex_aws/operation/s3.ex, /victim/secret.txt, /mybucket/../victim/secret.txt.
References
5 on the record
- github.com/ex-aws/ex_aws/security/advisories/GHSA-hrw3-2h5r-fhxx
vendor-advisory, related
- cna.erlef.org/cves/CVE-2026-59698.html
related
- osv.dev/vulnerability/EEF-CVE-2026-59698
related
- github.com/ex-aws/ex_aws/commit/557d3438a7e739a25c1ccc1876a5b636793f20ba
related
- github.com/ex-aws/ex_aws/commit/b1116f9f92a8ec1f7f2f3f692bd1c5cacaddf6fd
patch
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2026-76519 Cisco Secure Email Gateway Arbitrary File Write VulnerabilityCVSS 9.8 · CISA KEV
- CVE-2025-64446 Fortinet FortiWeb Path Traversal VulnerabilityCVSS 9.8 · CISA KEV
- CVE-2021-40870 Aviatrix Controller Unrestricted Upload of FileCVSS 9.8 · CISA KEV
- CVE-2020-5410 VMware Tanzu Spring Cloud Config Directory Traversal VulnerabilityCVSS 7.5 · CISA KEV
- CVE-2024-27199 JetBrains TeamCity Relative Path Traversal VulnerabilityCVSS 7.3 · CISA KEV
- CVE-2026-34926 Trend Micro Apex One (On-Premise) Directory Traversal VulnerabilityCVSS 6.7 · CISA KEV
Elsewhere on this site
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.