XML injection in ExAws.S3.Utils.build_lifecycle_rule/1 in ex_aws_s3
CVE-2026-63583Published 24 Nov 2026, 14:14 UTC
Real-world risk
1.3/ 10Low
Routine
If the vulnerable configuration applies to you: 3.0
PreliminaryFrom the CVSS vector only · confidence low
CVSS
7.0
scored by the vendor (CNA), CVSS 4.0
In plain words
No plain-language summary yet. The original description is below.
Original description (from EEF)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| ex_aws_s3Niche | >= 2.3.0, < 2.6.0 | 2.6.0 |
What to do
Update to a fixed version: 2.6.0.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Major data tamperingWrites or changes important data without gaining execution | From the CVSS vector | 0.70 |
| Attacker position | LocalMust already run code or have a shell on the machine | From the CVSS vector | 0.50 |
| Privileges needed | NoneNo account | From the CVSS vector | 1.00 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | UncommonNeeds a non-default feature that a minority enables | From the CVSS vector | 0.45 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
EPSS 0.2% chance of exploitation in 30 days (percentile 17), as of 2026-12-03.
The arithmetic
- Prerequisites multiplied together0.225
- Threat T1: Nothing known0.850
- 10 × impact 0.7 × prerequisites 0.225 × threat 0.851.339
- Rounded to one decimal between 0.1 and 101.3
Exploitation and evidence timeline
- 24 Nov 2026 Published
- 3 Dec 2026 Risk 1.3 (cvss fallback)
Weakness
CWE-91
References
- https://github.com/ex-aws/ex_aws_s3/security/advisories/GHSA-pcgv-phrm-r85vrelated, vendor-advisory
- https://cna.erlef.org/cves/CVE-2026-63583.htmlrelated
- https://osv.dev/vulnerability/EEF-CVE-2026-63583related
- https://github.com/ex-aws/ex_aws_s3/commit/34a3f1b264bd9a28d68fa98173af7085da72a15brelated
- https://github.com/ex-aws/ex_aws_s3/commit/eda0b9b9c63707f7db8d8f18c331df7fda57c397patch
- CVE-2026-63583 on CVE.org