[MEDIUM 5.9] # CVE-2026-131902: XML Injection vulnerability in ex-aws ex_aws_s3 allows an attacker who controls an object version id passed to...
CVE-2026-131902 · severity: MEDIUM · CVSS 5.9 (v4.0)
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.
Details
- status: Received
- published: 2026-11-24 10:17 EST
- last modified: 2026-11-24 10:17 EST
- weakness: CWE-91
- vector:
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
References
- NVD: CVE-2026-131902
- https://cna.erlef.org/cves/CVE-2026-131902.html
- https://github.com/ex-aws/ex_aws_s3/commit/4ce4d72219c0cb8de9356278203d8ea780311b75
- https://github.com/ex-aws/ex_aws_s3/commit/eda0b9b9c63707f7db8d8f18c331df7fda57c397
- https://github.com/ex-aws/ex_aws_s3/security/advisories/GHSA-mwxg-gfj8-x32v
- https://osv.dev/vulnerability/EEF-CVE-2026-131902
-- EOF --