{"id":"CVE-2026-131902","aliases":["EEF-CVE-2026-131902","GHSA-mwxg-gfj8-x32v"],"title":"XML injection via unescaped VersionId in ExAws.S3.delete_multiple_objects/3","originalDescription":"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.\n\ndelete_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.\n\nThis issue affects ex_aws_s3: from 2.0.0 before 2.6.0.","severity":{"cvss":5.9,"vector":"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","label":"medium"},"exploitation":{"kev":null,"epss":{"score":0.00475,"percentile":0.33376},"exploitDb":null},"affected":[{"ecosystem":"Hex","name":"ex_aws_s3","range":">=2.0.0, <2.6.0","fixed":"2.6.0"},{"ecosystem":"unknown","name":"ex-aws/ex_aws_s3","range":">=4ce4d72219c0cb8de9356278203d8ea780311b75, <eda0b9b9c63707f7db8d8f18c331df7fda57c397","fixed":"eda0b9b9c63707f7db8d8f18c331df7fda57c397"},{"ecosystem":"unknown","name":"ex_aws_s3","range":">=2.0.0, <2.6.0","fixed":"2.6.0"}],"references":[{"url":"https://github.com/ex-aws/ex_aws_s3/security/advisories/GHSA-mwxg-gfj8-x32v","type":"vendor-advisory"},{"url":"https://cna.erlef.org/cves/CVE-2026-131902.html","type":"related"},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-131902","type":"related"},{"url":"https://github.com/ex-aws/ex_aws_s3/commit/4ce4d72219c0cb8de9356278203d8ea780311b75","type":"related"},{"url":"https://github.com/ex-aws/ex_aws_s3/commit/eda0b9b9c63707f7db8d8f18c331df7fda57c397","type":"patch"},{"url":"https://hex.pm/packages/ex_aws_s3","type":"package"},{"url":"https://github.com","type":"web"},{"url":"https://repo.hex.pm","type":"web"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/131xxx/CVE-2026-131902.json","type":"advisory"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-131902","type":"advisory"},{"url":"https://github.com/ex-aws/ex_aws_s3","type":"package"}],"sources":[{"name":"nvd","at":"2026-11-25T20:25:28.521Z","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-131902","license":"NVD terms of use","firstSeenAt":"2026-11-24T15:42:17.562Z"},{"name":"osv","at":"2026-11-25T22:06:02.991Z","url":"https://osv.dev/vulnerability/CVE-2026-131902","license":"CC-BY 4.0","firstSeenAt":"2026-11-24T14:36:23.889Z"},{"name":"cvelistV5","at":"2026-11-29T04:10:58.703Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-131902","license":"CVE Terms of Use","firstSeenAt":"2026-11-24T14:33:32.498Z"}],"firstSeenAt":"2026-11-24T14:33:32.498Z","publishedAt":"2026-11-24T14:13:43.953Z","modifiedAt":"2026-11-25T21:01:05.533Z"}