CVE-2026-131902
published medium CVSS 4.0 · 5.9XML injection via unescaped VersionId in ExAws.S3.delete_multiple_objects/3
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| ex-aws | — | ex_aws_s32.0.0 to < 2.6.0 · Other versions: unaffected | Affected | Not stated | EEF |
| ex-aws | — | ex-aws/ex_aws_s3ex_aws_s3 · 4ce4d72219c0cb8de9356278203d8ea780311b75 to < eda0b9b9c63707f7db8d8f18c331df7fda57c397 · Other versions: unaffected | Affected | Not stated | EEF |
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 <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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 5.9 / 10
- Severity
- medium
- Provider
- EEF · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| ex-aws | ex_aws_s3 | 2.0.0 to < 2.6.0 (affected · semver)Default: unaffected | EEF · cna |
| ex-aws | ex_aws_s3 | 4ce4d72219c0cb8de9356278203d8ea780311b75 to < eda0b9b9c63707f7db8d8f18c331df7fda57c397 (affected · git)Default: unaffected | EEF · cna |
Weaknesses
1- CWE-91 CWE-91 XML Injection
References
5- EEF CNA record for CVE-2026-131902 https://cna.erlef.org/cves/CVE-2026-131902.html
- Introducing commit 4ce4d72 in ex-aws/ex_aws_s3 https://github.com/ex-aws/ex_aws_s3/commit/4ce4d72219c0cb8de9356278203d8ea780311b75
- Fix commit eda0b9b in ex-aws/ex_aws_s3 https://github.com/ex-aws/ex_aws_s3/commit/eda0b9b9c63707f7db8d8f18c331df7fda57c397
- Unescaped VersionId in delete_multiple_objects: XML injection https://github.com/ex-aws/ex_aws_s3/security/advisories/GHSA-mwxg-gfj8-x32v
- OSV record EEF-CVE-2026-131902 https://osv.dev/vulnerability/EEF-CVE-2026-131902
Provider assertions
2EEF · cna
XML injection via unescaped VersionId in ExAws.S3.delete_multiple_objects/3
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 7b5e100db19515e4719b75997f0555ce8c050764a1d70fb8e2e656a0f430f688
- Ingested
- 25 Nov 2026, 20:13:30 UTC
- Source record
- Official CVE record