{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-131902",
        "assignerOrgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
        "state": "PUBLISHED",
        "assignerShortName": "EEF",
        "dateReserved": "2026-11-24T13:01:43.723Z",
        "datePublished": "2026-11-24T14:13:43.953Z",
        "dateUpdated": "2026-11-25T20:07:32.875Z"
    },
    "containers": {
        "cna": {
            "affected": [
                {
                    "collectionURL": "https://repo.hex.pm",
                    "cpes": [
                        "cpe:2.3:a:ex-aws:ex_aws_s3:*:*:*:*:*:*:*:*"
                    ],
                    "defaultStatus": "unaffected",
                    "modules": [
                        "'Elixir.ExAws.S3'"
                    ],
                    "packageName": "ex_aws_s3",
                    "packageURL": "pkg:hex/ex_aws_s3",
                    "product": "ex_aws_s3",
                    "programFiles": [
                        "lib/ex_aws/s3.ex"
                    ],
                    "programRoutines": [
                        {
                            "name": "'Elixir.ExAws.S3':delete_multiple_objects/3"
                        }
                    ],
                    "repo": "https://github.com/ex-aws/ex_aws_s3",
                    "vendor": "ex-aws",
                    "versions": [
                        {
                            "lessThan": "2.6.0",
                            "status": "affected",
                            "version": "2.0.0",
                            "versionType": "semver"
                        }
                    ]
                },
                {
                    "collectionURL": "https://github.com",
                    "cpes": [
                        "cpe:2.3:a:ex-aws:ex_aws_s3:*:*:*:*:*:*:*:*"
                    ],
                    "defaultStatus": "unaffected",
                    "modules": [
                        "'Elixir.ExAws.S3'"
                    ],
                    "packageName": "ex-aws/ex_aws_s3",
                    "packageURL": "pkg:github/ex-aws/ex_aws_s3",
                    "product": "ex_aws_s3",
                    "programFiles": [
                        "lib/ex_aws/s3.ex"
                    ],
                    "programRoutines": [
                        {
                            "name": "'Elixir.ExAws.S3':delete_multiple_objects/3"
                        }
                    ],
                    "repo": "https://github.com/ex-aws/ex_aws_s3",
                    "vendor": "ex-aws",
                    "versions": [
                        {
                            "lessThan": "eda0b9b9c63707f7db8d8f18c331df7fda57c397",
                            "status": "affected",
                            "version": "4ce4d72219c0cb8de9356278203d8ea780311b75",
                            "versionType": "git"
                        }
                    ]
                }
            ],
            "configurations": [
                {
                    "lang": "en",
                    "supportingMedia": [
                        {
                            "base64": false,
                            "type": "text/html",
                            "value": "<p>Reachable only when the application passes a version id derived, even partially, from untrusted input to <code>ExAws.S3.delete_multiple_objects/3</code>, for example a service that lets users delete a specific object version by id.</p>"
                        },
                        {
                            "base64": false,
                            "type": "text/markdown",
                            "value": "Reachable only when the application passes a version id derived, even partially, from untrusted input to `ExAws.S3.delete_multiple_objects/3`, for example a service that lets users delete a specific object version by id."
                        }
                    ],
                    "value": "Reachable only when the application passes a version id derived, even partially, from untrusted input to ExAws.S3.delete_multiple_objects/3, for example a service that lets users delete a specific object version by id."
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "cpeMatch": [
                                {
                                    "criteria": "cpe:2.3:a:ex-aws:ex_aws_s3:*:*:*:*:*:*:*:*",
                                    "versionEndExcluding": "2.6.0",
                                    "versionStartIncluding": "2.0.0",
                                    "vulnerable": true
                                }
                            ],
                            "negate": false,
                            "operator": "OR"
                        }
                    ],
                    "operator": "AND"
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "type": "finder",
                    "value": "Peter Ullrich"
                },
                {
                    "lang": "en",
                    "type": "reporter",
                    "value": "Peter Ullrich"
                },
                {
                    "lang": "en",
                    "type": "analyst",
                    "value": "Jonatan Männchen / EEF"
                },
                {
                    "lang": "en",
                    "type": "coordinator",
                    "value": "Peter Ullrich"
                },
                {
                    "lang": "en",
                    "type": "remediation developer",
                    "value": "Bernard Duggan"
                }
            ],
            "dateAssigned": "2026-11-24T14:13:22.000Z",
            "datePublic": "2026-11-24T14:13:43.000Z",
            "descriptions": [
                {
                    "lang": "en",
                    "supportingMedia": [
                        {
                            "base64": false,
                            "type": "text/html",
                            "value": "<p>XML Injection vulnerability in ex-aws ex_aws_s3 allows an attacker who controls an object version id passed to <code>ExAws.S3.delete_multiple_objects/3</code> to add objects to the batch delete.</p>\n<p><code>delete_multiple_objects/3</code> in <code>lib/ex_aws/s3.ex</code> builds the <code>&lt;Delete&gt;</code> request body by placing each object's <code>version</code> between <code>&lt;VersionId&gt;</code> tags without XML escaping. A version such as <code>v1&lt;/VersionId&gt;&lt;/Object&gt;&lt;Object&gt;&lt;Key&gt;important-file&lt;/Key&gt;&lt;/Object&gt;&lt;Object&gt;&lt;Key&gt;x&lt;/Key&gt;&lt;VersionId&gt;v2</code> 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.</p>\n<p>This issue affects ex_aws_s3: from 2.0.0 before 2.6.0.</p>"
                        },
                        {
                            "base64": false,
                            "type": "text/markdown",
                            "value": "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\n`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.\n\nThis issue affects ex_aws_s3: from 2.0.0 before 2.6.0."
                        }
                    ],
                    "value": "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."
                }
            ],
            "impacts": [
                {
                    "capecId": "CAPEC-250",
                    "descriptions": [
                        {
                            "lang": "en",
                            "supportingMedia": [
                                {
                                    "base64": false,
                                    "type": "text/html",
                                    "value": "<p>An attacker who controls a version id passed to <code>delete_multiple_objects/3</code> can make the batched delete request remove arbitrary additional objects in the same bucket, including objects belonging to other users or critical to the application. Services that let users delete a specific object version by id are affected.</p>"
                                },
                                {
                                    "base64": false,
                                    "type": "text/markdown",
                                    "value": "An attacker who controls a version id passed to `delete_multiple_objects/3` can make the batched delete request remove arbitrary additional objects in the same bucket, including objects belonging to other users or critical to the application. Services that let users delete a specific object version by id are affected."
                                }
                            ],
                            "value": "An attacker who controls a version id passed to delete_multiple_objects/3 can make the batched delete request remove arbitrary additional objects in the same bucket, including objects belonging to other users or critical to the application. Services that let users delete a specific object version by id are affected."
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV4_0": {
                        "Automatable": "NOT_DEFINED",
                        "Recovery": "NOT_DEFINED",
                        "Safety": "NOT_DEFINED",
                        "attackComplexity": "LOW",
                        "attackRequirements": "PRESENT",
                        "attackVector": "LOCAL",
                        "baseScore": 5.9,
                        "baseSeverity": "MEDIUM",
                        "privilegesRequired": "NONE",
                        "providerUrgency": "NOT_DEFINED",
                        "subAvailabilityImpact": "NONE",
                        "subConfidentialityImpact": "NONE",
                        "subIntegrityImpact": "NONE",
                        "userInteraction": "NONE",
                        "valueDensity": "NOT_DEFINED",
                        "vectorString": "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",
                        "version": "4.0",
                        "vulnAvailabilityImpact": "HIGH",
                        "vulnConfidentialityImpact": "NONE",
                        "vulnIntegrityImpact": "HIGH",
                        "vulnerabilityResponseEffort": "NOT_DEFINED"
                    },
                    "format": "CVSS",
                    "scenarios": [
                        {
                            "lang": "en",
                            "value": "GENERAL"
                        }
                    ]
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-91",
                            "description": "CWE-91 XML Injection",
                            "lang": "en",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
                "shortName": "EEF",
                "dateUpdated": "2026-11-24T14:13:43.953Z"
            },
            "references": [
                {
                    "name": "Unescaped VersionId in delete_multiple_objects: XML injection",
                    "tags": [
                        "vendor-advisory",
                        "related"
                    ],
                    "url": "https://github.com/ex-aws/ex_aws_s3/security/advisories/GHSA-mwxg-gfj8-x32v"
                },
                {
                    "name": "EEF CNA record for CVE-2026-131902",
                    "tags": [
                        "related"
                    ],
                    "url": "https://cna.erlef.org/cves/CVE-2026-131902.html"
                },
                {
                    "name": "OSV record EEF-CVE-2026-131902",
                    "tags": [
                        "related"
                    ],
                    "url": "https://osv.dev/vulnerability/EEF-CVE-2026-131902"
                },
                {
                    "name": "Introducing commit 4ce4d72 in ex-aws/ex_aws_s3",
                    "tags": [
                        "related"
                    ],
                    "url": "https://github.com/ex-aws/ex_aws_s3/commit/4ce4d72219c0cb8de9356278203d8ea780311b75"
                },
                {
                    "name": "Fix commit eda0b9b in ex-aws/ex_aws_s3",
                    "tags": [
                        "patch"
                    ],
                    "url": "https://github.com/ex-aws/ex_aws_s3/commit/eda0b9b9c63707f7db8d8f18c331df7fda57c397"
                }
            ],
            "source": {
                "discovery": "EXTERNAL"
            },
            "title": "XML injection via unescaped VersionId in ExAws.S3.delete_multiple_objects/3",
            "x_proofOfConcept": [
                {
                    "lang": "en",
                    "supportingMedia": [
                        {
                            "base64": false,
                            "type": "text/html",
                            "value": "<ol>\n<li>An application lets a user delete a version of their own object and calls <code>ExAws.S3.delete_multiple_objects(\"user-bucket\", [{key, version}])</code> with the user's <code>key</code> and <code>version</code>.</li>\n<li>The attacker sends the key <code>my-own-file</code> and the version <code>v1&lt;/VersionId&gt;&lt;/Object&gt;&lt;Object&gt;&lt;Key&gt;important-file&lt;/Key&gt;&lt;/Object&gt;&lt;Object&gt;&lt;Key&gt;x&lt;/Key&gt;&lt;VersionId&gt;v2</code>.</li>\n<li><code>delete_multiple_objects/3</code> interpolates the version unescaped into the <code>&lt;Delete&gt;</code> body.</li>\n<li>The body contains three <code>&lt;Object&gt;</code> entries, one of them <code>important-file</code>, which S3 deletes although the user never named it.</li>\n</ol>"
                        },
                        {
                            "base64": false,
                            "type": "text/markdown",
                            "value": "1. An application lets a user delete a version of their own object and calls `ExAws.S3.delete_multiple_objects(\"user-bucket\", [{key, version}])` with the user's `key` and `version`.\n2. The attacker sends the key `my-own-file` and the version `v1</VersionId></Object><Object><Key>important-file</Key></Object><Object><Key>x</Key><VersionId>v2`.\n3. `delete_multiple_objects/3` interpolates the version unescaped into the `<Delete>` body.\n4. The body contains three `<Object>` entries, one of them `important-file`, which S3 deletes although the user never named it."
                        }
                    ],
                    "value": "* An application lets a user delete a version of their own object and calls ExAws.S3.delete_multiple_objects(\"user-bucket\", [{key, version}]) with the user's key and version.\n* The attacker sends the key my-own-file and the version v1</VersionId></Object><Object><Key>important-file</Key></Object><Object><Key>x</Key><VersionId>v2.\n* delete_multiple_objects/3 interpolates the version unescaped into the <Delete> body.\n* The body contains three <Object> entries, one of them important-file, which S3 deletes although the user never named it."
                }
            ],
            "x_technicalAnalysis": [
                {
                    "lang": "en",
                    "supportingMedia": [
                        {
                            "base64": false,
                            "type": "text/html",
                            "value": "<p><strong>1. Selective escaping.</strong> When <code>delete_multiple_objects/3</code> in <code>lib/ex_aws/s3.ex</code> builds the <code>&lt;Delete&gt;</code> body, it escapes each object's key with <code>escape_xml_string/1</code> but emits the version from the same tuple raw: <code>\"&lt;VersionId&gt;\", version, \"&lt;/VersionId&gt;\"</code>.</p>\n<p><strong>2. Element break-out.</strong> XML metacharacters in <code>version</code> are read as markup. A value beginning <code>&lt;/VersionId&gt;&lt;/Object&gt;</code> closes the current object early, and the rest of the string can open further <code>&lt;Object&gt;...&lt;/Object&gt;</code> elements while keeping the document well-formed.</p>\n<p><strong>3. Extra deletes.</strong> The body POSTed to S3 lists more delete targets than the caller passed in, so a single crafted version id removes arbitrary additional objects in the bucket.</p>"
                        },
                        {
                            "base64": false,
                            "type": "text/markdown",
                            "value": "**1. Selective escaping.** When `delete_multiple_objects/3` in `lib/ex_aws/s3.ex` builds the `<Delete>` body, it escapes each object's key with `escape_xml_string/1` but emits the version from the same tuple raw: `\"<VersionId>\", version, \"</VersionId>\"`.\n\n**2. Element break-out.** XML metacharacters in `version` are read as markup. A value beginning `</VersionId></Object>` closes the current object early, and the rest of the string can open further `<Object>...</Object>` elements while keeping the document well-formed.\n\n**3. Extra deletes.** The body POSTed to S3 lists more delete targets than the caller passed in, so a single crafted version id removes arbitrary additional objects in the bucket."
                        }
                    ],
                    "value": "1. Selective escaping. When delete_multiple_objects/3 in lib/ex_aws/s3.ex builds the <Delete> body, it escapes each object's key with escape_xml_string/1 but emits the version from the same tuple raw: \"<VersionId>\", version, \"</VersionId>\".\n\n2. Element break-out. XML metacharacters in version are read as markup. A value beginning </VersionId></Object> closes the current object early, and the rest of the string can open further <Object>...</Object> elements while keeping the document well-formed.\n\n3. Extra deletes. The body POSTed to S3 lists more delete targets than the caller passed in, so a single crafted version id removes arbitrary additional objects in the bucket."
                }
            ]
        },
        "adp": [
            {
                "references": [
                    {
                        "url": "https://osv.dev/vulnerability/EEF-CVE-2026-131902",
                        "tags": [
                            "exploit"
                        ]
                    }
                ],
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2026-11-25T20:07:05.887699Z",
                                "id": "CVE-2026-131902",
                                "options": [
                                    {
                                        "Exploitation": "poc"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "total"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2026-11-25T20:07:32.875Z"
                }
            }
        ]
    }
}