CVE-2026-63581: ex-aws ex_aws_s3 Vulnerability

CVE-2026-63581

NVD

Vulnerability Summary

XML Injection vulnerability in ex-aws ex_aws_s3 (ExAws.S3 module) allows an attacker to inject arbitrary XML configuration elements into S3 bucket-configuration request bodies via unescaped, caller-supplied values.

This vulnerability is associated with program files lib/ex_aws/s3.ex and program routines ExAws.S3.put_bucket_logging/2, ExAws.S3.put_bucket_notification/2, ExAws.S3.put_bucket_replication/2, ExAws.S3.put_bucket_website/2.

The bucket-configuration body builders construct their XML by interpolating caller-supplied values directly into the request body without escaping, and never route them through the module's own escape_xml_string/1 helper. A value containing XML metacharacters (<, >, &, quotes) can close the intended element early and open attacker-chosen elements, which the builder's trailing closing tag then closes, keeping the document single-rooted and well-formed. In a multi-tenant application where tenants configure their own bucket settings, an attacker who can influence one of the interpolated field values (for example the logging target, a notification ARN, a replication destination or Account, or a website redirect HostName) can inject arbitrary configuration nodes into a request the application signs and sends to AWS. The affected builders are reached through the public functions put_bucket_logging/2, put_bucket_notification/2, put_bucket_replication/2, and put_bucket_website/2.

This issue affects ex_aws_s3: from 2.5.9 before 2.6.0.
Severity Level
MEDIUM(6.9)
Published Date
Nov 24, 2026
Last Modified
Nov 25, 2026
Exploitation Status
No confirmed exploitation yet
EPSS Score (30-Day)
0.45%Probability
Root Weakness (CWE)
The product does not properly neutralize special elements that are used in XML, allowing attackers to modify the syntax, content, or commands of the XML before it is processed by an end system.
CVSS v4.0 Base Metrics — Score 6.9 (MEDIUM)
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:L/SI:L/SA:N
Attack VectorLocal
Attack ComplexityLow
Attack RequirementsNone
Privileges RequiredNone
User InteractionNone
Confidentiality (Vulnerable System)None
Integrity (Vulnerable System)High
Availability (Vulnerable System)None
Confidentiality (Subsequent System)Low
Integrity (Subsequent System)Low
Availability (Subsequent System)None

Affected & Patched Versions

Affected Versions
  • ex-aws ex_aws_s3 >= 2.5.9 and < 2.6.0
  • ex-aws ex_aws_s3 >= 7d6f5cde90aaea36f9a059de874d1420da20eef2 and < eda0b9b9c63707f7db8d8f18c331df7fda57c397
Patched Versions
  • ex-aws ex_aws_s3 2.6.0
  • ex-aws ex_aws_s3 eda0b9b9c63707f7db8d8f18c331df7fda57c397

What to do

Fix it during your normal patch cycle. No exploitation is confirmed yet.

  1. Check whether you run ex-aws ex_aws_s3 and which version.
  2. Update to a patched version listed above, then confirm the new version.

Timeline

  • Nov 24, 2026Published
  • Nov 25, 2026Record last modified

Score, severity and exploitation changes are tracked from the day Watchtower started logging them.

Get notified about new ex-aws ex_aws_s3 CVEsYou are reading CVE-2026-63581. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alerts

Data last checked: Nov 30, 2026 11:12 UTC