Skip to content
DayZeroHub
Medium Not yet writtenCVSS 5.9CVE-2026-131902

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

ex-aws ex_aws_s3

Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.

Summary

CVE-2026-131902: medium-severity vulnerability (CVSS 5.9) in ex-aws ex_aws_s3.

What happened

Original description from the source: 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.

Why it matters

Medium severity, CVSS 5.9.

Affected products and versions

ex-aws ex_aws_s3 >= 2.0.0, < 2.6.0; ex-aws ex_aws_s3 >= 4ce4d72219c0cb8de9356278203d8ea780311b75, < eda0b9b9c63707f7db8d8f18c331df7fda57c397

ProductVersionsFixed in
ex-aws ex_aws_s3>= 2.0.0, < 2.6.0—
ex-aws ex_aws_s3>= 4ce4d72219c0cb8de9356278203d8ea780311b75, < eda0b9b9c63707f7db8d8f18c331df7fda57c397—

Action recommended by the source

See the official references for the fix or mitigation.

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Weaknesses (CWE): CWE-91

Relevant change history

  1. Published

    Preliminary advisory published.