CVE-2026-131902

published 24 Nov 2026 · updated 24 Nov 2026

XML injection via unescaped VersionId in ExAws.S3.delete_multiple_objects/3

5.9MediumCVSS 5.9

No exploitation in the wild has been reported. Fixed in 2.6.0 and eda0b9b9c63707f7db8d8f18c331df7fda57c397.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
ex-aws>=2.0.0 <2.6.0, >=4ce4d72219c0cb8de9356278203d8ea780311b75 <eda0b9b9c63707f7db8d8f18c331df7fda57c3972.6.0, eda0b9b9c63707f7db8d8f18c331df7fda57c397

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-131902 severity on Zeptric[![CVE-2026-131902](https://zeptric.io/badge/cve/CVE-2026-131902.svg)](https://zeptric.io/cve/CVE-2026-131902)