CVE-2026-59697IMDSv2 metadata token request follows HTTP redirects in ex_aws
A high-severity vulnerability reachable from an adjacent network, needing no privileges and no user interaction. EPSS estimates a 0.3% chance of exploitation in the next 30 days. A fixed version is named.
- Exploited in the wild
- Not in KEV
- EPSS
- 0.3%
- percentile 17%
- Fix
- Named by a source
- CVE published 24 Nov 2026
Reference
None of the "Needs attention" rules apply right now.
EPSS 0.3% (+0) · Adjacent-network attack vector (+5) · No privileges required (+5) · No user interaction (+5) · CVSS 7.6: at least medium
Immediate actions
- ex_aws (Hex): upgrade to 2.8.0 or later on your release line.
- Patch: https://github.com/ex-aws/ex_aws/commit/9fcc3605c7a0ecf8e205a72c50de3ced72befed0
- Commit / pull request: https://github.com/ex-aws/ex_aws/commit/4d7923c16f613cc2bade2ed325d444bba0bc7234
- Advisory: https://github.com/ex-aws/ex_aws/security/advisories/GHSA-mww9-g5mj-j664
Who should check
ex_aws (Hex) pkg:hex/ex_aws
- Affected>= 2.3.0, < 2.8.0Fixed in2.8.0OSV (EEF-CVE-2026-59697)
ex-aws ex_aws product:exaws/exaws
- Affected>= 2.3.0, < 2.8.0Affected range ends before2.8.0as published by CNA (CVE List)
Products (not packages) are shown as their sources publish them. We check no product version against these ranges; a fixed version is the one the source names. Ask the vendor's advisory.
Confirmed facts
- CVSS
- 7.6 HIGH (version 4.0)
- Score from
- CNA (6b3ad84c-e1a6-4bf7-a703-f496b71e49db)
- Attack vector
- adjacent network
- Attack complexity
- high
- Privileges required
- none
- User interaction
- none
- Weakness
- CWE-918
- Assigned by
- 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
Unknowns
- We show one CVSS score. Other sources may score this CVE differently.
- NVD status: Awaiting Analysis. NVD has not analysed it yet.
Advisory text
Quoted from the source advisory (untrusted)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.
Update history
- 24 Nov 2026Published
References
- otherhttps://cna.erlef.org/cves/CVE-2026-59697.html
- commit / pull requesthttps://github.com/ex-aws/ex_aws/commit/4d7923c16f613cc2bade2ed325d444bba0bc7234
- patchhttps://github.com/ex-aws/ex_aws/commit/9fcc3605c7a0ecf8e205a72c50de3ced72befed0
- advisoryhttps://github.com/ex-aws/ex_aws/security/advisories/GHSA-mww9-g5mj-j664
- otherhttps://osv.dev/vulnerability/EEF-CVE-2026-59697
- otherhttps://hex.pm/packages/ex_aws
Sources
- EPSS by FIRST.org, Free to use, attribution requested. Scores generated by Empirical Security.
- CVE-2026-59697 (CVE List (CNA and CISA ADP data, through the NVD API)), CVE terms of use. Copyright The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation.
- NVD API 2.0 (NIST), the API we query, NVD API terms of use. This product uses the NVD API but is not endorsed or certified by the NVD.
- EEF-CVE-2026-59697 (Erlang Ecosystem Foundation CNA), CC BY 4.0.
- OSV.dev, Per database.
This page is our own presentation: records are shortened, normalised and merged. Licences
Last checked: kev 70 min ago · osv 56 min ago · nvd 89 min ago · epss 56 min ago · JSON · ask via MCP: explain_vulnerability
Also known as EEF-CVE-2026-59697, GHSA-mww9-g5mj-j664