# CVE-2026-65622: ex_aws_ses missing URI-encoding of list_name allows path injection into SES V2 request URLs

- Severity: Medium 5.9 (CVSS:4.0, scored by EEF) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.25%, higher than 17% of CVEs (2026-12-01)
- Published: 2026-11-24T14:21:01.869Z
- Modified: 2026-12-01T17:17:41.797Z
- Also known as: EEF-CVE-2026-65622, GHSA-m65r-v8mq-xj8v
- Weaknesses: CWE-116
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: EEF

## Description

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.

This 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.

The 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.

This issue affects ex_aws_ses: from 2.3.0 before 2.5.0.

(As written by CVE List.)

## Affected

- ex_aws_ses: from 2.3.0 before 2.5.0
- ex-aws/ex_aws_ses: from ac7f97fa93c82e30868634735649027b2b968607 before 05c580a8d17da33535d55a45e4cd2430e88e62cf
- ex_aws_ses (Hex): from 2.3.0 before 2.5.0
- https://github.com/ex-aws/ex_aws_ses: from ac7f97fa93c82e30868634735649027b2b968607 before 05c580a8d17da33535d55a45e4cd2430e88e62cf

## Every score

- EEF: CVSS:4.0 5.9 Medium `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`
- Erlang Ecosystem Foundation: CVSS:4.0 `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`

## References

- <https://github.com/ex-aws/ex_aws_ses/security/advisories/GHSA-m65r-v8mq-xj8v> (advisory, related, vendor-advisory)
- <https://cna.erlef.org/cves/CVE-2026-65622.html> (related, web)
- <https://osv.dev/vulnerability/EEF-CVE-2026-65622> (related)
- <https://github.com/ex-aws/ex_aws_ses/commit/ac7f97fa93c82e30868634735649027b2b968607> (related, web)
- <https://github.com/ex-aws/ex_aws_ses/commit/05c580a8d17da33535d55a45e4cd2430e88e62cf> (fix, patch)
- <https://hex.pm/packages/ex_aws_ses> (package)

## Sources

- CVE List: [CVE-2026-65622](https://www.cve.org/CVERecord?id=CVE-2026-65622), CVE Terms of Use, modified 2026-12-01
- Erlang Ecosystem Foundation: [EEF-CVE-2026-65622](https://osv.dev/vulnerability/EEF-CVE-2026-65622), CC-BY-4.0, modified 2026-11-25
- NVD: [CVE-2026-65622](https://nvd.nist.gov/vuln/detail/CVE-2026-65622), Public domain, modified 2026-12-01

---

Page: https://cve.day/CVE-2026-65622 · Whole record: https://cve.day/CVE-2026-65622.json · Rebuilt by cve.day 2026-12-01T17:32:13.206Z
