CVE-2026-131902
NVD
Vulnerability Summary
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.
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.
CVSS v4.0 Base Metrics — Score 5.9 (MEDIUM)
CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:NAttack VectorLocal
Attack ComplexityLow
Attack RequirementsPresent
Privileges RequiredNone
User InteractionNone
Confidentiality (Vulnerable System)None
Integrity (Vulnerable System)High
Availability (Vulnerable System)High
Confidentiality (Subsequent System)None
Integrity (Subsequent System)None
Availability (Subsequent System)None
Affected & Patched Versions
- ex-aws ex_aws_s3 >= 2.0.0 and < 2.6.0
- ex-aws ex_aws_s3 >= 4ce4d72219c0cb8de9356278203d8ea780311b75 and < eda0b9b9c63707f7db8d8f18c331df7fda57c397
- ex-aws ex_aws_s3 2.6.0
- ex-aws ex_aws_s3 eda0b9b9c63707f7db8d8f18c331df7fda57c397
What to do
Fix it during your normal patch cycle. No exploitation is confirmed yet.
- Check whether you run ex-aws ex_aws_s3 and which version.
- Update to a patched version listed above, then confirm the new version.
Timeline
- Nov 24, 2026Published
- Nov 25, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new ex-aws ex_aws_s3 CVEsYou are reading CVE-2026-131902. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsExternal References
- Vendor Advisoryhttps://github.com/ex-aws/ex_aws_s3/security/advisories/GHSA-mwxg-gfj8-x32v
- Referencehttps://cna.erlef.org/cves/CVE-2026-131902.html
- Referencehttps://osv.dev/vulnerability/EEF-CVE-2026-131902
- Patchhttps://github.com/ex-aws/ex_aws_s3/commit/4ce4d72219c0cb8de9356278203d8ea780311b75
- Patchhttps://github.com/ex-aws/ex_aws_s3/commit/eda0b9b9c63707f7db8d8f18c331df7fda57c397
Data last checked: Nov 30, 2026 11:12 UTC