CVE-2026-65622

ex_aws_ses missing URI-encoding of list_name allows path injection into SES V2 request URLs

5.9 medium EPSS 0.25%

Published 24 Nov 2026 Updated 24 Nov 2026 CNA: EEF

Check your servers for CVE-2026-65622

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-65622 affects ex_aws_ses, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Severity (CVSS)

5.9 medium CVSS 4.0 from EEF (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
Attack vector
local: the attacker needs local access, or a user has to open a prepared file
Attack complexity
low: an attack works without special conditions
Attack requirements
present: an attack works only when the target is in a certain state or configuration
Privileges required
none: the attacker does not need an account
User interaction
none: nobody has to click or open anything
Impact on the vulnerable system
confidentiality low, integrity high, availability none: what an attacker can read, change or stop in the vulnerable component
Impact on other systems
confidentiality none, integrity none, availability none: what an attacker can read, change or stop beyond it

Exploitation

EPSS 0.25%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 10.1% of all scored CVEs. Scores of 28 Nov 2026.

Weakness

  • CWE-116 Improper Encoding or Escaping of Output

Affected products

As the CNA lists them.

ProductVersions
ex_aws_ses
package ex_aws_ses
affected from 2.3.0, before 2.5.0
Other versions: unaffected
ex_aws_ses
package ex-aws/ex_aws_ses
affected from ac7f97fa93c82e30868634735649027b2b968607, before 05c580a8d17da33535d55a45e4cd2430e88e62cf
Other versions: unaffected

Is my server affected?

Find the installed version of ex_aws_ses and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.

Debian, Ubuntu

dpkg -l | grep -i ex_aws_ses
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2026-65622 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2026-65622

RHEL, Rocky, Alma, Fedora

rpm -q ex_aws_ses
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2026-65622

Alpine

apk list --installed | grep -i ex_aws_ses

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-65622
trivy image --scanners vuln IMAGE | grep CVE-2026-65622

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Advisories

Patches and release notes

Other references

Source: the record CVE-2026-65622 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.