# CVE-2026-131902: XML injection via unescaped VersionId in ExAws.S3.delete_multiple_objects/3

- Severity: Medium 5.9 (CVSS:4.0, scored by EEF) `CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N`
- 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.47%, higher than 42% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-11-24T14:13:43.953Z
- Modified: 2026-11-25T20:18:33.517Z
- Also known as: EEF-CVE-2026-131902, GHSA-mwxg-gfj8-x32v
- Weaknesses: CWE-91
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: EEF

## Description

XML Injection vulnerability in ex-aws ex_aws_s3 allows an attacker who controls an object version id passed to ExAws.S3.delete_multiple_objects/3 to add objects to the batch delete.

delete_multiple_objects/3 in lib/ex_aws/s3.ex builds the <Delete> request body by placing each object's version between <VersionId> tags without XML escaping. A version such as v1</VersionId></Object><Object><Key>important-file</Key></Object><Object><Key>x</Key><VersionId>v2 closes the caller's object and opens new ones, so S3 deletes objects the application never listed, including other users' objects in the same bucket.

This issue affects ex_aws_s3: from 2.0.0 before 2.6.0.

(As written by CVE List.)

## Affected

- ex_aws_s3: from 2.0.0 before 2.6.0
- ex-aws/ex_aws_s3: from 4ce4d72219c0cb8de9356278203d8ea780311b75 before eda0b9b9c63707f7db8d8f18c331df7fda57c397
- ex_aws_s3 (Hex): from 2.0.0 before 2.6.0
- https://github.com/ex-aws/ex_aws_s3: from 4ce4d72219c0cb8de9356278203d8ea780311b75 before eda0b9b9c63707f7db8d8f18c331df7fda57c397

## Every score

- EEF: CVSS:4.0 5.9 Medium `CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N`
- Erlang Ecosystem Foundation: CVSS:4.0 `CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N`

## References

- <https://osv.dev/vulnerability/EEF-CVE-2026-131902> (exploit, related)
- <https://github.com/ex-aws/ex_aws_s3/security/advisories/GHSA-mwxg-gfj8-x32v> (advisory, related, vendor-advisory)
- <https://cna.erlef.org/cves/CVE-2026-131902.html> (related, web)
- <https://github.com/ex-aws/ex_aws_s3/commit/4ce4d72219c0cb8de9356278203d8ea780311b75> (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-131902](https://www.cve.org/CVERecord?id=CVE-2026-131902), CVE Terms of Use, modified 2026-11-25
- Erlang Ecosystem Foundation: [EEF-CVE-2026-131902](https://osv.dev/vulnerability/EEF-CVE-2026-131902), CC-BY-4.0, modified 2026-11-25
- NVD: [CVE-2026-131902](https://nvd.nist.gov/vuln/detail/CVE-2026-131902), Public domain, modified 2026-11-25

---

Page: https://cve.day/CVE-2026-131902 · Whole record: https://cve.day/CVE-2026-131902.json · Rebuilt by cve.day 2026-11-25T23:18:32.027Z
