CVE-2026-63583: XML injection in ExAws.S3.Utils.build_lifecycle_rule/1 in ex_aws_s3
Published 2026-11-24 · Updated 2026-11-26 · Also known as EEF-CVE-2026-63583, GHSA-pcgv-phrm-r85v
Summary
An XML injection vulnerability exists in ExAws.S3.Utils.build_lifecycle_rule/1 due to unescaped string interpolation of caller-supplied lifecycle rule fields. Engineering teams using ex_aws_s3 versions 2.3.0 to 2.5.9 should upgrade to version 2.6.0 immediately.
Who is affected
Applications utilizing ex_aws_s3 that populate lifecycle rule fields (such as rule IDs, filter prefixes, tag keys and values, storage classes, or noncurrent-version counts) from untrusted input are affected. An attacker who can control these fields can break out of XML elements and inject arbitrary lifecycle actions, such as premature object expiration that leads to data loss.
Exploitability
The vulnerability has a CVSS 4.0 base score of not computed with a vector of 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, indicating local/low attack complexity with high integrity impact under specific attack preconditions. The EPSS score is 0.002 (94th percentile), and it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
Remediation
- Upgrade the Hex ex_aws_s3 package to version 2.6.0.
- Escape or strictly validate any untrusted input passed into lifecycle rule fields prior to the upgrade.
How to check your project
- Inspect project dependency files (such as mix.exs or mix.lock) to verify if the ex_aws_s3 package version falls within the affected range of introduced 2.3.0 and before 2.6.0.
Automated analysis of the published advisory data, generated 2026-11-26. Not human-reviewed; verify against the official advisory. How this works.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | Upgrade |
|---|---|---|---|---|
| Hex | ex_aws_s3 |
>= 2.3.0, < 2.6.0 | 2.6.0 | mix deps.update ex_aws_s3 |
CVSS 4.0 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
| Attack vector | Local |
|---|---|
| Attack complexity | Low |
| Attack requirements | Present |
| Privileges required | None |
| User interaction | None |
| Confidentiality (vulnerable system) | None |
| Integrity (vulnerable system) | High |
| Availability (vulnerable system) | None |
| Confidentiality (subsequent systems) | None |
| Integrity (subsequent systems) | High |
| Availability (subsequent systems) | High |
Base score is not computed for CVSS 4.0 vectors; severity is taken from the advisory.
FAQ
Which versions of ex_aws_s3 are affected?
Versions from 2.3.0 up to, but not including, 2.6.0 are affected.
What causes the vulnerability?
The function ExAws.S3.Utils.build_lifecycle_rule/1 interpolates caller-supplied fields directly into the PutBucketLifecycleConfiguration XML body without XML-escaping or validation.
Is this vulnerability listed in the CISA KEV catalog?
No, this vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog.
Original advisory description
References
- ADVISORY https://github.com/ex-aws/ex_aws_s3/security/advisories/GHSA-pcgv-phrm-r85v
- WEB https://cna.erlef.org/cves/CVE-2026-63583.html
- WEB https://github.com/ex-aws/ex_aws_s3/commit/34a3f1b264bd9a28d68fa98173af7085da72a15b
- FIX https://github.com/ex-aws/ex_aws_s3/commit/eda0b9b9c63707f7db8d8f18c331df7fda57c397
- PACKAGE https://hex.pm/packages/ex_aws_s3
Source records: EEF-CVE-2026-63583 (OSV.dev) · EPSS by FIRST, 2026-11-26.