Skip to main content

ExAws.S3 EUVDEUVD-2026-133981

| CVE-2026-63582 MEDIUM
Externally Controlled Reference to a Resource in Another Sphere (CWE-610)
2026-11-24 EEF GHSA-3689-943w-8vcg
5.8
CVSS 4.0 · Vendor: EEF
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Supply attacker-controlled bucket name to app
  2. Exploit
    Library builds presigned URL/POST for attacker host
  3. Execution
    Victim client uses the presigned URL
  4. Impact
    Files 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

ex_aws_s3 2.0.0 <2.6.0
ex_aws_s3 4ce4d72219c0cb8de9356278203d8ea780311b75 <ea26e8b43785f3ff1f14d6b22d8069fc06a58e55

Affected Packages

euvd ex_aws_s3 fix: 2.6.0

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

Vendor (EEF) PRIMARY 5.8 MEDIUM
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
vuln.today AI 6.9 MEDIUM

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).

3.1 AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:L/A:N
4.0 AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (EEF).

CVSS VectorVendor: EEF

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

EPSS Score
0.2%
Top 92% exploitable
Prevalence
Low
de facto Elixir S3 client, but Elixir is a niche ecosystem
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

29
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +29
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

More in Elixir

View all
CVE-2026-54451 HIGH POC
8.2 Jul 15

Unbounded recursion in the Elixir `protobuf` Hex package (versions >= 0.8.0, < 0.16.1) lets unauthenticated remote attac

CVE-2026-130411 CRITICAL
9.2 Nov 24

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

CVE-2026-91187 CRITICAL
9.3 Sep 24

Improper JWT signature verification in Dashbit's nimble_zta (0.1.2 up to but not including 0.1.3) lets an unauthenticate

CVE-2026-76949 CRITICAL
9.1 Sep 17

Session-swapping authentication bypass in the Elixir library AshAuthentication (versions 4.10.0 before 4.15.0 and 5.0.0-

CVE-2026-88952 CRITICAL
9.1 Sep 17

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

CVE-2026-91039 CRITICAL
9.1 Sep 17

Authentication bypass in the Elixir library ash_authentication lets an attacker who operates one federated identity-prov

CVE-2026-77866 CRITICAL
9.0 Sep 15

Server-Side Request Forgery protection bypass in the Elixir safeurl library (versions 0.1.0 and later) allows unauthenti

CVE-2026-133555 HIGH
8.9 Nov 24

Arbitrary code execution in applications running the Elixir db_connection library 1.1.0 through 2.10.2 is possible when

CVE-2026-108529 HIGH
8.7 Oct 26

Unauthenticated remote CPU exhaustion in mtrudel Bandit's HTTP/2 server (versions before 1.14.0) is achievable by holdin

CVE-2026-110499 HIGH
8.7 Oct 26

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

CVE-2026-111101 HIGH
8.7 Oct 26

Unauthenticated remote denial of service in the Elixir HTTP server Bandit (mtrudel/bandit) from 0.1.0 before 1.14.0 lets

CVE-2026-113436 HIGH
8.7 Oct 26

Unauthenticated remote attackers can consume disproportionate server CPU on Bandit (mtrudel/bandit, Elixir/Erlang) by se

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy