Server-side request forgeryin ex-aws ex_aws.
No public exploit found; not on exploited lists.
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.
- Upgrade ex_aws to 2.8.0, 9fcc3605c7a0ecf8e205a72c50de3ced72befed0 or later, whichever matches your release line.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 6 Jul 2026CVE ID reserved by EEF.
- 24 Nov 2026Published in the CVE List.
- 1 Dec 2026CVE record last updated.
Attack code anyone can find
Exploit maturity: No public exploit found. CISA assessment (SSVC): exploitation none.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Nothing on this page links to exploit code right now. To report anything else, write to the contact point in the legal notice.
Other ex_aws vulnerabilities
Same weakness: Server-side request forgery
- github.com vendor-advisory, related
- cna.erlef.org related
- osv.dev related
- github.com related
- github.com patch
Patchminder. CVE-2026-59697: Server-side request forgery in ex-aws ex_aws. https://patchminder.com/cve/cve-2026-59697/ (accessed 5 December 2026).