Skip to main content

ex_aws EUVDEUVD-2026-133844

| CVE-2026-59697 HIGH
Server-Side Request Forgery (SSRF) (CWE-918)
2026-11-24 EEF GHSA-vx85-vcmw-ph24
7.6
CVSS 4.0 · Vendor: EEF
View

Attack ChainAIDerived

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

  1. Access
    Gain adjacent on-segment position
  2. Delivery
    Spoof or answer link-local token request
  3. Exploit
    Return 3xx redirect to attacker host
  4. Execution
    ex_aws follows redirect, caches attacker body as token
  5. Impact
    Poisoned token sent on all metadata/credential calls

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: (1) a running affected version of ex_aws between 2.3.0 and 2.7.x using the IMDSv2 token path that calls request_token/1 with follow_redirect: true; (2) an attacker positioned on the same (adjacent) network segment as the instance - this is NOT internet-reachable; and (3) the attacker's ability to answer or spoof the link-local 169.254.169.254 token request with a 3xx redirect to an arbitrary host, which per the CVSS AC:H/AT:P metrics involves winning a spoof/race against the legitimate metadata service. Limiting factors that reduce real-world risk: the adjacency requirement (AV:A) excludes remote internet attackers, the high complexity and attack requirement make reliable exploitation non-trivial, and only deployments actually using ex_aws to fetch IMDSv2 tokens are affected. Updating to 2.8.0 is the vendor's fix as indicated by the patch commits.

Impact

This is a genuine but conditionally-exploitable integrity/confidentiality flaw rather than a drop-everything emergency. The CVSS 4.0 vector (AV:A/AC:H/AT:P/PR:N/UI:N, score 7.6) is internally consistent with the mechanism shown in the source diff: exploitation needs an adjacent network position (AV:A - not internet-reachable), no authentication (PR:N), but high attack complexity plus a specific attack requirement (AC:H/AT:P) because the attacker must answer or spoof the link-local 169.254.169.254 metadata request, which in practice means out-racing or impersonating the real IMDS endpoint. The vuln.today decision label is 'this_week', consistent with a serious-but-not-automatable issue. No EPSS score, no CISA KEV listing, and no public exploit were provided; the two GitHub commits in the references are the fix, not proof-of-concept code. The signals are therefore aligned rather than conflicting: a real high-severity bug gated by an adjacency precondition, warranting prompt patching but not the urgency of a remotely-automatable unauthenticated RCE. Missing data to note explicitly: no EPSS and no KEV status were supplied, so widespread-versus-targeted exploitation likelihood cannot be quantified from the input.

Exploit ScenarioDerived

An attacker already present on the same network segment as a vulnerable EC2 instance (for example a compromised neighboring workload or a malicious on-segment host) answers or spoofs the instance's IMDSv2 token request to 169.254.169.254 with a 3xx redirect pointing to an attacker-controlled host. Because ex_aws follows the redirect and accepts the arbitrary host's response body as the session token, the attacker poisons the cached x-aws-ec2-metadata-token value, which is then attached to every subsequent metadata and credential request. No public exploit was identified at time of analysis; the attack requires winning a spoof/race against the legitimate metadata endpoint.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Nov 24, 2026

ExAws, the Elixir AWS SDK, requests its IMDSv2 session token from the link-local metadata endpoint with redirect following enabled, so an attacker who can answer that request with a 3xx redirect can substitute an arbitrary host's response body as the session token. The poisoned token is cached by ExAws.InstanceMetaTokenProvider and then sent as the x-aws-ec2-metadata-token header on every later metadata and credential call, giving the attacker a foothold over instance metadata and credential retrieval. Versions 2.3.0 through 2.7.x are affected and the vendor has released 2.8.0 as the fix; exploitation requires an attacker positioned on the same adjacent network segment as the instance (not internet-reachable) and involves winning a spoof/race against the legitimate metadata service, and there is no confirmed active exploitation or public exploit code identified at time of analysis.

RemediationAI

Vendor-released patch: 2.8.0 - upgrade ex_aws from the 2.3.0-2.7.x range to 2.8.0, per the vendor advisory https://github.com/ex-aws/ex_aws/security/advisories/GHSA-mww9-g5mj-j664 and the fix commit https://github.com/ex-aws/ex_aws/commit/9fcc3605c7a0ecf8e205a72c50de3ced72befed0. No vendor-documented workaround is listed in the available references; the vendor's position is that updating is the fix. Because the flaw's precondition is an attacker on the same adjacent network segment who can spoof the link-local 169.254.169.254 response, instances that cannot be upgraded promptly are only reachable by an on-segment adversary, so tightening trust boundaries on that segment is the relevant exposure-reduction measure while the upgrade is scheduled.

Affected VersionsENISA

ex_aws 2.3.0 <2.8.0
ex_aws 4d7923c16f613cc2bade2ed325d444bba0bc7234 <9fcc3605c7a0ecf8e205a72c50de3ced72befed0

Affected Packages

euvd ex_aws fix: 2.8.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

CWE-918 (Server-Side Request Forgery) in the Elixir ex_aws library's IMDSv2 support. ExAws.InstanceMetaTokenProvider.request_token/1 issues a PUT to http://169.254.169.254/latest/api/token with follow_redirect: true and no restriction of the redirect target to the link-local 169.254.0.0/16 range. Nothing in the code path validates where a 3xx Location points, so the HTTP client will chase it to any host the responder names. The resulting body is stored in a named ETS table (:aws_metadata_token), served by ExAws.InstanceMetaTokenProvider.get/1, and injected via get_headers/1 into ExAws.InstanceMeta as the x-aws-ec2-metadata-token header, so a single hijacked token request propagates to all subsequent IMDS calls including credential retrieval. The GenServer caches the token for roughly six hours (refresh scheduled about five minutes before the assumed TTL), which means a successfully substituted token persists well beyond the moment of the spoof. The affected API surface is the IMDSv2 token path introduced in 2.3.0 (visible in commit 4d7923c16f613cc2bade2ed325d444bba0bc7234); the assessed vector CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N reflects that the prerequisite is adjacency plus a successful spoof/race against the real metadata endpoint, with high confidentiality and integrity impact and no availability impact.

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 7.6 HIGH
CVSS:4.0/AV:A/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
vuln.today AI 6.8 MEDIUM

Adjacent on-segment spoofing only (AV:A), success requires winning a spoof/race so AC:H, no authentication (PR:N), and the session token's confidentiality and integrity are compromised (C:H/I:H) with no availability impact.

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

Primary rating from Vendor (EEF).

CVSS VectorVendor: EEF

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

DescriptionCVE.org

Server-Side Request Forgery (SSRF) vulnerability in ex_aws (instance metadata token provider).

This vulnerability is associated with program files lib/ex_aws/instance_meta_token_provider.ex and program routines ExAws.InstanceMetaTokenProvider.request_token/1 and ExAws.InstanceMetaTokenProvider.get/1.

ex_aws requests its IMDSv2 session token from the link-local metadata endpoint (http://169.254.169.254/latest/api/token) with HTTP redirect following enabled. Because the token request follows 3xx redirects and does not restrict the redirect target to the link-local range, an attacker who can influence the response to the metadata request (for example an on-segment neighbor spoofing the link-local address) can answer with a redirect to an arbitrary host. The library follows the redirect and accepts the arbitrary host's response body as the IMDSv2 session token, caching it and sending it as the x-aws-ec2-metadata-token header on every subsequent metadata and credential request.

This issue affects ex_aws: from 2.3.0 before 2.8.0.

Technical POC Analysis

CWE-918 (Server-Side Request Forgery).

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

A high-severity vulnerability in the ExAws Elixir AWS SDK (versions 2.3.0-2.7.x) allows an attacker on the same adjacent network segment to poison the IMDSv2 session token and gain access to instance metadata and credentials, potentially compromising AWS resources. Leadership should care because this could lead to unauthorized access to sensitive cloud credentials and data, impacting applications relying on this SDK and requiring immediate remediation to protect the organization's cloud environment.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.3%
Top 83% exploitable
Prevalence
Low
de facto AWS client for Elixir, but a niche language ecosystem
Data Quality
5 sources
Confidence: Medium

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 HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
Scheduled
Exploitation· derived
None
System Exposure· derived
Controlled
Automatable· derived
No
Human Impact
High

Priority Score

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

Attack Technique

Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.

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