XML injection in ExAws.S3.Utils.build_lifecycle_rule/1 in ex_aws_s3
- CVE-2026-63583
- GHSA-wqfx-w773-m868
- EUVD-2026-133983
Description
ExAws.S3.Utils.build_lifecycle_rule/1 in ex_aws_s3 interpolates caller-supplied lifecycle rule fields (the rule id, filter prefix, tag key and value, storage class, and noncurrent-version count) directly into the PutBucketLifecycleConfiguration XML body without escaping XML metacharacters. An application that populates any of these fields from untrusted input (for example a tenant-supplied object tag) lets an attacker break out of the surrounding element and inject arbitrary XML into the request, including an entirely new lifecycle action such as a delete-after-one-day expiration that destroys the bucket's objects. The public entry point ExAws.S3.put_bucket_lifecycle/2 flows directly into this builder. This issue affects ex_aws_s3: from 2.3.0 before 2.6.0.
Text from the CVE.org record.
Recommendation
ex-aws ex_aws_s3
- If you run a version from 2.3.0 to before 2.6.0update to 2.6.0 or laterMinor version change: check the release notes
Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
ex-aws ex_aws_s3
Affected versions Fixed in from 2.3.0 to before 2.6.0 2.6.0
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.