All vulnerabilities

Hex

CVE-2026-63583

XML injection in ExAws.S3.Utils.build_lifecycle_rule/1 in ex_aws_s3

Severity
High 7.0
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 · Only under certain conditions · No login needed · No user action needed
Attacker can
Change data
CVSS vector
CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:H/SA:H
Sources
CVE Program

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.

From the CVE Program.

Affected software

SoftwareAffected versions
ex_aws_s3Hex · osv:Hex:ex_aws_s3
  • From 2.3.0 before 2.6.0

About ex_aws_s3

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-63583