Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSupply attacker-controlled bucket name (attacker.example/x?)
-
Deliveryex_aws builds vhost from bucket name
-
ExploitSigned S3 request routed to attacker host
-
ExecutionAttacker captures access key, signature, STS token
-
ImpactExfiltrate credentials and forge parsed response
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V4 - API and Web Service URL allowlisting, SSRF prevention
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Credential Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires BOTH a non-default configuration and attacker influence over the bucket name: the application must set virtual_host: true (host built from the unchecked bucket name) or bucket_as_host: true (bucket is the entire hostname), AND must pass an attacker-controlled or attacker-influenced S3 bucket name into ex_aws. Affected versions are ex_aws 2.1.7 up to (not including) 2.8.0. Limiting factors that reduce real-world risk: the default/virtual_host:false path only appends the bucket to the request path and is not vulnerable (per the added tests), and the application must route untrusted input into the bucket name, which is not typical usage - many deployments use statically configured bucket names and are therefore not exploitable. No authentication to the library itself is required (PR:N). |
| Impact | This is a credential-exposure SSRF (CWE-918) in the ex_aws Elixir AWS client, rated medium (CVSS 5.9). The input CVSS 4.0 vector (AV:L/AC:L/AT:P/PR:N/VC:H/VI:L) is internally tense for an SSRF: AV:L implies local reach, yet the trigger is a bucket-name string that in most designs arrives over the network, and AT:P correctly flags that exploitation needs a specific precondition (non-default virtual_host/bucket_as_host config plus an attacker-influenced bucket name) - I assess AV as network-reachable with a high attack requirement rather than local, and note this discrepancy for vendor/NVD verification. The signals do not point to a mass-exploitation emergency: there is no CISA KEV listing, no EPSS score supplied, and no public exploit code identified; the vendor decision label is 'this_month', consistent with a real but config-gated issue rather than an act-now flaw. Weighing against raw CVSS, the high-confidentiality impact (leaked AWS access key id, request signature, and STS session token) makes this serious where the risky configuration is actually used, but the requirement that the application feed untrusted bucket names into ex_aws materially narrows real-world exposure. Net: a genuine priority for the subset of Elixir deployments using virtual_host/bucket_as_host with attacker-influenced bucket names, lower urgency for the default-configured majority. |
| Exploit ScenarioDerived | An application using ex_aws (2.1.7 up to 2.8.0) with virtual_host: true (or bucket_as_host: true) uses an attacker-controlled S3 bucket name such as 'attacker.example/x?'; ex_aws builds the request host from the unchecked bucket name, so the signed request goes to https://attacker.example/x?.s3.amazonaws.com/key and is delivered to the attacker. The attacker receives the upload body, the AWS access key id and request signature, and any STS session token, and controls the response the application then parses. No public exploit code was identified, though a vendor advisory and patch commits are published. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 24, 2026
Server-side request forgery in the ex_aws Elixir AWS client can redirect signed S3 requests to an attacker-chosen host when virtual_host: true or bucket_as_host: true is configured and the S3 bucket name is attacker-influenced. Affected releases are 2.1.7 up to but not including 2.8.0; exploitation also requires a non-default configuration, so deployments using static bucket names and the default path-style mode are not exposed. An attacker can receive upload bodies and signing data such as the access key ID, request signature and any STS session token, and can control the response the application parses; this is rated medium (CVSS 5.9), with no public exploit identified at time of analysis.
RemediationAI
Upgrade ex_aws to 2.8.0 or later; the affected range ends before 2.8.0, and the vendor advises the fix through https://github.com/ex-aws/ex_aws/security/advisories/GHSA-rcv9-2jx2-63xh with patch commits https://github.com/ex-aws/ex_aws/commit/557d3438a7e739a25c1ccc1876a5b636793f20ba and https://github.com/ex-aws/ex_aws/commit/a878943be6def16ffbee6bb9e11d90db1dc904f8. If upgrading immediately is not possible, disable virtual_host and bucket_as_host so the library uses the non-vulnerable path-style behavior, and ensure bucket names passed to ex_aws come only from a trusted static configuration or strict allowlist rather than untrusted input. The trade-off is that path-style addressing changes S3 request URLs and may not work with every S3-compatible endpoint that requires virtual-host style; disabling virtual-host style can also affect deployments that depend on it. If a vulnerable configuration processed attacker-influenced bucket names, review outbound S3 requests for unexpected hosts and rotate AWS access keys and STS session tokens that may have been exposed.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
ex_aws is an Elixir client for AWS services, and the S3 operation module builds request addressing in ExAws.Operation.S3.add_bucket_to_path/2. With virtual_host: true, the function combines the bucket name and configured host to form the request hostname; with bucket_as_host: true, the bucket name is treated as the entire hostname. Because the bucket value is not validated, a value containing path or query separators or a full hostname can make the signed request target attacker.example instead of the S3 endpoint. The flaw is CWE-918 server-side request forgery; the CPE data identifies ex-aws:ex_aws across the affected range. The default virtual_host:false path only appends the bucket to the request path and is not vulnerable according to the vendor tests. The trigger requires the non-default virtual-host or bucket-as-host configuration plus attacker influence over the bucket name, which is not typical usage.
Know when Elixir gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N
A remotely supplied bucket name triggers it (AV:N) but only with non-default virtual_host config and attacker-controlled bucket name (AC:H); credential/signature/STS leak gives C:H and attacker-controlled response gives I:L.
Primary rating from Vendor (EEF).
CVSS VectorVendor: EEF
DescriptionCVE.org
Server-Side Request Forgery (SSRF) vulnerability in ex-aws ex_aws allows an attacker who controls an S3 bucket name to send the application's signed S3 requests to a host of their choice.
With virtual_host: true, ExAws.Operation.S3.add_bucket_to_path/2 in lib/ex_aws/operation/s3.ex builds the request hostname from the bucket name and the configured host without checking the bucket name. A bucket such as attacker.example/x? turns the request URL into https://attacker.example/x?.s3.amazonaws.com/key, so the request is signed for and sent to attacker.example. The attacker receives upload bodies, the access key id and request signature, and any STS session token, and controls the response the application parses. With bucket_as_host: true the bucket is the whole hostname, so any valid hostname redirects the request.
This issue affects ex_aws: from 2.1.7 before 2.8.0.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.
Unbounded recursion in the Elixir `protobuf` Hex package (versions >= 0.8.0, < 0.16.1) lets unauthenticated remote attac
Improper JWT signature verification in Dashbit's nimble_zta (0.1.2 up to but not including 0.1.3) lets an unauthenticate
Remote code execution in the Elixir Flop pagination library affects versions 0.8.0 through 0.26.6, 0.27.0 through 0.27.2
Session-swapping authentication bypass in the Elixir library AshAuthentication (versions 4.10.0 before 4.15.0 and 5.0.0-
Account takeover in AshAuthentication (Elixir/Ash) 4.14.0 through 4.14.x and 5.0.0-rc.10 through 5.0.0-rc.13 lets unauth
Authentication bypass in the Elixir library ash_authentication lets an attacker who operates one federated identity-prov
Server-Side Request Forgery protection bypass in the Elixir safeurl library (versions 0.1.0 and later) allows unauthenti
Arbitrary code execution in applications running the Elixir db_connection library 1.1.0 through 2.10.2 is possible when
Unauthenticated remote CPU exhaustion in mtrudel Bandit's HTTP/2 server (versions before 1.14.0) is achievable by holdin
Unbounded per-connection memory and CPU growth in the Elixir Bandit HTTP/2 server (0.3.6 up to 1.14.0) lets an unauthent
Unauthenticated remote denial of service in the Elixir HTTP server Bandit (mtrudel/bandit) from 0.1.0 before 1.14.0 lets
Unauthenticated remote attackers can consume disproportionate server CPU on Bandit (mtrudel/bandit, Elixir/Erlang) by se
EUVD-2026-133886
GHSA-j423-57w6-3m28
NVD
CVE.org
EPSS
Exploit-DB