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.
Published: 2026-11-24
Score: 7 High
EPSS: n/a
KEV: No
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

Vendor Workaround

Applications can escape or strictly validate any untrusted value before passing it into a lifecycle rule field (the rule id, filter prefix, tag key or value, storage class, or noncurrent-version count) so that XML metacharacters cannot alter the request structure.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 24 Nov 2026 14:30:00 +0000

Type Values Removed Values Added
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.
Title XML injection in ExAws.S3.Utils.build_lifecycle_rule/1 in ex_aws_s3
First Time appeared Ex-aws
Ex-aws ex Aws S3
Weaknesses CWE-91
CPEs cpe:2.3:a:ex-aws:ex_aws_s3:*:*:*:*:*:*:*:*
Vendors & Products Ex-aws
Ex-aws ex Aws S3
References
Metrics cvssV4_0

{'score': 7, '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'}


Subscriptions

Ex-aws Ex Aws S3
cve-icon MITRE

Status: PUBLISHED

Assigner: EEF

Published:

Updated: 2026-11-24T14:14:58.243Z

Reserved: 2026-07-17T04:14:44.351Z

Link: CVE-2026-63583

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-11-24T15:17:38.343

Modified: 2026-11-24T15:17:38.343

Link: CVE-2026-63583

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses
  • CWE-91

    XML Injection (aka Blind XPath Injection)