Skip to main content

ex_aws_s3 CVE-2026-131902

| EUVDEUVD-2026-133982 MEDIUM
XML Injection (aka Blind XPath Injection) (CWE-91)
2026-11-24 EEF GHSA-cqgf-72h7-vj5h
5.9
CVSS 4.0 · Vendor: EEF
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Control object version id input
  2. Delivery
    Inject crafted XML closing and opening tags
  3. Exploit
    Unescaped version builds malformed <Delete> body
  4. Execution
    S3 processes injected <Object> entries
  5. Impact
    Unlisted 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

ex_aws_s3 4ce4d72219c0cb8de9356278203d8ea780311b75 <eda0b9b9c63707f7db8d8f18c331df7fda57c397
ex_aws_s3 2.0.0 <2.6.0

Affected Packages

euvd ex_aws_s3 fix: 2.6.0

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

Vendor (EEF) PRIMARY 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
vuln.today AI 7.4 HIGH

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.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H
4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (EEF).

CVSS VectorVendor: EEF

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

EPSS Score
0.3%
Top 85% exploitable
Prevalence
Low
de facto S3 client for Elixir, but only within the niche Elixir ecosystem
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

More in Elixir

View all
CVE-2026-54451 HIGH POC
8.2 Jul 15

Unbounded recursion in the Elixir `protobuf` Hex package (versions >= 0.8.0, < 0.16.1) lets unauthenticated remote attac

CVE-2026-91187 CRITICAL
9.3 Sep 24

Improper JWT signature verification in Dashbit's nimble_zta (0.1.2 up to but not including 0.1.3) lets an unauthenticate

CVE-2026-130411 CRITICAL
9.2 Nov 24

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

CVE-2026-76949 CRITICAL
9.1 Sep 17

Session-swapping authentication bypass in the Elixir library AshAuthentication (versions 4.10.0 before 4.15.0 and 5.0.0-

CVE-2026-88952 CRITICAL
9.1 Sep 17

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

CVE-2026-91039 CRITICAL
9.1 Sep 17

Authentication bypass in the Elixir library ash_authentication lets an attacker who operates one federated identity-prov

CVE-2026-77866 CRITICAL
9.0 Sep 15

Server-Side Request Forgery protection bypass in the Elixir safeurl library (versions 0.1.0 and later) allows unauthenti

CVE-2026-133555 HIGH
8.9 Nov 24

Arbitrary code execution in applications running the Elixir db_connection library 1.1.0 through 2.10.2 is possible when

CVE-2026-108529 HIGH
8.7 Oct 26

Unauthenticated remote CPU exhaustion in mtrudel Bandit's HTTP/2 server (versions before 1.14.0) is achievable by holdin

CVE-2026-110499 HIGH
8.7 Oct 26

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

CVE-2026-111101 HIGH
8.7 Oct 26

Unauthenticated remote denial of service in the Elixir HTTP server Bandit (mtrudel/bandit) from 0.1.0 before 1.14.0 lets

CVE-2026-113436 HIGH
8.7 Oct 26

Unauthenticated remote attackers can consume disproportionate server CPU on Bandit (mtrudel/bandit, Elixir/Erlang) by se

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy