Skip to content
Medium 5.9

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

CVE-2026-131902 First seen on SecPulse

Affected packages

PackageAffected → Fixed
ex-awsex_aws_s3
≥ 4ce4d72219c0cb8de9356278203d8ea780311b75, < eda0b9b9c63707f7db8d8f18c331df7fda57c397→ eda0b9b9c63707f7db8d8f18c331df7fda57c397
Hexex_aws_s3
≥ 2.0.0, < 2.6.0→ 2.6.0
Original description The description as published by 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 request body by placing each object's version between tags without XML escaping. A version such as v1important-filexv2 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.

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details