# 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:** 5.9 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Attack requirements: Present; Privileges required: None; User interaction: None; Confidentiality impact: Low; Integrity impact: High; Availability impact: None; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.25% (percentile 10, 2026-11-28)
- **CWE:** CWE-116
- **Published:** 2026-11-24T14:21:01.869Z
- **Modified:** 2026-11-24T19:12:16.707Z

## Who should check

- Anyone running ex-aws ex\_aws\_ses \>= 2.3.0, \< 2.5.0
- Anyone running ex-aws ex\_aws\_ses \>= ac7f97fa93c82e30868634735649027b2b968607, \< 05c580a8d17da33535d55a45e4cd2430e88e62cf

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

## Affected and fixed versions

- ex-aws ex\_aws\_ses: \>= 2.3.0, \< 2.5.0 (cvelist)
- ex-aws ex\_aws\_ses: \>= ac7f97fa93c82e30868634735649027b2b968607, \< 05c580a8d17da33535d55a45e4cd2430e88e62cf (cvelist)

## Mitigation

- Upgrade ex\_aws\_ses to 2.5.0 or later.
- Upgrade ex\_aws\_ses to 05c580a8d17da33535d55a45e4cd2430e88e62cf or later.
- Vendor workaround: 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.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-65622. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-65622.md
Affected: ex-aws ex_aws_ses >= 2.3.0, < 2.5.0; ex-aws ex_aws_ses >= ac7f97fa93c82e30868634735649027b2b968607, < 05c580a8d17da33535d55a45e4cd2430e88e62cf
Fixed in: ex-aws ex_aws_ses 2.5.0, ex-aws ex_aws_ses 05c580a8d17da33535d55a45e4cd2430e88e62cf

Steps:
1. Search this machine and project for ex-aws ex_aws_ses: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-65622 being exploited?

There is no confirmed exploitation: CVE-2026-65622 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.25% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-65622?

Medium: CVSS 5.9 (v4.0, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-65622?

ex-aws ex\_aws\_ses \>= 2.3.0, \< 2.5.0; ex-aws ex\_aws\_ses \>= ac7f97fa93c82e30868634735649027b2b968607, \< 05c580a8d17da33535d55a45e4cd2430e88e62cf.

### Is there a fix for CVE-2026-65622?

Yes. Fixed in ex-aws ex\_aws\_ses 2.5.0, ex-aws ex\_aws\_ses 05c580a8d17da33535d55a45e4cd2430e88e62cf. Upgrade ex\_aws\_ses to 2.5.0 or later. Upgrade ex\_aws\_ses to 05c580a8d17da33535d55a45e4cd2430e88e62cf or later. Vendor workaround: 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.

### How do I check if I'm affected by CVE-2026-65622?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/ex-aws/ex_aws_ses/security/advisories/GHSA-m65r-v8mq-xj8v>
- patch: <https://github.com/ex-aws/ex_aws_ses/commit/ac7f97fa93c82e30868634735649027b2b968607>
- patch: <https://github.com/ex-aws/ex_aws_ses/commit/05c580a8d17da33535d55a45e4cd2430e88e62cf>
- other: <https://cna.erlef.org/cves/CVE-2026-65622.html>
- other: <https://osv.dev/vulnerability/EEF-CVE-2026-65622>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-65622>
- FIRST EPSS: EPSS scores by FIRST <https://www.first.org/epss/>

HTML: <https://flawdb.com/CVE-2026-65622> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-65622>
