Missing URI encoding in ex_aws_ses allows SES V2 path injection
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- Present
- Impact type
- —
- Confidentiality · integrity · availability
- Low · High · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA.
Summary
The ex_aws_ses package from 2.3.0 before 2.5.0 does not URI-encode the list_name value in its SES V2 contact list functions (CWE-116). An attacker who controls that value can escape the intended path segment and reach other SES resources. Requests are signed with the application's own AWS credentials, so the impact stays within the caller's account. Applications that pass untrusted input as list names are affected.
Written with Claude Haiku 5.5 from the sources below · 2026-11-24
Description from the CNA
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| ex-aws | ex_aws_ses | 2.3.0 to before 2.5.0 | 2.5.0 | Patch available | CNA |
- ex_aws_ses Vendorex-aws Affected 2.3.0 to before 2.5.0 Fixed in 2.5.0 Patch available CNA
CPE names CNA · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:ex-aws:ex_aws_ses:*:*:*:*:*:*:*:* | — | — | — |
- cpe:2.3:a:ex-aws:ex_aws_ses:*:*:*:*:*:*:*:* Versions — — ·—
Remediation
Upgrade ex_aws_ses to version 2.5.0, the fixed version.
Written with Claude Haiku 5.5 from the sources below · 2026-11-24
- Fix · CNA ex_aws_ses (ex-aws) Fixed in 2.5.0
Timeline
- 2026-11-24 Threatist record created from CVE-2026-65622
- 2026-11-24 Alias added: GHSA-q5q7-j45f-w874
References
More ex-aws vulnerabilities
- TI-2026-97430 XML injection in ex_aws_s3 bucket configuration builders CVSS 4.0MEDIUM 6.9
- TI-2026-97439 XML injection in ExAws S3 batch delete lets attackers remove extra objects CVSS 4.0MEDIUM 5.9
- TI-2026-97429 XML injection in ex_aws_s3 object and bucket tagging CVSS 4.0LOW 2.1
- TI-2026-34676 ex_aws_sns SigningCertURL not validated in verify_message/1 CVSS 4.0HIGH 8.7
- TI-2026-97227 ex_aws IMDSv2 token request follows HTTP redirects (SSRF) CVSS 4.0HIGH 7.6
- TI-2026-97235 ex_aws normalizes .. in S3 object keys client-side, allowing bucket or key-prefix escape CVSS 4.0HIGH 7.4
Sources
- CVE-2026-65622 · CVE Program
- CVE-2026-65622 · NVD
- FIRST EPSS
- GHSA-q5q7-j45f-w874 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences