Server-Side Request Forgery (SSRF) vulnerability in exaws (instance metadata token provider).
CVE-2026-59697
Server-Side Request Forgery (SSRF) vulnerability in exaws (instance metadata token provider). This vulnerability is associated with program files lib/exaws/instancemetatokenprovider.ex and program routines ExAws.InstanceMetaTokenProvider.requesttoken/1 and ExAws.InstanceMetaTokenProvider.get/1. exaws 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 exaws: from 2.3.0 before 2.8.0.
Assessment
- CVSS
- 7.6 (v4.0)
- Severity
- High
- Known exploited
- Not listed in CISA KEV
- Exploit availability
- Nothing found in Exploit-DB, Metasploit, Nuclei or public PoC repositories
- Published
- 24 November 2026
- Last updated
- 24 November 2026
- Assigner
- EEF
CVSS vectorCVSS:4.0/AV:A/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
At the source
References
- https://github.com/ex-aws/ex_aws/security/advisories/GHSA-mww9-g5mj-j664
- https://cna.erlef.org/cves/CVE-2026-59697.html
- https://osv.dev/vulnerability/EEF-CVE-2026-59697
- https://github.com/ex-aws/ex_aws/commit/4d7923c16f613cc2bade2ed325d444bba0bc7234
- https://github.com/ex-aws/ex_aws/commit/9fcc3605c7a0ecf8e205a72c50de3ced72befed0
- https://nvd.nist.gov/vuln/detail/CVE-2026-59697
Community proofs of concept
No community proof of concept yet. If you have one for a published vulnerability and the right to share it, add it below — it will appear here once reviewed.
Submit a proof of concept
Only for publicly disclosed vulnerabilities, and only material from testing you were authorised to perform. This platform does not buy, sell, or broker exploits — see earning from vulnerability research for legitimate bounty programs. Submissions are reviewed before they appear. Text only; do not include live credentials, personal data, or anything targeting systems you are not permitted to test.
Query this programmatically
Agents can read this through the MCP endpoint, or over HTTP:
curl https://cve.zerocrew.in/api/cve/CVE-2026-59697