ex_aws_s3 XML injection in bucket-configuration builders
CVE-2026-63581Published 24 Nov 2026, 14:15 UTC
Real-world risk
3.3/ 10Low
Routine
PreliminaryFrom the CVSS vector only · confidence low
CVSS
6.9
scored by the vendor (CNA), CVSS 4.0
In plain words
No plain-language summary yet. The original description is below.
Original description (from EEF)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| ex_aws_s3Niche | >= 2.5.9, < 2.6.0 | 2.6.0 |
What to do
Update to a fixed version: 2.6.0.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Major data tamperingWrites or changes important data without gaining execution | From the CVSS vector | 0.70 |
| Attacker position | LocalMust already run code or have a shell on the machine | From the CVSS vector | 0.50 |
| Privileges needed | NoneNo account | From the CVSS vector | 1.00 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T3: Public proof of concept (× 0.95)
A qualifying GitHub proof of concept, an unverified Exploit-DB entry, CISA's SSVC says PoC, or a reference tagged as an exploit
- Reference tagged as exploit (link)
- CISA SSVC: proof of concept
EPSS 0.5% chance of exploitation in 30 days (percentile 41), as of 2026-12-03.
The arithmetic
- Prerequisites multiplied together0.500
- Threat T3: Public proof of concept0.950
- 10 × impact 0.7 × prerequisites 0.5 × threat 0.953.325
- Rounded to one decimal between 0.1 and 103.3
Exploitation and evidence timeline
- 24 Nov 2026 Published
- 3 Dec 2026 Reference tagged as exploit first seen
- 3 Dec 2026 CISA SSVC: proof of concept first seen
- 3 Dec 2026 Risk 3.3 (cvss fallback)
Weakness
CWE-91
References
- https://github.com/ex-aws/ex_aws_s3/security/advisories/GHSA-cf93-7gwh-6w98related, vendor-advisory
- https://cna.erlef.org/cves/CVE-2026-63581.htmlrelated
- https://osv.dev/vulnerability/EEF-CVE-2026-63581exploit, related
- https://github.com/ex-aws/ex_aws_s3/commit/7d6f5cde90aaea36f9a059de874d1420da20eef2related
- https://github.com/ex-aws/ex_aws_s3/commit/eda0b9b9c63707f7db8d8f18c331df7fda57c397patch
- CVE-2026-63581 on CVE.org