XML injection in ExAws S3 batch delete lets attackers remove extra objects
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- Present
- Impact type
- —
- Confidentiality · integrity · availability
- None · High · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA.
Summary
ex_aws_s3 from 2.0.0 before 2.6.0 does not XML-escape object version IDs when ExAws.S3.delete_multiple_objects/3 builds the Delete request body. This XML injection (CWE-91) lets an attacker who controls a version ID add objects to the batch delete. An attacker with local access and low privileges who can supply version IDs can cause S3 to delete objects the application never listed, including other users' objects in the same bucket.
Written with Claude Haiku 5.5 from the sources below · 2026-11-25
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| ex-aws | ex_aws_s3 | 2.0.0 to before 2.6.0 | 2.6.0 | Patch available | CNA |
- ex_aws_s3 Vendorex-aws Affected 2.0.0 to before 2.6.0 Fixed in 2.6.0 Patch available CNA
CPE names CNA · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:ex-aws:ex_aws_s3:*:*:*:*:*:*:*:* | — | — | — |
- cpe:2.3:a:ex-aws:ex_aws_s3:*:*:*:*:*:*:*:* Versions — — ·—
Remediation
Upgrade ex_aws_s3 to version 2.6.0.
Written with Claude Haiku 5.5 from the sources below · 2026-11-25
- Fix · CNA ex_aws_s3 (ex-aws) Fixed in 2.6.0
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
ex-aws ex_aws_s3 2.6.0
8 records Highest priority Priority MEDIUM 3 MEDIUM, 5 LOW
Other records, highest priority first
- TI-2026-97430 XML injection in ex_aws_s3 bucket configuration buildersPriority MEDIUM 64
- TI-2026-97429 XML injection in ex_aws_s3 object and bucket taggingPriority MEDIUM 44
- TI-2026-97432 XML injection in ExAws.S3 lifecycle rule builder lets attackers add actionsPriority LOW 30
- Release ·
ex-aws ex_aws_s3 eda0b9b9c63707f7db8d8f18c331df7fda57c397
4 records Highest priority Priority MEDIUM 3 MEDIUM, 1 LOW
Other records, highest priority first
- TI-2026-97430 XML injection in ex_aws_s3 bucket configuration buildersPriority MEDIUM 64
- TI-2026-97429 XML injection in ex_aws_s3 object and bucket taggingPriority MEDIUM 44
- TI-2026-97432 XML injection in ExAws.S3 lifecycle rule builder lets attackers add actionsPriority LOW 30
Timeline
- 2026-11-24 Threatist record created from CVE-2026-131902
- 2026-11-24 Alias added: GHSA-cqgf-72h7-vj5h
- 2026-11-25 CISA SSVC decision points changed
References
More ex-aws vulnerabilities
- TI-2026-97430 XML injection in ex_aws_s3 bucket configuration builders CVSS 4.0MEDIUM 6.9
- TI-2026-97429 XML injection in ex_aws_s3 object and bucket tagging CVSS 4.0LOW 2.1
- TI-2026-34676 ex_aws_sns SigningCertURL not validated in verify_message/1 CVSS 4.0HIGH 8.7
- TI-2026-97227 ex_aws IMDSv2 token request follows HTTP redirects (SSRF) CVSS 4.0HIGH 7.6
- TI-2026-97235 ex_aws normalizes .. in S3 object keys client-side, allowing bucket or key-prefix escape CVSS 4.0HIGH 7.4
- TI-2026-97432 XML injection in ExAws.S3 lifecycle rule builder lets attackers add actions CVSS 4.0HIGH 7.0
Sources
- CVE-2026-131902 · CVE Program
- CVE-2026-131902 · NVD
- FIRST EPSS
- GHSA-cqgf-72h7-vj5h · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences