Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSupply attacker-controlled bucket name to app
-
ExploitLibrary builds presigned URL/POST for attacker host
-
ExecutionVictim client uses the presigned URL
-
ImpactFiles and AWS access key id sent to attacker
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V4 - API and Web Service External resource reference control
|
| Exploitation Conditions | Exploitation requires the application to enable one of the non-default options virtual_host: true, s3_accelerate: true, or bucket_as_host: true, so that ExAws.S3.presigned_url/5 or presigned_post/4 constructs the URL host directly from the bucket name. The attacker must additionally control or influence that bucket name (e.g. 'attacker.example/x?'); with bucket_as_host: true any valid hostname is accepted as the bucket. Finally a victim client must actually use the resulting presigned URL or POST form. Limiting factors: these config flags are off by default; the attack is infeasible where bucket names are hardcoded by operators; victim interaction (using the URL) is required; and it affects only versions 2.0.0 through 2.5.x - updating to 2.6.0 is the vendor fix. |
| Impact | This is a medium-severity information-disclosure/cross-sphere redirect flaw (CWE-610), scored 5.8 by the erlef CNA using a CVSS 4.0 vector (AV:L/AC:L/AT:P/PR:N/UI:P/VC:H/VI:L/VA:N). The vuln.today priority is 'this_month' - not act_now or emergency - which fits the signal picture: no CISA KEV listing, no EPSS probability supplied in the input, and no public exploit identified at time of analysis (the only code references are the vendor's own patch commits, not weaponized PoC). Real-world risk is gated by two stacked preconditions: a non-default configuration (virtual_host, s3_accelerate, or bucket_as_host) must be enabled, AND an attacker must be able to influence the bucket name passed to the presigned functions, AND a victim must then use the generated URL. Where bucket names are hardcoded by operators this is effectively not exploitable; where they derive from untrusted/multi-tenant input it becomes a genuine credential-and-data leak. Note the tension in the exploitability signals: the input vector uses AV:L (implying a local/config-supplied bucket name), yet the described impact - presigned URLs handed to remote clients that then upload/download - is network-facing; treat attack vector as configuration-dependent and verify against how your application sources bucket names. EPSS is absent from the input, so quantitative exploitation likelihood could not be weighed. Overall: a real but conditional priority, correctly below emergency. |
| Exploit ScenarioDerived | A multi-tenant Elixir/Phoenix application built on ex_aws_s3 enables bucket_as_host (or virtual_host/s3_accelerate) and lets a user-influenced value become the S3 bucket name. An attacker supplies a crafted bucket such as 'attacker.example/x?', so ExAws.S3.presigned_url/5 or presigned_post/4 produces a signed URL pointing at attacker.example; victims given that URL upload their files to - or fetch content from - the attacker's host, and every URL also discloses the AWS access key id. No public exploit code was identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 24, 2026
Presigned URL and presigned POST generation in the Elixir library ex_aws_s3 (2.0.0 through 2.5.x) can be redirected to an attacker-chosen host because the bucket name is interpolated into the URL host without validation. When an application enables virtual_host: true, s3_accelerate: true or bucket_as_host: true and an attacker can influence the bucket name (for example 'attacker.example/x?'), the resulting presigned link resolves to https://attacker.example/... and the signature is computed for that host, so clients that follow the link send uploads or downloads, and the embedded access key id, to the attacker. The flaw is CWE-610 (externally controlled reference to a resource in another sphere), scored 5.8 by the erlef CNA and medium severity in independent assessment; exploitation requires non-default options plus a victim actually using the generated link, and no public exploit was identified at time of analysis. Version 2.6.0 is the vendor fix.
RemediationAI
Vendor-released patch: upgrade ex_aws_s3 to 2.6.0 (add {:ex_aws_s3, "~> 2.6.0"} to mix.exs and run mix deps.update ex_aws_s3); the fix is carried by the upstream commits https://github.com/ex-aws/ex_aws_s3/commit/ea26e8b43785f3ff1f14d6b22d8069fc06a58e55 and https://github.com/ex-aws/ex_aws_s3/commit/4ce4d72219c0cb8de9356278203d8ea780311b75, documented in advisory https://github.com/ex-aws/ex_aws_s3/security/advisories/GHSA-p62r-cgcg-9fm7. Until the upgrade is deployed, keep virtual_host, s3_accelerate and bucket_as_host disabled in all presigning code paths and reject any bucket name that is not a hardcoded or strictly validated S3 bucket identifier, since an unvalidated hostname reaching those options is the precondition for the redirect; the trade-off is that presigned URLs for accelerate endpoints or virtual-hosted-style addressing must be generated without those options, which may change the request hostname and requires verifying that the consumer still resolves the link correctly. Because a leaked presigned URL also exposes the access key id, rotate any signing credentials that may have been issued through URLs generated with unvalidated bucket names and review S3 access logs for uploads or downloads against unexpected hosts.
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_s3 is the Elixir (Hex) S3 client used alongside the ex_aws library, and ExAws.S3.presigned_url/5 and ExAws.S3.presigned_post/4 build time-limited, signature-bearing URLs so that third parties can upload or download objects without AWS credentials. The involved addressing modes are virtual-hosted-style requests (virtual_host: true), S3 Transfer Acceleration hostnames (s3_accelerate: true) and bucket_as_host: true, where the bucket name is placed directly into the URL host component. Because the host string is assembled from the caller-supplied bucket name without validation, a crafted value such as 'attacker.example/x?' yields a URL whose authority becomes attacker.example and whose signature is computed over that host, matching the CWE-610 pattern of referencing a resource in a sphere the controlling application does not own; with bucket_as_host: true any syntactically valid hostname is accepted. The consequence is twofold: a client that consumes the presigned URL or POST form delivers its payload to the attacker, and the URL itself discloses the access key id used to sign it. The trigger and the exact code path are described in the upstream security advisory GHSA-p62r-cgcg-9fm7 and addressed by the referenced commits; the flaw only manifests in the affected addressing configurations, and the independent assessment notes these options are not enabled by default.
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:P/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N
Requires non-default host config (AC:H) and a victim using the URL (UI:R); attacker supplies a bucket name without account privileges (PR:N); the redirect crosses spheres (S:C) and leaks the access key id (C:H).
Primary rating from Vendor (EEF).
CVSS VectorVendor: EEF
DescriptionCVE.org
Externally Controlled Reference to a Resource in Another Sphere vulnerability in ex-aws ex_aws_s3 allows an attacker who controls an S3 bucket name to make presigned URLs and presigned POST forms point at a host of their choice.
With virtual_host: true, s3_accelerate: true or bucket_as_host: true, ExAws.S3.presigned_url/5 and ExAws.S3.presigned_post/4 build the URL from the bucket name without checking it. A bucket such as attacker.example/x? turns the URL into https://attacker.example/x?.s3.amazonaws.com..., and the signature is computed for that host. Clients given the URL upload their files to, or download content from, the attacker's host, and every such URL discloses the access key id. With bucket_as_host: true any valid hostname works as the bucket name.
This issue affects ex_aws_s3: from 2.0.0 before 2.6.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
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Unbounded recursion in the Elixir `protobuf` Hex package (versions >= 0.8.0, < 0.16.1) lets unauthenticated remote attac
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
Improper JWT signature verification in Dashbit's nimble_zta (0.1.2 up to but not including 0.1.3) lets an unauthenticate
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-133981
GHSA-3689-943w-8vcg
NVD
CVE.org
EPSS
VulDB
Exploit-DB