CVE Professor
/
All CVEs
CVE-2026-59698

CVE-2026-59698 — Ex-aws Ex Aws (2.8.0) — CWE-23

HIGH CVSS 7.4 CVE.org

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.

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.

CVSS v4.0 Vector Metrics
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
Attack Vector Local AV:L
Attack Complexity Low AC:L
Attack Reqs. Present AT:P
Privileges Req. None PR:N
User Interaction None UI:N
Vuln. Conf. High VC:H
Vuln. Integrity High VI:H
Vuln. Avail. None VA:N
Subseq. Conf. None SC:N
Subseq. Integ. None SI:N
Subseq. Avail. None SA:N
AI Security Analysis & Remediation

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
CVE-2026-59698
CVSS 7.4/10 · HIGH · 24.11.2026
CWE: CWE-23
Vector: 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
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

🎯 WHAT IS THIS VULNERABILITY?
Path Traversal / LFI
Summary: 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 ..
Affected: ex-aws ex_aws

⚡ ATTACK VECTOR
Local/physical access (AV:L) · no authentication required (PR:N) · no user interaction (UI:N) · low attack complexity (AC:L).

🌍 REAL WORLD IMPACT
All confidential data readable/stealable; data can be modified or deleted.

🛡️ REMEDIATION
→ Apply vendor security update for ex-aws ex_aws.
→ Use realpath() canonicalization, implement allowlists.
→ Add WAF rule, create IDS alert for anomalous traffic.

⚠️ URGENCY
⚠️ Planned maintenance (2 weeks).

────────────────────────────────────────
[Automated Technical Vulnerability & CVSS Vector Analysis]

Target Reconnaissance Queries (FOFA & Shodan)

FOFA Query

app="ex-aws ex_aws"
CVSS Score
7.4 / 10 · CVSS HIGH
Weakness Types (CWE)
CWE-23
Affected Products (2)
ex-aws:ex_aws (2.8.0) ex-aws:ex_aws (commit: b1116f9f92)
References & Advisories (5)
Related CVEs
9.2
CVE-2026-141488
The AIDB MCP endpoint (edb-endpoints) in AIDB 7.7.0 through 7.8.0 authenticates HTTP Basic credentials by open
8.5
CVE-2026-120096
Missing authorization in the push publishing endpoints REST API (/api/v1/environments/endpoints) and in the pu
6.3
CVE-2026-126115
Inclusion of sensitive information in the starter export (Maintenance, Download Starter, /api/v1/maintenance/_
5.3
CVE-2026-126100
Two flaws in dotCMS through 26.11.09-01, and in the 25.07 LTS line. First, the notifications REST endpoint (/a
8.6
CVE-2026-135761
A relative path traversal vulnerability in Revenera FlexNet Publisher lmadmin versions 11.19.10 and prior allo
0.0
CVE-2026-134625
Improper limitation of a pathname to a restricted directory in the Apache Knox Admin API allows an authenticat
8.8
CVE-2026-85253
This vulnerability impacts all versions of IdentityIQ and allows an unauthenticated attacker to access protect