Skip to content
DayZeroHub
High Not yet writtenCVSS 7CVE-2026-63583

CVE-2026-63583: XML injection in ExAws.S3.Utils.build_lifecycle_rule/1 in ex_aws_s3

ex-aws ex_aws_s3

Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.

Summary

CVE-2026-63583: high-severity vulnerability (CVSS 7) in ex-aws ex_aws_s3.

What happened

Original description from the source: 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.

Why it matters

High severity, CVSS 7.

Affected products and versions

ex-aws ex_aws_s3 >= 2.3.0, < 2.6.0; ex-aws ex_aws_s3 >= 34a3f1b264bd9a28d68fa98173af7085da72a15b, < eda0b9b9c63707f7db8d8f18c331df7fda57c397

ProductVersionsFixed in
ex-aws ex_aws_s3>= 2.3.0, < 2.6.0—
ex-aws ex_aws_s3>= 34a3f1b264bd9a28d68fa98173af7085da72a15b, < eda0b9b9c63707f7db8d8f18c331df7fda57c397—

Action recommended by the source

See the official references for the fix or mitigation.

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Weaknesses (CWE): CWE-91

Relevant change history

  1. Published

    Preliminary advisory published.