{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "4ce4d72219c0cb8de9356278203d8ea780311b75"
                  },
                  {
                    "fixed": "eda0b9b9c63707f7db8d8f18c331df7fda57c397"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "introduced": "2.0.0"
                  },
                  {
                    "fixed": "2.6.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "4ce4d72219c0cb8de9356278203d8ea780311b75"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "range": [
                  {
                    "fixed": "eda0b9b9c63707f7db8d8f18c331df7fda57c397"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              }
            ]
          },
          "events": [
            {
              "introduced": "4ce4d72219c0cb8de9356278203d8ea780311b75"
            },
            {
              "fixed": "eda0b9b9c63707f7db8d8f18c331df7fda57c397"
            },
            {
              "introduced": "4cd774ebedc8a387842cb3a7ad4a7f9b86f9f5e2"
            },
            {
              "fixed": "50ae16bb1bf744742cf405778f309285aa6cb869"
            },
            {
              "fixed": "4ce4d72219c0cb8de9356278203d8ea780311b75"
            }
          ],
          "repo": "https://github.com/ex-aws/ex_aws_s3",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-mwxg-gfj8-x32v"
  ],
  "database_specific": {
    "cna_assigner": "EEF",
    "cwe_ids": [
      "CWE-91"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/131xxx/CVE-2026-131902.json"
  },
  "details": "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 \u003cDelete\u003e request body by placing each object's version between \u003cVersionId\u003e tags without XML escaping. A version such as v1\u003c/VersionId\u003e\u003c/Object\u003e\u003cObject\u003e\u003cKey\u003eimportant-file\u003c/Key\u003e\u003c/Object\u003e\u003cObject\u003e\u003cKey\u003ex\u003c/Key\u003e\u003cVersionId\u003ev2 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.",
  "id": "CVE-2026-131902",
  "modified": "2026-11-24T15:45:27.657503355Z",
  "published": "2026-11-24T14:13:43.953Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://cna.erlef.org/cves/CVE-2026-131902.html"
    },
    {
      "type": "WEB",
      "url": "https://github.com"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/131xxx/CVE-2026-131902.json"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/ex-aws/ex_aws_s3"
    },
    {
      "type": "FIX",
      "url": "https://github.com/ex-aws/ex_aws_s3/commit/4ce4d72219c0cb8de9356278203d8ea780311b75"
    },
    {
      "type": "FIX",
      "url": "https://github.com/ex-aws/ex_aws_s3/commit/eda0b9b9c63707f7db8d8f18c331df7fda57c397"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/ex-aws/ex_aws_s3/security/advisories/GHSA-mwxg-gfj8-x32v"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-131902"
    },
    {
      "type": "WEB",
      "url": "https://osv.dev/vulnerability/EEF-CVE-2026-131902"
    },
    {
      "type": "WEB",
      "url": "https://repo.hex.pm"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "XML injection via unescaped VersionId in ExAws.S3.delete_multiple_objects/3"
}