Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain adjacent on-segment position
-
DeliverySpoof or answer link-local token request
-
ExploitReturn 3xx redirect to attacker host
-
Executionex_aws follows redirect, caches attacker body as token
-
ImpactPoisoned 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
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
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
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
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.
Primary rating from Vendor (EEF).
CVSS VectorVendor: EEF
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
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.
Apply vendor patch.
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-133844
GHSA-vx85-vcmw-ph24
NVD
CVE.org
EPSS
Exploit-DB