# CVE-2026-63583: XML injection in ExAws.S3.Utils.build_lifecycle_rule/1 in ex_aws_s3

- Severity: High 7.0 (CVSS:4.0, scored by EEF) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 16% of CVEs (2026-12-01)
- Published: 2026-11-24T14:14:58.243Z
- Modified: 2026-12-01T17:17:40.797Z
- Also known as: EEF-CVE-2026-63583, GHSA-pcgv-phrm-r85v
- Weaknesses: CWE-91
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: EEF

## 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.

(As written by CVE List.)

## Affected

- ex_aws_s3: from 2.3.0 before 2.6.0
- ex-aws/ex_aws_s3: from 34a3f1b264bd9a28d68fa98173af7085da72a15b before eda0b9b9c63707f7db8d8f18c331df7fda57c397
- ex_aws_s3 (Hex): from 2.3.0 before 2.6.0
- https://github.com/ex-aws/ex_aws_s3: from 34a3f1b264bd9a28d68fa98173af7085da72a15b before eda0b9b9c63707f7db8d8f18c331df7fda57c397

## Every score

- EEF: CVSS:4.0 7.0 High `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`
- Erlang Ecosystem Foundation: CVSS:4.0 `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`

## References

- <https://github.com/ex-aws/ex_aws_s3/security/advisories/GHSA-pcgv-phrm-r85v> (advisory, related, vendor-advisory)
- <https://cna.erlef.org/cves/CVE-2026-63583.html> (related, web)
- <https://osv.dev/vulnerability/EEF-CVE-2026-63583> (related)
- <https://github.com/ex-aws/ex_aws_s3/commit/34a3f1b264bd9a28d68fa98173af7085da72a15b> (related, web)
- <https://github.com/ex-aws/ex_aws_s3/commit/eda0b9b9c63707f7db8d8f18c331df7fda57c397> (fix, patch)
- <https://hex.pm/packages/ex_aws_s3> (package)

## Sources

- CVE List: [CVE-2026-63583](https://www.cve.org/CVERecord?id=CVE-2026-63583), CVE Terms of Use, modified 2026-12-01
- Erlang Ecosystem Foundation: [EEF-CVE-2026-63583](https://osv.dev/vulnerability/EEF-CVE-2026-63583), CC-BY-4.0, modified 2026-11-26
- NVD: [CVE-2026-63583](https://nvd.nist.gov/vuln/detail/CVE-2026-63583), Public domain, modified 2026-12-01

---

Page: https://cve.day/CVE-2026-63583 · Whole record: https://cve.day/CVE-2026-63583.json · Rebuilt by cve.day 2026-12-01T17:32:12.883Z
