Hex
CVE-2026-63581
ex_aws_s3 XML injection in bucket-configuration builders
- Severity
- Medium 6.9
- Published
- 24 Nov 2026
- Last changed
- 24 Nov 2026
- Added to UpHeron
- 24 Nov 2026
- Fixed in
- 2.6.0
- Weakness
- XML injection (CWE-91)
- Attack
- Needs local access · No login needed · No user action needed
- Attacker can
- Change data
- CVSS vector
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- Sources
- CVE Program
Description
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.
Affected software
| Software | Affected versions |
|---|---|
ex_aws_s3Hex · osv:Hex:ex_aws_s3 |
|
About ex_aws_s3
Vulnerabilities in ex_aws_s3
- In our list
- 8
- Published in the last 12 months
- 8
- Critical, last 12 months
- 0
- High, last 12 months
- 1
- Known exploited
- 0
- CVE-2026-62273XML injection via unescaped tag keys and values in ex_aws_s3 object and bucket taggingLow 2.1 24 Nov 2026
- CVE-2026-63584Copy-source header injection in ExAws.S3.upload_part_copy/8 via unencoded source keyLow 2.1 24 Nov 2026
- CVE-2026-63583XML injection in ExAws.S3.Utils.build_lifecycle_rule/1 in ex_aws_s3High 7.0 24 Nov 2026
- CVE-2026-131902XML injection via unescaped VersionId in ExAws.S3.delete_multiple_objects/3Medium 5.9 24 Nov 2026
- CVE-2026-63582S3 bucket name controls the host of presigned URLs in ex_aws_s3Medium 5.8 24 Nov 2026
- CVE-2026-63585ExAws.S3 ACL grantee injection via unescaped grant headers in format_grant_header/1Medium 4.8 24 Nov 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-63581