Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessControl object version id input
-
DeliveryInject crafted XML closing and opening tags
-
ExploitUnescaped version builds malformed <Delete> body
-
ExecutionS3 processes injected <Object> entries
-
ImpactUnlisted or other-tenant objects deleted
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization XPath query parameterization
|
| Exploitation Conditions | Exploitation requires that the consuming application call ExAws.S3.delete_multiple_objects/3 with object version ids that are attacker-controlled (for example, sourced from user-supplied request parameters) and passed through without sanitization, on ex_aws_s3 versions 2.0.0 through 2.5.x. The crafted version id must contain XML markup that closes the current <Object> and opens additional <Object>/<Key> elements to be injected into the <Delete> body. Limiting factors: the application must both accept untrusted version ids and reach this function, the affected objects must be deletable within the same bucket/credentials context, and the bug is fully fixed in 2.6.0; there is no user interaction and no authentication to the library itself, but the vendor-assigned AT:P reflects the required control over the version id input. |
| Impact | This is a moderate-severity, data-destruction flaw rather than a high-urgency emergency. The vendor CVSS 4.0 score is 5.9 with vector AV:L/AC:L/AT:P/PR:N/UI:N and vulnerable-system impact VI:H/VA:H, SC/SI/SA:N - meaning the realistic consequence is unauthorized deletion of S3 objects (integrity and availability), with no confidentiality exposure. AT:P signals that exploitation has an attack requirement: the application must actually pass an attacker-controlled object version id into delete_multiple_objects/3, which meaningfully limits exposure to apps that build batch-delete requests from untrusted version id values. No EPSS score, no CISA KEV listing, and no confirmed public exploit code are present in the supplied data, so there is no evidence of active or widespread exploitation; the vuln.today decision label is 'this_month,' consistent with a real but not emergency priority. One signal worth verifying: the vendor set AV:L, yet XML-injected version ids can plausibly originate from remote/untrusted input in many applications - if so the practical attack vector is closer to network-reachable, which would raise real-world risk; confirm where version ids enter the application. PR:N indicates no authentication to the library itself, but the input is application-supplied, so effective exploitability is governed by how the consuming app sources version ids. |
| Exploit ScenarioDerived | In a multi-tenant Elixir application that lets users delete specific versions of their own S3 objects, an attacker submits a crafted version id containing XML tags that close the caller's <Object> element and open new <Object><Key> entries. Because the library writes the version id between <VersionId> tags without XML escaping, S3 receives extra delete entries and removes objects the application never listed - including other tenants' objects in the same bucket. No public exploit identified at time of analysis; the flaw and fix are documented in the vendor advisory and patch commit. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 24, 2026
Improper XML escaping in ExAws.S3's delete_multiple_objects/3 lets an attacker who controls an object version id injected into the batch-delete request body add arbitrary <Object><Key> entries, causing S3 to delete objects the application never listed - including other users' objects in the same bucket. The flaw affects ex_aws_s3 versions 2.0.0 through 2.5.x and is fixed in 2.6.0; exploitation requires that the consuming Elixir/Erlang application pass an unsanitized, attacker-supplied version id to that function, and no authentication against the library itself is required per the CVSS PR:N metric, with the vendor's AT:P reflecting the prerequisite of controlling that input. No public exploit code has been identified at time of analysis, and this is a moderate-severity data-destruction issue prioritised for remediation this month rather than an emergency.
RemediationAI
Vendor-released patch: ex_aws_s3 2.6.0. Upgrade the dependency constraint in mix.exs to 2.6.0 or later and re-resolve with mix deps.update ex_aws_s3, then rebuild and redeploy; confirm the lockfile no longer pins 2.0.0-2.5.x. The fix is carried by the upstream commits https://github.com/ex-aws/ex_aws_s3/commit/eda0b9b9c63707f7db8d8f18c331df7fda57c397 (patch) and https://github.com/ex-aws/ex_aws_s3/commit/4ce4d72219c0cb8de9356278203d8ea780311b75, with details in the advisory https://github.com/ex-aws/ex_aws_s3/security/advisories/GHSA-mwxg-gfj8-x32v. Where an immediate upgrade is not possible, the exposure is governed by whether untrusted data reaches the version-id argument: restrict the values passed to delete_multiple_objects/3 to ids matching the expected S3 version-id character set and reject any containing <, >, &, " or ', since such characters are what allow the <Object> element to be closed and new ones opened, at the cost of breaking callers that legitimately handle unusual version ids; alternatively stop sourcing version ids from user-controlled request parameters and resolve them server-side from a trusted lookup, which removes the injection primitive entirely for that call path. Reducing the permissions attached to the credentials used for batch deletes (narrowing s3:DeleteObjectVersion / s3:DeleteObject to the specific prefixes the application owns) limits how many objects an injected batch can destroy but does not prevent deletion within that scope. Because the flaw is in the library's request serialization, filtering at the network or S3 bucket-policy layer cannot distinguish injected <Object> entries from legitimate ones.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
ex_aws_s3 is the Amazon S3 client library for Elixir (module ExAws.S3), used by Elixir and Erlang applications to talk to S3-compatible object stores. The S3 multi-object delete API requires a <Delete> XML document in the POST body, with each target object represented as an <Object> element containing <Key> and optional <VersionId> children. delete_multiple_objects/3 in lib/ex_aws/s3.ex assembles that document by interpolating each caller-supplied version id directly between <VersionId> tags without XML escaping, which places the function in CWE-91 (XML Injection). Because the injected text is parsed by S3 as request structure rather than data, a value such as v1</VersionId></Object><Object><Key>important-file</Key></Object><Object><Key>x</Key><VersionId>v2 terminates the caller's <Object> element and opens additional ones, so the batch delete submitted to S3 covers keys and version ids the application never enumerated. The XPCERT/EEF-assigned CVSS 4.0 vector (AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:H) and the independent CVSS 3.1 assessment (AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H) agree on high integrity and availability impact with no confidentiality impact: the primitive is destructive (object deletion and version removal), not read-oriented. The trigger path is only reachable when the application sources version ids from untrusted input and forwards them to this function; AT:P and AC:H in the respective vectors capture exactly that prerequisite, not any race or timing condition. CPE records list the package as cpe:2.3:a:ex-aws:ex_aws_s3 with wildcard versioning, so the authoritative version range comes from the advisory text: 2.0.0 inclusive up to, but excluding, 2.6.0.
Know when Elixir gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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 ids can arrive from untrusted remote input (AV:N); exploitation depends on the app passing attacker-controlled version ids, a precondition captured as AC:H; impact is object deletion (I:H/A:H), with no confidentiality loss.
Primary rating from Vendor (EEF).
CVSS VectorVendor: EEF
DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.
Unbounded recursion in the Elixir `protobuf` Hex package (versions >= 0.8.0, < 0.16.1) lets unauthenticated remote attac
Remote code execution in the Elixir Flop pagination library affects versions 0.8.0 through 0.26.6, 0.27.0 through 0.27.2
Improper JWT signature verification in Dashbit's nimble_zta (0.1.2 up to but not including 0.1.3) lets an unauthenticate
Session-swapping authentication bypass in the Elixir library AshAuthentication (versions 4.10.0 before 4.15.0 and 5.0.0-
Account takeover in AshAuthentication (Elixir/Ash) 4.14.0 through 4.14.x and 5.0.0-rc.10 through 5.0.0-rc.13 lets unauth
Authentication bypass in the Elixir library ash_authentication lets an attacker who operates one federated identity-prov
Server-Side Request Forgery protection bypass in the Elixir safeurl library (versions 0.1.0 and later) allows unauthenti
Arbitrary code execution in applications running the Elixir db_connection library 1.1.0 through 2.10.2 is possible when
Unauthenticated remote CPU exhaustion in mtrudel Bandit's HTTP/2 server (versions before 1.14.0) is achievable by holdin
Unbounded per-connection memory and CPU growth in the Elixir Bandit HTTP/2 server (0.3.6 up to 1.14.0) lets an unauthent
Unauthenticated remote denial of service in the Elixir HTTP server Bandit (mtrudel/bandit) from 0.1.0 before 1.14.0 lets
Unauthenticated remote attackers can consume disproportionate server CPU on Bandit (mtrudel/bandit, Elixir/Erlang) by se
EUVD-2026-133982
GHSA-cqgf-72h7-vj5h
NVD
CVE.org
EPSS
VulDB
Exploit-DB