cve.bz

CVE-2026-131902 XML injection via unescaped VersionId in ExAws.S3.delete_multiple_objects/3

5.9 mediumFix available

Medium (5.9) in ex-aws ex aws s3. Fixed in ex_aws_s3 2.6.0.

On this page
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.

Severity

CVSS 4.0

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:N
CWE
CWE-91 XML Injection (Blind XPath Injection)
OWASP Top 10
A05:2025 Injection
Published
Modified
Assigned by
EEF (CNA)
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

  • ex_aws_s3 (Hex): fixed in 2.6.0

Ask an AI about this CVE

Show the promptExplain CVE-2026-131902 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-131902?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-131902?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-131902 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
ex-aws ex_aws_s3from 2.0.0 before 2.6.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
EEF-CVE-2026-131902Hexex_aws_s3>=2.0.0 <2.6.02.6.0
EEF-CVE-2026-131902v2.5.9, v2.5.8, v2.5.7, v2.5.5, v2.5.4 and 13 moreno fix published

Attack patterns (CAPEC)

  • CAPEC-83 XPath Injection Likelihood: High · Severity: High
  • CAPEC-250 XML Injection Likelihood: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON