Read the docs

XML injection in ExAws.S3 lifecycle rule builder lets attackers add actions

Priority LOW 30CWE-91Published · Updated

Key facts

Attack vector
Local
Privileges required
None
User interaction
None
Attack complexity
Low
Attack requirements
Present
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_s3 from 2.3.0 before 2.6.0 is affected. The ExAws.S3.Utils.build_lifecycle_rule/1 function inserts caller-supplied lifecycle rule fields into the PutBucketLifecycleConfiguration XML body without escaping XML metacharacters, which is CWE-91. An application that fills these fields from untrusted input, such as a tenant-supplied object tag, lets an attacker break out of the element and inject arbitrary XML, including a lifecycle action that deletes the bucket's objects.

Written with Claude Haiku 5.5 from the sources below · 2026-11-24

Description from the CNA

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 now

EPSS 0.00244 9th percentileScored 2026-11-30
Fix Fixed ex_aws_s3 (ex-aws): 2.6.0

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
ex-awsex_aws_s32.3.0 to before 2.6.02.6.0Patch availableCNA
  • ex_aws_s3 Vendorex-aws Affected 2.3.0 to before 2.6.0 Fixed in 2.6.0 Patch available CNA

CPE names CNA · 1

CPEVersionsRoleVendor
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 fixed version for ex_aws_s3 other than 2.6.0.

Written with Claude Haiku 5.5 from the sources below · 2026-11-24

  • 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-97430 XML injection in ex_aws_s3 bucket configuration buildersPriority MEDIUM 64
    • 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
  • Release ·

    ex-aws ex_aws_s3 eda0b9b9c63707f7db8d8f18c331df7fda57c397

    4 records Highest priority Priority MEDIUM 3 MEDIUM, 1 LOW

    Other records, highest priority first

    • TI-2026-97430 XML injection in ex_aws_s3 bucket configuration buildersPriority MEDIUM 64
    • 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

Timeline

  1. 2026-11-24 Threatist record created from CVE-2026-63583
  2. 2026-11-24 Alias added: GHSA-wqfx-w773-m868

References

  • TI-2026-97430 XML injection in ex_aws_s3 bucket configuration builders CVSS 4.0MEDIUM 6.9
  • 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
See all 16 →

Sources