Skip to main content

ex_aws_s3 CVE-2026-62273

| EUVDEUVD-2026-134131 LOW
XML Injection (aka Blind XPath Injection) (CWE-91)
2026-11-24 EEF GHSA-pjg7-j8p4-3c93
2.1
CVSS 4.0 · Vendor: EEF
View

Attack ChainAIDerived

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

  1. Access
    Submit crafted tag value to application
  2. Delivery
    Markup closes intended <Value> element
  3. Exploit
    Forged <Tag> entries injected into request
  4. Execution
    S3 stores attacker-controlled tags
  5. Impact
    Authorization-relevant or cost-allocation tag forged

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 an application built on ex_aws_s3 (versions 2.0.2 up to but not including 2.6.0) to call ExAws.S3.put_object_tagging/4 or ExAws.S3.put_bucket_tagging/2 with tag keys or values that are derived from attacker-controlled input and forwarded without sanitization. The concrete trigger is a tag key or value containing XML metacharacters (e.g. '</Value></Tag><Tag>...') that closes the intended element and injects additional <Tag> entries. Limiting factors: the flaw is NOT reachable if the application only passes trusted, static, or non-XML-metacharacter tag data; impact is confined to forging or corrupting S3 object/bucket tags (and any authorization or cost-allocation logic that relies on them), with no confidentiality or availability effect. Fixed in 2.6.0, which applies escape_xml_string/1 to tag keys and values.

Impact

All signals point to a genuine but low-priority issue. The CVSS base score is 2.1 and the supplied CVSS 4.0 vector (VC:N/VI:L/VA:N/SI:L) confirms integrity-only impact with no confidentiality or availability loss; the vuln.today decision label is 'monitor'. This is NOT in CISA KEV, no EPSS probability was supplied, and no public exploit was identified - so there is no evidence of active or widespread exploitation. The key caveat is attack vector: the supplied 4.0 vector uses AV:L, yet the described mechanism (an application forwarding user-supplied data into tag keys/values) will in most real web deployments see that data arrive over the network, which argues for AV:N - verify against the actual data path in your application. The true gating factor is not network reachability but application design: the flaw is only reachable when an app passes attacker-controlled input into put_object_tagging/4 or put_bucket_tagging/2. Treated as a dependency hygiene / supply-chain patch, not an emergency.

Exploit ScenarioDerived

An application using ex_aws_s3 forwards user-supplied input as an S3 object or bucket tag value. The attacker submits a value such as 'blue</Value></Tag><Tag><Key>owner</Key><Value>admin', which closes the intended <Value> element and injects an additional <Tag> entry, turning one intended tag into two on the wire. The injected tag can forge an authorization-relevant tag (aws:RequestTag, s3:ExistingObjectTag) or corrupt the intended tag set. No public exploit was identified; the fix commit and vendor advisory are public.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.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 the Elixir library ex_aws_s3 (versions 2.0.2 up to but not including 2.6.0) allows forged S3 tag entries to be written when an application passes attacker-influenced tag keys or values into ExAws.S3.put_object_tagging/4 or ExAws.S3.put_bucket_tagging/2, which interpolate those values directly into the <TagSet> XML body. Successful injection can produce tags that satisfy IAM tag-based conditions (aws:RequestTag, s3:ExistingObjectTag) or otherwise corrupt the intended tag set; there is no confidentiality or availability impact, and exploitation only works where an application forwards unsanitized, user-supplied tag data. Exploitation requires that specific application-level data flow, no public exploit code has been identified at time of analysis, and the vendor-released fix is version 2.6.0.

RemediationAI

Vendor-released patch: upgrade ex_aws_s3 to 2.6.0 or later, which applies the module's escape_xml_string/1 helper to tag keys and values in put_object_tagging/4 and put_bucket_tagging/2. The fix commit is https://github.com/ex-aws/ex_aws_s3/commit/eda0b9b9c63707f7db8d8f18c331df7fda57c397 (advisory: https://github.com/ex-aws/ex_aws_s3/security/advisories/GHSA-979q-5hj9-vvvv). If an immediate upgrade is not possible, stop forwarding user-controlled data as S3 tag keys or values and restrict tagging calls to a fixed allowlist of trusted keys and values with the trade-off that legitimate user-defined tagging features must be disabled or deferred; alternatively, escape or reject XML metacharacters (&, <, >, ", ') in keys and values before calling the tagging functions, accepting that applications must replicate the library's escaping correctly and that any missed code path remains exposed. Review existing object and bucket tag sets for unexpected entries, and audit IAM policies that rely on aws:RequestTag or s3:ExistingObjectTag conditions for tags that could have been injected.

Affected VersionsENISA

ex_aws_s3 2.0.2 <2.6.0
ex_aws_s3 c6331b84c80f09d24d4a25cf05d8604541ce162e <eda0b9b9c63707f7db8d8f18c331df7fda57c397

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 used through ExAws. The affected functions build the S3 tagging request body as raw iodata, concatenating the tag key and value between literal <Key> and <Value> elements after a plain to_string/1 conversion, so XML metacharacters in either field are interpreted as markup rather than text. This is CWE-91 (XML Injection): the library already ships an escape_xml_string/1 helper and uses it for object keys in delete_multiple_objects, but the tagging builders bypass it. Consequently a value such as blue</Value></Tag><Tag><Key>owner</Key><Value>admin terminates the intended element and inserts an additional, attacker-chosen <Tag> element on the wire. The consequences are confined to the tag set actually stored by S3: because S3 evaluates tags in access-control policy conditions and surfaces them in cost-allocation reporting, forged tags can influence policy evaluation or billing attribution, but the flaw does not by itself grant data access. The trigger requires an application whose tag keys or values derive from untrusted input; library use with static or trusted tags is not reachable, and the two commits in the advisory history correspond to the introduction of the tagging API and the escaping fix.

Know when Ex Aws 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 2.1 LOW
CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N
vuln.today AI 4.0 MEDIUM

Integrity-only tag forgery (no C/A); AC:H and S:C because exploitation depends on the app forwarding untrusted input and the impact crosses into S3's authorization system.

3.1 AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:L/A:N
4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:L/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
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
Low
Subsequent system: Availability
None

DescriptionCVE.org

XML Injection vulnerability in ex-aws ex_aws_s3 allows an attacker who controls tag keys or values to inject forged tag entries into S3 object and bucket tagging requests.

ExAws.S3.put_object_tagging/4 and ExAws.S3.put_bucket_tagging/2 in lib/ex_aws/s3.ex build the <TagSet> request body by interpolating tag keys and values directly into <Key> and <Value> elements via to_string/1, without applying the module's existing escape_xml_string/1 helper (which delete_multiple_objects already uses for object keys). An application that forwards user-supplied data as a tag key or value lets an attacker close the intended element and inject attacker-chosen <Tag> entries. For example, a tag value of blue</Value></Tag><Tag><Key>owner</Key><Value>admin turns one intended tag into two tags on the wire. Because S3 honors tags in access-control conditions (aws:RequestTag, s3:ExistingObjectTag) and cost-allocation reporting, an injected tag can forge an authorization-relevant tag or corrupt the intended tag set.

This issue affects ex_aws_s3: from 2.0.2 before 2.6.0.

Threat Intelligence Overview

EPSS Score
0.3%
Top 87% exploitable
Prevalence
Low
de facto S3 client, but niche Elixir/Hex ecosystem, small production footprint
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 LOW
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.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
Low
Technical Impact
Partial

Priority Score

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

View all
CVE-2026-59697 HIGH
7.6 Nov 24

ExAws, the Elixir AWS SDK, requests its IMDSv2 session token from the link-local metadata endpoint with redirect followi

CVE-2026-59698 HIGH
7.4 Nov 24

Relative path traversal in the ex_aws Elixir S3 client (versions 2.1.7 up to, but not including, 2.8.0) allows an attack

CVE-2026-63583 HIGH
7.0 Nov 24

XML injection in the ex_aws_s3 Elixir library (2.3.0 through 2.5.x) lets an attacker who controls any value that an appl

CVE-2026-63581 MEDIUM
6.9 Nov 24

XML injection in ex_aws_s3 2.5.9 before 2.6.0 lets an attacker who can influence values passed to the bucket-configurati

CVE-2026-131902 MEDIUM
5.9 Nov 24

Improper XML escaping in ExAws.S3's delete_multiple_objects/3 lets an attacker who controls an object version id injecte

CVE-2026-65622 MEDIUM
5.9 Nov 24

Path injection in the ex_aws_ses Elixir library (2.3.0 through 2.4.x) lets attacker-influenced contact-list names steer

CVE-2026-62270 MEDIUM
5.9 Nov 24

Type confusion in ex_aws_dynamo's ExAws.Dynamo.Encoder.encode/2 allows attacker-influenced map data to dictate the raw D

CVE-2026-120720 MEDIUM
5.9 Nov 24

Server-side request forgery in the ex_aws Elixir AWS client can redirect signed S3 requests to an attacker-chosen host w

CVE-2026-63582 MEDIUM
5.8 Nov 24

Presigned URL and presigned POST generation in the Elixir library ex_aws_s3 (2.0.0 through 2.5.x) can be redirected to a

CVE-2026-62269 MEDIUM
5.1 Nov 24

S3 request tampering in the Elixir ex_aws library (2.1.2 up to but not including 2.8.0) allows attackers who control par

CVE-2026-63585 MEDIUM
4.8 Nov 24

ACL grantee injection in the Elixir library ex_aws_s3 (2.0.0 up to but not including 2.6.0) allows an attacker who contr

CVE-2026-63584 LOW
2.1 Nov 24

CRLF and header injection in the Elixir library ExAws.S3 lets an attacker-controlled S3 object key corrupt or split the

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