All vulnerabilities

Hex

CVE-2026-131902

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

Severity
Medium 5.9
Published
24 Nov 2026
Last changed
24 Nov 2026
Added to UpHeron
24 Nov 2026
Fixed in
2.6.0
Weakness
XML injection (CWE-91)
Attack
Needs local access · Only under certain conditions · No login needed · No user action needed
Attacker can
Change data · Take it down
CVSS vector
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
Sources
CVE Program

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 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.

From the CVE Program.

Affected software

SoftwareAffected versions
ex_aws_s3Hex · osv:Hex:ex_aws_s3
  • From 2.0.0 before 2.6.0

About ex_aws_s3

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-131902