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

Published Nov 24, 2026
·
Updated

Improper Encoding or Escaping of Output vulnerability in ex-aws exawsses (ExAws.SES module) allows path injection into Amazon SES V2 request URLs.

This vulnerability is associated with program file lib/exaws/ses.ex and program routines ExAws.SES.deletecontactlist/1, ExAws.SES.getcontactlist/1, ExAws.SES.updatecontactlist/2, ExAws.SES.createcontact/3, ExAws.SES.getcontact/2, ExAws.SES.updatecontact/3, ExAws.SES.deletecontact/2 and ExAws.SES.listcontacts/1.

The V2 contact-list and contact functions interpolate the caller-supplied listname into the request path without URI-encoding it, unlike the email address in the same functions which is passed through ExAws.Request.Url.uriencode/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 deletecontactlist/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 exawsses: from 2.3.0 before 2.5.0.

Affected Software

1 affected component
hex/ex_aws_ses>=2.3.0<2.5.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 2.5.0
  2. Compensating control

    Do not forward untrusted input as a contact-list name; use hardcoded or strictly validated list names that reject path segments such as / and ..

Event History

Nov 24, 2026
CVE Published
via MITRE·02:21 PM
Data Sourced
via MITRE·02:21 PM
DescriptionWeakness

Frequently Asked Questions

1

Which applications are exposed to this issue?

Applications are exposed when they pass untrusted input as the SES contact-list name to the affected ExAws.SES contact-list or contact functions. The issue applies to delete_contact_list/1, get_contact_list/1, update_contact_list/2, create_contact/3, get_contact/2, update_contact/3, delete_contact/2, and list_contacts/1.

2

What does an attacker need to exploit it?

An attacker needs influence over a value used as list_name by one of the affected functions. They can use path characters such as /, .., or ? to alter the requested SES V2 path; the request is then signed using the application's AWS credentials.

3

What is the likely impact?

The attacker may cause requests to SES resources outside the intended contact-list path, within the same AWS account and permissions available to the application's configured credentials. For example, a crafted list name can make a delete_contact_list/1 request reach an account-wide suppression-list address path.

4

What can be done if updating is not immediately possible?

Do not forward untrusted values directly as contact-list names. Validate list_name against an application-defined allowlist or strict character set and reject values containing path traversal or query delimiters, including /, .., and ?.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203