Incident response on call, 24/7: +385 98 1900 984NewIR Retainer: a team on contract before an attack
HR · EN
Medium 5.9CVE-2026-131902

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

Published 24/11/2026 · Updated 25/11/2026 · ex-aws ex_aws_s3

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.

Affected products and versions

ex-aws ex_aws_s32.0.0 – < 2.6.0Fixed in: 2.6.0
ex-aws ex_aws_s34ce4d72219c0cb8de9356278203d8ea780311b75 – < eda0b9b9c63707f7db8d8f18c331df7fda57c397Fixed in: eda0b9b9c63707f7db8d8f18c331df7fda57c397

CVSS vector, explained

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

Attack vector
Local
Attack complexity
Low
Attack requirements
Present
Privileges required
None (no login)
User interaction
Not required
Confidentiality
None
Integrity
High impact
Availability
High impact

Weakness type (CWE)

References

Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.