Server-Side Request Forgery Vulnerability in ExAws by Ex-aws
CVE-2026-120720
What is CVE-2026-120720?
The ex_aws library, used for AWS integrations, contains a Server-Side Request Forgery (SSRF) vulnerability that can be exploited by attackers. When an attacker controls the S3 bucket name, they can manipulate the application's signed S3 requests, allowing them to redirect these requests to a malicious host. Specifically, the issue arises in the ExAws.Operation.S3.add_bucket_to_path/2 function, which does not validate the bucket name when constructing request hostnames. As a result, crafted bucket names like attacker.example lead to the signing and sending of requests to an unauthorized URL, exposing sensitive data like access keys and request signatures. This vulnerability emphasizes the need for careful validation and sanitization of inputs within cloud service integrations.
Affected Version(s)
ex_aws 2.1.7 < 2.8.0
ex_aws 557d3438a7e739a25c1ccc1876a5b636793f20ba
References
CVSS V4
Timeline
Vulnerability published
Vulnerability Reserved
