{"api_version":"1","generated_at":"2026-11-24T13:50:07+00:00","cve":"CVE-2026-59697","urls":{"html":"https://cve.report/CVE-2026-59697","api":"https://cve.report/api/cve/CVE-2026-59697.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-59697","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-59697"},"summary":{"title":"IMDSv2 metadata token request follows HTTP redirects in ex_aws","description":"Server-Side Request Forgery (SSRF) vulnerability in ex_aws (instance metadata token provider).\n\nThis 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.\n\nex_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.\n\nThis issue affects ex_aws: from 2.3.0 before 2.8.0.","state":"PUBLISHED","assigner":"EEF","published_at":"2026-11-24 12:17:24","updated_at":"2026-11-24 12:17:24"},"problem_types":["CWE-918","CWE-918 CWE-918 Server-Side Request Forgery"],"metrics":[{"version":"4.0","source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","type":"Secondary","score":"7.6","severity":"HIGH","vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","data":{"version":"4.0","vectorString":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","baseScore":7.6,"baseSeverity":"HIGH","attackVector":"ADJACENT","attackComplexity":"HIGH","attackRequirements":"PRESENT","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","exploitMaturity":"NOT_DEFINED","confidentialityRequirement":"NOT_DEFINED","integrityRequirement":"NOT_DEFINED","availabilityRequirement":"NOT_DEFINED","modifiedAttackVector":"NOT_DEFINED","modifiedAttackComplexity":"NOT_DEFINED","modifiedAttackRequirements":"NOT_DEFINED","modifiedPrivilegesRequired":"NOT_DEFINED","modifiedUserInteraction":"NOT_DEFINED","modifiedVulnConfidentialityImpact":"NOT_DEFINED","modifiedVulnIntegrityImpact":"NOT_DEFINED","modifiedVulnAvailabilityImpact":"NOT_DEFINED","modifiedSubConfidentialityImpact":"NOT_DEFINED","modifiedSubIntegrityImpact":"NOT_DEFINED","modifiedSubAvailabilityImpact":"NOT_DEFINED","Safety":"NOT_DEFINED","Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","valueDensity":"NOT_DEFINED","vulnerabilityResponseEffort":"NOT_DEFINED","providerUrgency":"NOT_DEFINED"}},{"version":"4.0","source":"CNA","type":"CVSS","score":"7.6","severity":"HIGH","vector":"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","data":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"HIGH","attackRequirements":"PRESENT","attackVector":"ADJACENT","baseScore":7.6,"baseSeverity":"HIGH","privilegesRequired":"NONE","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"NONE","valueDensity":"NOT_DEFINED","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"NONE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnerabilityResponseEffort":"NOT_DEFINED"}}],"references":[{"url":"https://github.com/ex-aws/ex_aws/security/advisories/GHSA-mww9-g5mj-j664","name":"https://github.com/ex-aws/ex_aws/security/advisories/GHSA-mww9-g5mj-j664","refsource":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-59697","name":"https://osv.dev/vulnerability/EEF-CVE-2026-59697","refsource":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://cna.erlef.org/cves/CVE-2026-59697.html","name":"https://cna.erlef.org/cves/CVE-2026-59697.html","refsource":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/ex-aws/ex_aws/commit/4d7923c16f613cc2bade2ed325d444bba0bc7234","name":"https://github.com/ex-aws/ex_aws/commit/4d7923c16f613cc2bade2ed325d444bba0bc7234","refsource":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/ex-aws/ex_aws/commit/9fcc3605c7a0ecf8e205a72c50de3ced72befed0","name":"https://github.com/ex-aws/ex_aws/commit/9fcc3605c7a0ecf8e205a72c50de3ced72befed0","refsource":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-59697","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59697","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"ex-aws","product":"ex_aws","version":"affected 2.3.0 2.8.0 semver","platforms":[]},{"source":"CNA","vendor":"ex-aws","product":"ex_aws","version":"affected 4d7923c16f613cc2bade2ed325d444bba0bc7234 9fcc3605c7a0ecf8e205a72c50de3ced72befed0 git","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[{"source":"CNA","value":"Peter Ullrich","lang":"en"},{"source":"CNA","value":"Peter Ullrich","lang":"en"},{"source":"CNA","value":"Jonatan Männchen / EEF","lang":"en"},{"source":"CNA","value":"Peter Ullrich","lang":"en"},{"source":"CNA","value":"Bernard Duggan","lang":"en"}],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"collectionURL":"https://repo.hex.pm","cpes":["cpe:2.3:a:ex-aws:ex_aws:*:*:*:*:*:*:*:*"],"defaultStatus":"unaffected","modules":["'Elixir.ExAws.InstanceMetaTokenProvider'"],"packageName":"ex_aws","packageURL":"pkg:hex/ex_aws","product":"ex_aws","programFiles":["lib/ex_aws/instance_meta_token_provider.ex"],"programRoutines":[{"name":"'Elixir.ExAws.InstanceMetaTokenProvider':request_token/1"},{"name":"'Elixir.ExAws.InstanceMetaTokenProvider':get/1"}],"repo":"https://github.com/ex-aws/ex_aws","vendor":"ex-aws","versions":[{"lessThan":"2.8.0","status":"affected","version":"2.3.0","versionType":"semver"}]},{"collectionURL":"https://github.com","cpes":["cpe:2.3:a:ex-aws:ex_aws:*:*:*:*:*:*:*:*"],"defaultStatus":"unaffected","modules":["'Elixir.ExAws.InstanceMetaTokenProvider'"],"packageName":"ex-aws/ex_aws","packageURL":"pkg:github/ex-aws/ex_aws","product":"ex_aws","programFiles":["lib/ex_aws/instance_meta_token_provider.ex"],"programRoutines":[{"name":"'Elixir.ExAws.InstanceMetaTokenProvider':request_token/1"},{"name":"'Elixir.ExAws.InstanceMetaTokenProvider':get/1"}],"repo":"https://github.com/ex-aws/ex_aws","vendor":"ex-aws","versions":[{"lessThan":"9fcc3605c7a0ecf8e205a72c50de3ced72befed0","status":"affected","version":"4d7923c16f613cc2bade2ed325d444bba0bc7234","versionType":"git"}]}],"configurations":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<p>The application must obtain its AWS credentials from the EC2 Instance Metadata Service (IMDSv2) through the ex_aws instance metadata token provider. Applications that source credentials by other means (for example environment variables or explicit configuration) do not reach the vulnerable code path.</p>"},{"base64":false,"type":"text/markdown","value":"The application must obtain its AWS credentials from the EC2 Instance Metadata Service (IMDSv2) through the ex_aws instance metadata token provider. Applications that source credentials by other means (for example environment variables or explicit configuration) do not reach the vulnerable code path."}],"value":"The application must obtain its AWS credentials from the EC2 Instance Metadata Service (IMDSv2) through the ex_aws instance metadata token provider. Applications that source credentials by other means (for example environment variables or explicit configuration) do not reach the vulnerable code path."}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:a:ex-aws:ex_aws:*:*:*:*:*:*:*:*","versionEndExcluding":"2.8.0","versionStartIncluding":"2.3.0","vulnerable":true}],"negate":false,"operator":"OR"}],"operator":"AND"}],"credits":[{"lang":"en","type":"finder","value":"Peter Ullrich"},{"lang":"en","type":"reporter","value":"Peter Ullrich"},{"lang":"en","type":"analyst","value":"Jonatan Männchen / EEF"},{"lang":"en","type":"coordinator","value":"Peter Ullrich"},{"lang":"en","type":"remediation developer","value":"Bernard Duggan"}],"datePublic":"2026-11-24T11:43:15.000Z","descriptions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<p>Server-Side Request Forgery (SSRF) vulnerability in ex_aws (instance metadata token provider).</p>\n<p>This vulnerability is associated with program files <code>lib/ex_aws/instance_meta_token_provider.ex</code> and program routines <code>ExAws.InstanceMetaTokenProvider.request_token/1</code> and <code>ExAws.InstanceMetaTokenProvider.get/1</code>.</p>\n<p>ex_aws requests its IMDSv2 session token from the link-local metadata endpoint (<code>http://169.254.169.254/latest/api/token</code>) 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 <code>x-aws-ec2-metadata-token</code> header on every subsequent metadata and credential request.</p>\n<p>This issue affects ex_aws: from 2.3.0 before 2.8.0.</p>"},{"base64":false,"type":"text/markdown","value":"Server-Side Request Forgery (SSRF) vulnerability in ex_aws (instance metadata token provider).\n\nThis 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`.\n\nex_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.\n\nThis issue affects ex_aws: from 2.3.0 before 2.8.0."}],"value":"Server-Side Request Forgery (SSRF) vulnerability in ex_aws (instance metadata token provider).\n\nThis 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.\n\nex_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.\n\nThis issue affects ex_aws: from 2.3.0 before 2.8.0."}],"impacts":[{"capecId":"CAPEC-664","descriptions":[{"lang":"en","value":"CAPEC-664 Server Side Request Forgery"}]}],"metrics":[{"cvssV4_0":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"HIGH","attackRequirements":"PRESENT","attackVector":"ADJACENT","baseScore":7.6,"baseSeverity":"HIGH","privilegesRequired":"NONE","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"NONE","valueDensity":"NOT_DEFINED","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"NONE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnerabilityResponseEffort":"NOT_DEFINED"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-918","description":"CWE-918 Server-Side Request Forgery","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-11-24T11:43:17.078Z","orgId":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","shortName":"EEF"},"references":[{"tags":["vendor-advisory","related"],"url":"https://github.com/ex-aws/ex_aws/security/advisories/GHSA-mww9-g5mj-j664"},{"name":"EEF CNA record for CVE-2026-59697","tags":["related"],"url":"https://cna.erlef.org/cves/CVE-2026-59697.html"},{"name":"OSV record EEF-CVE-2026-59697","tags":["related"],"url":"https://osv.dev/vulnerability/EEF-CVE-2026-59697"},{"name":"Introducing commit 4d7923c in ex-aws/ex_aws","tags":["related"],"url":"https://github.com/ex-aws/ex_aws/commit/4d7923c16f613cc2bade2ed325d444bba0bc7234"},{"name":"Fix commit 9fcc360 in ex-aws/ex_aws","tags":["patch"],"url":"https://github.com/ex-aws/ex_aws/commit/9fcc3605c7a0ecf8e205a72c50de3ced72befed0"}],"source":{"discovery":"EXTERNAL"},"title":"IMDSv2 metadata token request follows HTTP redirects in ex_aws","x_proofOfConcept":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<ol>\n<li>The attacker is positioned to answer requests the instance sends to <code>169.254.169.254</code>, for example as an on-segment neighbor spoofing the link-local address.</li>\n<li>The application obtains a metadata token through <code>ExAws.InstanceMetaTokenProvider.get/1</code>, which calls <code>request_token/1</code> and sends <code>PUT /latest/api/token</code> to the link-local endpoint.</li>\n<li>The attacker answers the <code>PUT</code> with <code>302</code> and a <code>Location</code> header pointing at a host they control.</li>\n<li>The HTTP client follows the redirect because ex_aws passed <code>follow_redirect: true</code>, and the attacker's host replies <code>200</code> with a chosen body such as <code>ATTACKER-CONTROLLED-SESSION-TOKEN</code>.</li>\n<li><code>get/1</code> returns that body as the IMDSv2 session token, and ex_aws caches it and sends it as <code>x-aws-ec2-metadata-token</code> on later metadata and credential requests.</li>\n</ol>"},{"base64":false,"type":"text/markdown","value":"1. The attacker is positioned to answer requests the instance sends to `169.254.169.254`, for example as an on-segment neighbor spoofing the link-local address.\n2. The application obtains a metadata token through `ExAws.InstanceMetaTokenProvider.get/1`, which calls `request_token/1` and sends `PUT /latest/api/token` to the link-local endpoint.\n3. The attacker answers the `PUT` with `302` and a `Location` header pointing at a host they control.\n4. The HTTP client follows the redirect because ex_aws passed `follow_redirect: true`, and the attacker's host replies `200` with a chosen body such as `ATTACKER-CONTROLLED-SESSION-TOKEN`.\n5. `get/1` returns that body as the IMDSv2 session token, and ex_aws caches it and sends it as `x-aws-ec2-metadata-token` on later metadata and credential requests."}],"value":"* The attacker is positioned to answer requests the instance sends to 169.254.169.254, for example as an on-segment neighbor spoofing the link-local address.\n* The application obtains a metadata token through ExAws.InstanceMetaTokenProvider.get/1, which calls request_token/1 and sends PUT /latest/api/token to the link-local endpoint.\n* The attacker answers the PUT with 302 and a Location header pointing at a host they control.\n* The HTTP client follows the redirect because ex_aws passed follow_redirect: true, and the attacker's host replies 200 with a chosen body such as ATTACKER-CONTROLLED-SESSION-TOKEN.\n* get/1 returns that body as the IMDSv2 session token, and ex_aws caches it and sends it as x-aws-ec2-metadata-token on later metadata and credential requests."}],"x_technicalAnalysis":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<p><strong>1. Token request.</strong> <code>ExAws.InstanceMetaTokenProvider.request_token/1</code> sends the IMDSv2 <code>PUT</code> to the hard-coded link-local endpoint <code>http://169.254.169.254/latest/api/token</code> with <code>follow_redirect: true</code> in its HTTP options. AWS advises against following redirects on metadata requests, and IMDSv2's \"PUT plus required header\" design is itself an SSRF mitigation.</p>\n<p><strong>2. Redirect following.</strong> Any <code>3xx</code> reply to the token request is followed by the HTTP client to whatever host its <code>Location</code> header names. Nothing restricts the redirect target to the link-local range, so the request can leave <code>169.254.169.254</code>.</p>\n<p><strong>3. Token acceptance.</strong> The body returned by the final URL is accepted verbatim as the session token, cached in ETS, and sent as the <code>x-aws-ec2-metadata-token</code> header on every later metadata and credential request the library makes. Whoever answers the redirect therefore chooses both where the token request ends up and which value is used as the token.</p>"},{"base64":false,"type":"text/markdown","value":"**1. Token request.** `ExAws.InstanceMetaTokenProvider.request_token/1` sends the IMDSv2 `PUT` to the hard-coded link-local endpoint `http://169.254.169.254/latest/api/token` with `follow_redirect: true` in its HTTP options. AWS advises against following redirects on metadata requests, and IMDSv2's \"PUT plus required header\" design is itself an SSRF mitigation.\n\n**2. Redirect following.** Any `3xx` reply to the token request is followed by the HTTP client to whatever host its `Location` header names. Nothing restricts the redirect target to the link-local range, so the request can leave `169.254.169.254`.\n\n**3. Token acceptance.** The body returned by the final URL is accepted verbatim as the session token, cached in ETS, and sent as the `x-aws-ec2-metadata-token` header on every later metadata and credential request the library makes. Whoever answers the redirect therefore chooses both where the token request ends up and which value is used as the token."}],"value":"1. Token request. ExAws.InstanceMetaTokenProvider.request_token/1 sends the IMDSv2 PUT to the hard-coded link-local endpoint http://169.254.169.254/latest/api/token with follow_redirect: true in its HTTP options. AWS advises against following redirects on metadata requests, and IMDSv2's \"PUT plus required header\" design is itself an SSRF mitigation.\n\n2. Redirect following. Any 3xx reply to the token request is followed by the HTTP client to whatever host its Location header names. Nothing restricts the redirect target to the link-local range, so the request can leave 169.254.169.254.\n\n3. Token acceptance. The body returned by the final URL is accepted verbatim as the session token, cached in ETS, and sent as the x-aws-ec2-metadata-token header on every later metadata and credential request the library makes. Whoever answers the redirect therefore chooses both where the token request ends up and which value is used as the token."}]}},"cveMetadata":{"assignerOrgId":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","assignerShortName":"EEF","cveId":"CVE-2026-59697","datePublished":"2026-11-24T11:43:17.078Z","dateReserved":"2026-07-06T14:05:47.003Z","dateUpdated":"2026-11-24T11:43:17.078Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-24 12:17:24","lastModifiedDate":"2026-11-24 12:17:24","problem_types":["CWE-918","CWE-918 CWE-918 Server-Side Request Forgery"],"metrics":{"cvssMetricV40":[{"source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","type":"Secondary","cvssData":{"version":"4.0","vectorString":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","baseScore":7.6,"baseSeverity":"HIGH","attackVector":"ADJACENT","attackComplexity":"HIGH","attackRequirements":"PRESENT","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","exploitMaturity":"NOT_DEFINED","confidentialityRequirement":"NOT_DEFINED","integrityRequirement":"NOT_DEFINED","availabilityRequirement":"NOT_DEFINED","modifiedAttackVector":"NOT_DEFINED","modifiedAttackComplexity":"NOT_DEFINED","modifiedAttackRequirements":"NOT_DEFINED","modifiedPrivilegesRequired":"NOT_DEFINED","modifiedUserInteraction":"NOT_DEFINED","modifiedVulnConfidentialityImpact":"NOT_DEFINED","modifiedVulnIntegrityImpact":"NOT_DEFINED","modifiedVulnAvailabilityImpact":"NOT_DEFINED","modifiedSubConfidentialityImpact":"NOT_DEFINED","modifiedSubIntegrityImpact":"NOT_DEFINED","modifiedSubAvailabilityImpact":"NOT_DEFINED","Safety":"NOT_DEFINED","Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","valueDensity":"NOT_DEFINED","vulnerabilityResponseEffort":"NOT_DEFINED","providerUrgency":"NOT_DEFINED"}}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"59697","Ordinal":"1","Title":"IMDSv2 metadata token request follows HTTP redirects in ex_aws","CVE":"CVE-2026-59697","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"59697","Ordinal":"1","NoteData":"Server-Side Request Forgery (SSRF) vulnerability in ex_aws (instance metadata token provider).\n\nThis 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.\n\nex_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.\n\nThis issue affects ex_aws: from 2.3.0 before 2.8.0.","Type":"Description","Title":"IMDSv2 metadata token request follows HTTP redirects in ex_aws"}]}}}