XML injection via unescaped VersionId in ExAws.S3.delete_multiple_objects/3
- CVE-2026-131902
- GHSA-cqgf-72h7-vj5h
- EUVD-2026-133982
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.
Text from the CVE.org record.
Recommendation
ex-aws ex_aws_s3
- If you run a version from 2.0.0 to before 2.6.0update to 2.6.0 or laterMinor version change: check the release notes
Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
ex-aws ex_aws_s3
Affected versions Fixed in from 2.0.0 to before 2.6.0 2.6.0
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.