{"containers":{"cna":{"affected":[{"collectionURL":"https://repo.hex.pm","cpes":["cpe:2.3:a:ex-aws:ex_aws_ses:*:*:*:*:*:*:*:*"],"defaultStatus":"unaffected","modules":["'Elixir.ExAws.SES'"],"packageName":"ex_aws_ses","packageURL":"pkg:hex/ex_aws_ses","product":"ex_aws_ses","programFiles":["lib/ex_aws/ses.ex"],"programRoutines":[{"name":"'Elixir.ExAws.SES':delete_contact_list/1"},{"name":"'Elixir.ExAws.SES':get_contact_list/1"},{"name":"'Elixir.ExAws.SES':update_contact_list/2"},{"name":"'Elixir.ExAws.SES':create_contact/3"},{"name":"'Elixir.ExAws.SES':get_contact/2"},{"name":"'Elixir.ExAws.SES':update_contact/3"},{"name":"'Elixir.ExAws.SES':delete_contact/2"},{"name":"'Elixir.ExAws.SES':list_contacts/1"}],"repo":"https://github.com/ex-aws/ex_aws_ses","vendor":"ex-aws","versions":[{"lessThan":"2.5.0","status":"affected","version":"2.3.0","versionType":"semver"}]},{"collectionURL":"https://github.com","cpes":["cpe:2.3:a:ex-aws:ex_aws_ses:*:*:*:*:*:*:*:*"],"defaultStatus":"unaffected","modules":["'Elixir.ExAws.SES'"],"packageName":"ex-aws/ex_aws_ses","packageURL":"pkg:github/ex-aws/ex_aws_ses","product":"ex_aws_ses","programFiles":["lib/ex_aws/ses.ex"],"programRoutines":[{"name":"'Elixir.ExAws.SES':delete_contact_list/1"},{"name":"'Elixir.ExAws.SES':get_contact_list/1"},{"name":"'Elixir.ExAws.SES':update_contact_list/2"},{"name":"'Elixir.ExAws.SES':create_contact/3"},{"name":"'Elixir.ExAws.SES':get_contact/2"},{"name":"'Elixir.ExAws.SES':update_contact/3"},{"name":"'Elixir.ExAws.SES':delete_contact/2"},{"name":"'Elixir.ExAws.SES':list_contacts/1"}],"repo":"https://github.com/ex-aws/ex_aws_ses","vendor":"ex-aws","versions":[{"lessThan":"05c580a8d17da33535d55a45e4cd2430e88e62cf","status":"affected","version":"ac7f97fa93c82e30868634735649027b2b968607","versionType":"git"}]}],"configurations":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<p>The application must pass externally-influenced input (such as an HTTP parameter, a queue message, or a tenant record) as the <code>list_name</code> argument to one of the affected <code>ExAws.SES</code> V2 contact-list or contact functions. Applications that only use hardcoded or strictly validated list names are not affected.</p>"},{"base64":false,"type":"text/markdown","value":"The application must pass externally-influenced input (such as an HTTP parameter, a queue message, or a tenant record) as the `list_name` argument to one of the affected `ExAws.SES` V2 contact-list or contact functions. Applications that only use hardcoded or strictly validated list names are not affected."}],"value":"The application must pass externally-influenced input (such as an HTTP parameter, a queue message, or a tenant record) as the list_name argument to one of the affected ExAws.SES V2 contact-list or contact functions. Applications that only use hardcoded or strictly validated list names are not affected."}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:a:ex-aws:ex_aws_ses:*:*:*:*:*:*:*:*","versionEndExcluding":"2.5.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-24T14:21:00.000Z","descriptions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<p>Improper Encoding or Escaping of Output vulnerability in ex-aws ex_aws_ses (<code>ExAws.SES</code> module) allows path injection into Amazon SES V2 request URLs.</p>\n<p>This vulnerability is associated with program file <code>lib/ex_aws/ses.ex</code> and program routines <code>ExAws.SES.delete_contact_list/1</code>, <code>ExAws.SES.get_contact_list/1</code>, <code>ExAws.SES.update_contact_list/2</code>, <code>ExAws.SES.create_contact/3</code>, <code>ExAws.SES.get_contact/2</code>, <code>ExAws.SES.update_contact/3</code>, <code>ExAws.SES.delete_contact/2</code> and <code>ExAws.SES.list_contacts/1</code>.</p>\n<p>The V2 contact-list and contact functions interpolate the caller-supplied <code>list_name</code> into the request path without URI-encoding it, unlike the email address in the same functions which is passed through <code>ExAws.Request.Url.uri_encode/1</code>. An application that forwards untrusted input as a contact-list name lets an attacker embed <code>/</code>, <code>..</code> or <code>?</code> to escape the intended <code>contact-lists/&lt;name&gt;</code> path segment. A value such as <code>x/../suppression/addresses/victim%40example.com</code> makes a <code>delete_contact_list/1</code> call arrive at the account-wide suppression list. The request is still signed with the application's own AWS credentials and sent to the configured SES host, so the impact is cross-resource request forgery inside the caller's own AWS account, not arbitrary SSRF. Applications that only use hardcoded or strictly validated list names are not affected.</p>\n<p>This issue affects ex_aws_ses: from 2.3.0 before 2.5.0.</p>"},{"base64":false,"type":"text/markdown","value":"Improper Encoding or Escaping of Output vulnerability in ex-aws ex_aws_ses (`ExAws.SES` module) allows path injection into Amazon SES V2 request URLs.\n\nThis vulnerability is associated with program file `lib/ex_aws/ses.ex` and program routines `ExAws.SES.delete_contact_list/1`, `ExAws.SES.get_contact_list/1`, `ExAws.SES.update_contact_list/2`, `ExAws.SES.create_contact/3`, `ExAws.SES.get_contact/2`, `ExAws.SES.update_contact/3`, `ExAws.SES.delete_contact/2` and `ExAws.SES.list_contacts/1`.\n\nThe V2 contact-list and contact functions interpolate the caller-supplied `list_name` into the request path without URI-encoding it, unlike the email address in the same functions which is passed through `ExAws.Request.Url.uri_encode/1`. An application that forwards untrusted input as a contact-list name lets an attacker embed `/`, `..` or `?` to escape the intended `contact-lists/<name>` path segment. A value such as `x/../suppression/addresses/victim%40example.com` makes a `delete_contact_list/1` call arrive at the account-wide suppression list. The request is still signed with the application's own AWS credentials and sent to the configured SES host, so the impact is cross-resource request forgery inside the caller's own AWS account, not arbitrary SSRF. Applications that only use hardcoded or strictly validated list names are not affected.\n\nThis issue affects ex_aws_ses: from 2.3.0 before 2.5.0."}],"value":"Improper Encoding or Escaping of Output vulnerability in ex-aws ex_aws_ses (ExAws.SES module) allows path injection into Amazon SES V2 request URLs.\n\nThis vulnerability is associated with program file lib/ex_aws/ses.ex and program routines ExAws.SES.delete_contact_list/1, ExAws.SES.get_contact_list/1, ExAws.SES.update_contact_list/2, ExAws.SES.create_contact/3, ExAws.SES.get_contact/2, ExAws.SES.update_contact/3, ExAws.SES.delete_contact/2 and ExAws.SES.list_contacts/1.\n\nThe V2 contact-list and contact functions interpolate the caller-supplied list_name into the request path without URI-encoding it, unlike the email address in the same functions which is passed through ExAws.Request.Url.uri_encode/1. An application that forwards untrusted input as a contact-list name lets an attacker embed /, .. or ? to escape the intended contact-lists/<name> path segment. A value such as x/../suppression/addresses/victim%40example.com makes a delete_contact_list/1 call arrive at the account-wide suppression list. The request is still signed with the application's own AWS credentials and sent to the configured SES host, so the impact is cross-resource request forgery inside the caller's own AWS account, not arbitrary SSRF. Applications that only use hardcoded or strictly validated list names are not affected.\n\nThis issue affects ex_aws_ses: from 2.3.0 before 2.5.0."}],"impacts":[{"capecId":"CAPEC-64","descriptions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<p>An attacker who controls a contact-list name, or an email address passed to the V2 contact functions, can redirect an authenticated, SigV4-signed SES request to a different resource in the account, causing unintended reads, modifications or deletions (for example manipulating the account-wide suppression list) while the application believes it is operating only on the named contact list or contact. Applications that only use hardcoded or strictly validated values for these arguments are not affected.</p>"},{"base64":false,"type":"text/markdown","value":"An attacker who controls a contact-list name, or an email address passed to the V2 contact functions, can redirect an authenticated, SigV4-signed SES request to a different resource in the account, causing unintended reads, modifications or deletions (for example manipulating the account-wide suppression list) while the application believes it is operating only on the named contact list or contact. Applications that only use hardcoded or strictly validated values for these arguments are not affected."}],"value":"An attacker who controls a contact-list name, or an email address passed to the V2 contact functions, can redirect an authenticated, SigV4-signed SES request to a different resource in the account, causing unintended reads, modifications or deletions (for example manipulating the account-wide suppression list) while the application believes it is operating only on the named contact list or contact. Applications that only use hardcoded or strictly validated values for these arguments are not affected."}]}],"metrics":[{"cvssV4_0":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"LOW","attackRequirements":"PRESENT","attackVector":"LOCAL","baseScore":5.9,"baseSeverity":"MEDIUM","privilegesRequired":"NONE","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"NONE","valueDensity":"NOT_DEFINED","vectorString":"CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:L/VI:H/VA:N/SC:N/SI:N/SA:N","version":"4.0","vulnAvailabilityImpact":"NONE","vulnConfidentialityImpact":"LOW","vulnIntegrityImpact":"HIGH","vulnerabilityResponseEffort":"NOT_DEFINED"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-116","description":"CWE-116 Improper Encoding or Escaping of Output","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-11-24T14:21:01.869Z","orgId":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","shortName":"EEF"},"references":[{"tags":["vendor-advisory","related"],"url":"https://github.com/ex-aws/ex_aws_ses/security/advisories/GHSA-m65r-v8mq-xj8v"},{"name":"EEF CNA record for CVE-2026-65622","tags":["related"],"url":"https://cna.erlef.org/cves/CVE-2026-65622.html"},{"name":"OSV record EEF-CVE-2026-65622","tags":["related"],"url":"https://osv.dev/vulnerability/EEF-CVE-2026-65622"},{"name":"Introducing commit ac7f97f in ex-aws/ex_aws_ses","tags":["related"],"url":"https://github.com/ex-aws/ex_aws_ses/commit/ac7f97fa93c82e30868634735649027b2b968607"},{"name":"Fix commit 05c580a in ex-aws/ex_aws_ses","tags":["patch"],"url":"https://github.com/ex-aws/ex_aws_ses/commit/05c580a8d17da33535d55a45e4cd2430e88e62cf"}],"source":{"discovery":"EXTERNAL"},"title":"ex_aws_ses missing URI-encoding of list_name allows path injection into SES V2 request URLs","workarounds":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<p>Restrict <code>list_name</code> to Amazon SES's permitted contact-list character set, or run it through <code>ExAws.Request.Url.uri_encode/1</code>, before passing it to the affected functions.</p>"},{"base64":false,"type":"text/markdown","value":"Restrict `list_name` to Amazon SES's permitted contact-list character set, or run it through `ExAws.Request.Url.uri_encode/1`, before passing it to the affected functions."}],"value":"Restrict list_name to Amazon SES's permitted contact-list character set, or run it through ExAws.Request.Url.uri_encode/1, before passing it to the affected functions."}],"x_proofOfConcept":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<ol>\n<li>An application takes a contact-list name from untrusted input and calls <code>ExAws.SES.delete_contact_list(list_name) |&gt; ExAws.request()</code>.</li>\n<li>The attacker supplies <code>x/../suppression/addresses/victim@example.com</code> (with the <code>@</code> percent-encoded) as the list name.</li>\n<li><code>delete_contact_list/1</code> interpolates it unencoded, so the signed request is <code>DELETE /v2/email/contact-lists/x/../suppression/addresses/victim%40example.com</code>.</li>\n<li>Once the <code>..</code> is normalized, the request deletes the victim address from the account-wide suppression list instead of deleting a contact list.</li>\n</ol>"},{"base64":false,"type":"text/markdown","value":"1. An application takes a contact-list name from untrusted input and calls `ExAws.SES.delete_contact_list(list_name) |> ExAws.request()`.\n2. The attacker supplies `x/../suppression/addresses/victim@example.com` (with the `@` percent-encoded) as the list name.\n3. `delete_contact_list/1` interpolates it unencoded, so the signed request is `DELETE /v2/email/contact-lists/x/../suppression/addresses/victim%40example.com`.\n4. Once the `..` is normalized, the request deletes the victim address from the account-wide suppression list instead of deleting a contact list."}],"value":"* An application takes a contact-list name from untrusted input and calls ExAws.SES.delete_contact_list(list_name) |> ExAws.request().\n* The attacker supplies x/../suppression/addresses/victim@example.com (with the @ percent-encoded) as the list name.\n* delete_contact_list/1 interpolates it unencoded, so the signed request is DELETE /v2/email/contact-lists/x/../suppression/addresses/victim%40example.com.\n* Once the .. is normalized, the request deletes the victim address from the account-wide suppression list instead of deleting a contact list."}],"x_technicalAnalysis":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<p><strong>1. Raw interpolation.</strong> Every V2 contact-list and contact function in <code>lib/ex_aws/ses.ex</code> builds its resource string by interpolating <code>list_name</code> as given, for example <code>request_v2(:delete, \"contact-lists/#{list_name}\")</code> in <code>delete_contact_list/1</code>. <code>request_v2/2</code> then appends it to the operation path as <code>@v2_path &lt;&gt; \"/#{resource}\"</code>.</p>\n<p><strong>2. Inconsistent encoding.</strong> The same functions pass the email address through <code>ExAws.Request.Url.uri_encode/1</code>, but <code>list_name</code> is neither encoded nor validated. <code>uri_encode/1</code> itself leaves <code>/</code> unencoded, so an email address containing <code>/</code> can add path segments as well.</p>\n<p><strong>3. Segment escape.</strong> A list name such as <code>x/../suppression/addresses/victim%40example.com</code> produces <code>/v2/email/contact-lists/x/../suppression/addresses/victim%40example.com</code>, which normalizes to the account's suppression list. Appending <code>/contacts/&lt;addr&gt;</code> turns a list-level operation into a contact operation, and a <code>?</code> can inject query parameters. The request is signed with the application's credentials and sent to the configured SES host, so the effect is cross-resource request forgery inside the caller's own AWS account.</p>"},{"base64":false,"type":"text/markdown","value":"**1. Raw interpolation.** Every V2 contact-list and contact function in `lib/ex_aws/ses.ex` builds its resource string by interpolating `list_name` as given, for example `request_v2(:delete, \"contact-lists/#{list_name}\")` in `delete_contact_list/1`. `request_v2/2` then appends it to the operation path as `@v2_path <> \"/#{resource}\"`.\n\n**2. Inconsistent encoding.** The same functions pass the email address through `ExAws.Request.Url.uri_encode/1`, but `list_name` is neither encoded nor validated. `uri_encode/1` itself leaves `/` unencoded, so an email address containing `/` can add path segments as well.\n\n**3. Segment escape.** A list name such as `x/../suppression/addresses/victim%40example.com` produces `/v2/email/contact-lists/x/../suppression/addresses/victim%40example.com`, which normalizes to the account's suppression list. Appending `/contacts/<addr>` turns a list-level operation into a contact operation, and a `?` can inject query parameters. The request is signed with the application's credentials and sent to the configured SES host, so the effect is cross-resource request forgery inside the caller's own AWS account."}],"value":"1. Raw interpolation. Every V2 contact-list and contact function in lib/ex_aws/ses.ex builds its resource string by interpolating list_name as given, for example request_v2(:delete, \"contact-lists/#{list_name}\") in delete_contact_list/1. request_v2/2 then appends it to the operation path as @v2_path <> \"/#{resource}\".\n\n2. Inconsistent encoding. The same functions pass the email address through ExAws.Request.Url.uri_encode/1, but list_name is neither encoded nor validated. uri_encode/1 itself leaves / unencoded, so an email address containing / can add path segments as well.\n\n3. Segment escape. A list name such as x/../suppression/addresses/victim%40example.com produces /v2/email/contact-lists/x/../suppression/addresses/victim%40example.com, which normalizes to the account's suppression list. Appending /contacts/<addr> turns a list-level operation into a contact operation, and a ? can inject query parameters. The request is signed with the application's credentials and sent to the configured SES host, so the effect is cross-resource request forgery inside the caller's own AWS account."}]}},"cveMetadata":{"assignerOrgId":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","assignerShortName":"EEF","cveId":"CVE-2026-65622","datePublished":"2026-11-24T14:21:01.869Z","dateReserved":"2026-07-22T13:55:59.401Z","dateUpdated":"2026-11-24T14:21:01.869Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"}