目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2026-59698— ex_aws normalizes .. in S3 object keys client-side, allowing bucket or key-prefix escape

一分钟漏洞结论

影响对象
ex-aws ex_aws
利用判断
尚无明确在野利用证据,仍需结合暴露面评估
建议动作
优先检查厂商安全公告和参考链接中的修复版本;无法立即升级时,限制受影响服务暴露并加强监测。

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 n

CVSS 7.4 · High
获取后续新漏洞提醒 登录后订阅

一、 漏洞 CVE-2026-59698 基础信息

漏洞信息

Shenlong is analyzing...


对漏洞内容有疑问?看看神龙的深度分析是否有帮助!
查看神龙十问 ↗

尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。

Vulnerability Title
ex_aws normalizes .. in S3 object keys client-side, allowing bucket or key-prefix escape
来源: CVE Program / CVE List V5
Vulnerability Description
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.
来源: CVE Program / CVE List V5
CVSS Information
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
来源: CVE Program / CVE List V5
Vulnerability Type
相对路径遍历
来源: CVE Program / CVE List V5

受影响产品

厂商 产品 影响版本 CPE 订阅
ex-aws ex_aws 2.1.7 ~ 2.8.0 cpe:2.3:a:ex-aws:ex_aws:*:*:*:*:*:*:*:*
ex-aws ex_aws 557d3438a7e739a25c1ccc1876a5b636793f20ba ~ b1116f9f92a8ec1f7f2f3f692bd1c5cacaddf6fd cpe:2.3:a:ex-aws:ex_aws:*:*:*:*:*:*:*:*

二、漏洞 CVE-2026-59698 的公开POC

# POC 描述 源链接 神龙链接
AI 生成 POC 高级

未找到公开 POC。

登录以生成 AI POC

三、漏洞 CVE-2026-59698 的情报信息

请登录查看更多情报信息。

CVE-2026-59698 其他参考 (5)

同批安全公告 · ex-aws · 2026-11-24 · 共 15 条

CVE-2026-59697 7.6 HIGH IMDSv2 metadata token request follows HTTP redirects in ex_aws
CVE-2026-63583 7.0 HIGH XML injection in ExAws.S3.Utils.build_lifecycle_rule/1 in ex_aws_s3
CVE-2026-63581 6.9 MEDIUM ex_aws_s3 XML injection in bucket-configuration builders
CVE-2026-65622 5.9 MEDIUM ex_aws_ses missing URI-encoding of list_name allows path injection into SES V2 request URL
CVE-2026-120720 5.9 MEDIUM S3 bucket name controls the request host in ex_aws virtual-host requests
CVE-2026-62270 5.9 MEDIUM Type confusion via structural idempotency guard in ExAws.Dynamo.Encoder.encode/2
CVE-2026-131902 5.9 MEDIUM XML injection via unescaped VersionId in ExAws.S3.delete_multiple_objects/3
CVE-2026-63582 5.8 MEDIUM S3 bucket name controls the host of presigned URLs in ex_aws_s3
CVE-2026-62269 5.1 MEDIUM S3 object key query-string injection and truncation via unencoded reserved characters in e
CVE-2026-63585 4.8 MEDIUM ExAws.S3 ACL grantee injection via unescaped grant headers in format_grant_header/1
CVE-2026-65621 2.1 LOW Unvalidated object metadata in ex_aws_s3 enables HTTP header (CRLF) injection into S3 requ
CVE-2026-63584 2.1 LOW Copy-source header injection in ExAws.S3.upload_part_copy/8 via unencoded source key
CVE-2026-62271 2.1 LOW ex_aws_kms defaults RSA key-material wrapping to PKCS#1 v1.5 in get_parameters_for_import/
CVE-2026-62273 2.1 LOW XML injection via unescaped tag keys and values in ex_aws_s3 object and bucket tagging

IV. Related Vulnerabilities