XML injection via unescaped VersionId in ExAws.S3.delete_multiple_objects/3
CVE-2026-131902Published 24 Nov 2026, 14:13 UTC
Real-world risk
1.5/ 10Low
Routine
If the vulnerable configuration applies to you: 3.3
PreliminaryFrom the CVSS vector only · confidence low
CVSS
5.9
scored by the vendor (CNA), CVSS 4.0
In plain words
No plain-language summary yet. The original description is below.
Original description (from EEF)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| ex_aws_s3Niche | >= 2.0.0, < 2.6.0 | 2.6.0 |
What to do
Update to a fixed version: 2.6.0.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Major data tamperingWrites or changes important data without gaining execution | From the CVSS vector | 0.70 |
| Attacker position | LocalMust already run code or have a shell on the machine | From the CVSS vector | 0.50 |
| Privileges needed | NoneNo account | From the CVSS vector | 1.00 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | UncommonNeeds a non-default feature that a minority enables | From the CVSS vector | 0.45 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T3: Public proof of concept (× 0.95)
A qualifying GitHub proof of concept, an unverified Exploit-DB entry, CISA's SSVC says PoC, or a reference tagged as an exploit
- Reference tagged as exploit (link)
- CISA SSVC: proof of concept
EPSS 0.5% chance of exploitation in 30 days (percentile 43), as of 2026-12-03.
The arithmetic
- Prerequisites multiplied together0.225
- Threat T3: Public proof of concept0.950
- 10 × impact 0.7 × prerequisites 0.225 × threat 0.951.496
- Rounded to one decimal between 0.1 and 101.5
Exploitation and evidence timeline
- 24 Nov 2026 Published
- 3 Dec 2026 Reference tagged as exploit first seen
- 3 Dec 2026 CISA SSVC: proof of concept first seen
- 3 Dec 2026 Risk 1.5 (cvss fallback)
Weakness
CWE-91
References
- https://github.com/ex-aws/ex_aws_s3/security/advisories/GHSA-mwxg-gfj8-x32vrelated, vendor-advisory
- https://cna.erlef.org/cves/CVE-2026-131902.htmlrelated
- https://osv.dev/vulnerability/EEF-CVE-2026-131902exploit, related
- https://github.com/ex-aws/ex_aws_s3/commit/4ce4d72219c0cb8de9356278203d8ea780311b75related
- https://github.com/ex-aws/ex_aws_s3/commit/eda0b9b9c63707f7db8d8f18c331df7fda57c397patch
- CVE-2026-131902 on CVE.org