XML injection in ex_aws_s3 bucket configuration builders
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- —
- Confidentiality · integrity · availability
- None · High · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA.
Summary
Ex-aws ex_aws_s3 from 2.5.9 before 2.6.0 contains an XML injection flaw (CWE-91) in its bucket-configuration builders. The builders for logging, notification, replication and website settings insert caller-supplied values into request XML without escaping, so XML metacharacters can add attacker-chosen elements. An attacker who can influence one of these values in a multi-tenant application can inject configuration nodes into a signed request sent to AWS. The attack requires local access and no privileges, and the vector shows high integrity impact with no confidentiality or availability impact.
Written with Claude Haiku 5.5 from the sources below · 2026-11-25
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| ex-aws | ex_aws_s3 | 2.5.9 to before 2.6.0 | 2.6.0 | Patch available | CNA |
- ex_aws_s3 Vendorex-aws Affected 2.5.9 to before 2.6.0 Fixed in 2.6.0 Patch available CNA
CPE names CNA · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:ex-aws:ex_aws_s3:*:*:*:*:*:*:*:* | — | — | — |
- cpe:2.3:a:ex-aws:ex_aws_s3:*:*:*:*:*:*:*:* Versions — — ·—
Remediation
Upgrade ex_aws_s3 to version 2.6.0. The sources list no exploitation in CISA KEV or public exploit references.
Written with Claude Haiku 5.5 from the sources below · 2026-11-25
- Fix · CNA ex_aws_s3 (ex-aws) Fixed in 2.6.0
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
ex-aws ex_aws_s3 2.6.0
8 records Highest priority Priority MEDIUM 3 MEDIUM, 5 LOW
Other records, highest priority first
- TI-2026-97439 XML injection in ExAws S3 batch delete lets attackers remove extra objectsPriority MEDIUM 62
- TI-2026-97429 XML injection in ex_aws_s3 object and bucket taggingPriority MEDIUM 44
- TI-2026-97432 XML injection in ExAws.S3 lifecycle rule builder lets attackers add actionsPriority LOW 30
- Release ·
ex-aws ex_aws_s3 eda0b9b9c63707f7db8d8f18c331df7fda57c397
4 records Highest priority Priority MEDIUM 3 MEDIUM, 1 LOW
Other records, highest priority first
- TI-2026-97439 XML injection in ExAws S3 batch delete lets attackers remove extra objectsPriority MEDIUM 62
- TI-2026-97429 XML injection in ex_aws_s3 object and bucket taggingPriority MEDIUM 44
- TI-2026-97432 XML injection in ExAws.S3 lifecycle rule builder lets attackers add actionsPriority LOW 30
Timeline
- 2026-11-24 Threatist record created from CVE-2026-63581
- 2026-11-24 Alias added: GHSA-wcfr-j3j4-h98p
- 2026-11-25 CISA SSVC decision points changed
References
More ex-aws vulnerabilities
- 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
- TI-2026-97432 XML injection in ExAws.S3 lifecycle rule builder lets attackers add actions CVSS 4.0HIGH 7.0
Sources
- CVE-2026-63581 · CVE Program
- CVE-2026-63581 · NVD
- FIRST EPSS
- GHSA-wcfr-j3j4-h98p · 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