Skip to main content

ex_aws_s3 EUVDEUVD-2026-134130

| CVE-2026-63581 MEDIUM
XML Injection (aka Blind XPath Injection) (CWE-91)
2026-11-24 EEF GHSA-wcfr-j3j4-h98p
6.9
CVSS 4.0 · Vendor: EEF
View

Attack ChainAIDerived

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

  1. Access
    Submit config field with XML metacharacters
  2. Delivery
    Value reaches put_bucket_* builder
  3. Exploit
    Unescaped interpolation closes element early
  4. Execution
    App signs and sends crafted XML to AWS
  5. Impact
    AWS applies attacker-injected configuration nodes

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization XPath query parameterization
Exploitation Conditions

Requires an affected version (2.5.9 up to but not including 2.6.0) and that the application actually call one of the four affected builders - ExAws.S3.put_bucket_logging/2, put_bucket_notification/2, put_bucket_replication/2, or put_bucket_website/2 - with a value an attacker can influence, specifically the logging TargetBucket/TargetPrefix, a notification ARN, a replication destination or Account, or a website redirect HostName. The realistic setting is a multi-tenant deployment where tenants configure their own bucket settings and that input is passed through unescaped. Limiting factors: only these four builders are affected; the attacker must be able to set one of those exact fields and it must reach the builder without prior escaping; impact is confined to the integrity of the XML bucket-configuration request the app signs and sends to AWS (VI:H, SC:L/SI:L) with no confidentiality or availability impact and no code execution on the host; the local vector (AV:L) means exploitation flows through the hosting application rather than being directly network-reachable.

Impact

This is a medium-severity integrity issue (CVSS 4.0 base 6.9) whose real-world priority depends heavily on deployment specifics rather than broad exploitability. The CNA (EEF) vector CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:L/SI:L/SA:N describes a local-vector, low-complexity flaw with no privileges or user interaction required, integrity-only impact on the vulnerable system (VI:H) and limited subsequent-system impact on AWS (SC:L/SI:L); there is no confidentiality or availability impact. No KEV listing is present, so this is not confirmed actively exploited, and no EPSS score was supplied, so statistical exploitation likelihood cannot be stated. No public exploit was identified at time of analysis (the referenced GitHub commits are the fix, not exploit code). The vuln.today decision label is 'this_month' (prioritize within a month, not an emergency). Note a tension worth verifying: the description frames the attacker as someone who 'can influence one of the interpolated field values' in a multi-tenant app - which can read as remotely-supplied input - yet the CNA scored AV:L, reflecting that the trigger is caller-supplied data routed through the hosting application rather than direct network reach to the vulnerable routine; defenders should map which of their inputs actually reach these four builders. Net: a real but conditional issue, not a high-CVSS-but-no-mechanism theoretical, driven by whether attacker-influenced values flow unescaped into the affected bucket-configuration functions.

Exploit ScenarioDerived

In a multi-tenant Elixir/Phoenix application that lets tenants configure their own S3 bucket settings, a tenant sets a field such as the logging target, a notification ARN, a replication destination/Account, or a website redirect HostName to a value containing XML metacharacters. Because the bucket-configuration builders interpolate caller-supplied values directly into the request body without routing them through escape_xml_string/1, the value closes the intended element early and injects attacker-chosen configuration nodes into the XML the application then signs and sends to AWS. No public exploit was identified; the trigger is supplying crafted values to put_bucket_logging/2, put_bucket_notification/2, put_bucket_replication/2, or put_bucket_website/2, and low attack complexity (AC:L) means no special timing or grooming is involved.

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

XML injection in ex_aws_s3 2.5.9 before 2.6.0 lets an attacker who can influence values passed to the bucket-configuration builders inject arbitrary XML elements into the signed S3 request body. Only applications that call put_bucket_logging/2, put_bucket_notification/2, put_bucket_replication/2, or put_bucket_website/2 with attacker-influenced logging target/prefix, notification ARN, replication destination/Account, or website redirect HostName are exposed, most plausibly in multi-tenant deployments. No public exploit has been identified at time of analysis; the CVSS 4.0 base score is 6.9, and impact is integrity-only with no confidentiality or availability effect and no host code execution.

RemediationAI

Vendor-released patch: upgrade ex_aws_s3 to 2.6.0, as documented in the vendor advisory https://github.com/ex-aws/ex_aws_s3/security/advisories/GHSA-cf93-7gwh-6w98; the patch commit is https://github.com/ex-aws/ex_aws_s3/commit/eda0b9b9c63707f7db8d8f18c331df7fda57c397. No vendor-documented workaround is provided, so updating is the complete fix. As a deployment-specific compensating control, applications can prevent attacker influence over the affected field values or reject XML metacharacters in TargetBucket/TargetPrefix, notification ARNs, replication destination/Account, and website redirect HostName before calling the four builders; this control may reject legitimate values containing those characters and does not replace the vendor patch.

Affected VersionsENISA

ex_aws_s3 7d6f5cde90aaea36f9a059de874d1420da20eef2 <eda0b9b9c63707f7db8d8f18c331df7fda57c397
ex_aws_s3 2.5.9 <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 Elixir AWS S3 client library, and the ExAws.S3 module builds XML request bodies for S3 bucket sub-resources. The affected builders in lib/ex_aws/s3.ex construct BucketLoggingStatus, NotificationConfiguration, replication, and website configuration XML by interpolating caller-supplied values such as TargetBucket, TargetPrefix, notification ARNs, replication destination/Account, and website redirect HostName directly into the body instead of routing them through the module's escape_xml_string/1 helper, which is CWE-91 XML Injection. A value containing XML metacharacters can close the intended element and open attacker-chosen elements, and the builder's trailing closing tag keeps the document single-rooted and well-formed, so the injected configuration nodes are carried in the request the application signs and sends to AWS. The CPE identifies ex-aws:ex_aws_s3, and affected versions are 2.5.9 up to but not including 2.6.0. The assessed vector is local (AV:L) because exploitation runs through the hosting application's use of the library rather than a directly network-reachable service; integrity impact is high (VI:H) with limited scope change (SC:L/SI:L), and there is no confidentiality or availability impact.

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 6.9 MEDIUM
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:L/SI:L/SA:N
vuln.today AI 7.1 HIGH

Trigger is caller-supplied data flowing through the host app so AV:L and AC:L; no privilege on the routine itself (PR:N); only integrity of the signed AWS request is affected (I:H) with scope change to AWS (S:C), no C or A impact.

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

Primary rating from Vendor (EEF).

CVSS VectorVendor: EEF

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

DescriptionCVE.org

XML Injection vulnerability in ex-aws ex_aws_s3 (ExAws.S3 module) allows an attacker to inject arbitrary XML configuration elements into S3 bucket-configuration request bodies via unescaped, caller-supplied values.

This vulnerability is associated with program files lib/ex_aws/s3.ex and program routines ExAws.S3.put_bucket_logging/2, ExAws.S3.put_bucket_notification/2, ExAws.S3.put_bucket_replication/2, ExAws.S3.put_bucket_website/2.

The bucket-configuration body builders construct their XML by interpolating caller-supplied values directly into the request body without escaping, and never route them through the module's own escape_xml_string/1 helper. A value containing XML metacharacters (<, >, &, quotes) can close the intended element early and open attacker-chosen elements, which the builder's trailing closing tag then closes, keeping the document single-rooted and well-formed. In a multi-tenant application where tenants configure their own bucket settings, an attacker who can influence one of the interpolated field values (for example the logging target, a notification ARN, a replication destination or Account, or a website redirect HostName) can inject arbitrary configuration nodes into a request the application signs and sends to AWS. The affected builders are reached through the public functions put_bucket_logging/2, put_bucket_notification/2, put_bucket_replication/2, and put_bucket_website/2.

This issue affects ex_aws_s3: from 2.5.9 before 2.6.0.

Threat Intelligence Overview

EPSS Score
0.3%
Top 87% exploitable
Prevalence
Low
standard S3 library, but only within the niche Elixir/Hex ecosystem
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

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
Poc
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

34
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
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