Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSubmit crafted tag value to application
-
DeliveryMarkup closes intended <Value> element
-
ExploitForged <Tag> entries injected into request
-
ExecutionS3 stores attacker-controlled tags
-
ImpactAuthorization-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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
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 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
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
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.
Primary rating from Vendor (EEF).
CVSS VectorVendor: EEF
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
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.
ExAws, the Elixir AWS SDK, requests its IMDSv2 session token from the link-local metadata endpoint with redirect followi
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
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
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
Improper XML escaping in ExAws.S3's delete_multiple_objects/3 lets an attacker who controls an object version id injecte
Path injection in the ex_aws_ses Elixir library (2.3.0 through 2.4.x) lets attacker-influenced contact-list names steer
Type confusion in ex_aws_dynamo's ExAws.Dynamo.Encoder.encode/2 allows attacker-influenced map data to dictate the raw D
Server-side request forgery in the ex_aws Elixir AWS client can redirect signed S3 requests to an attacker-chosen host w
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
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
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
CRLF and header injection in the Elixir library ExAws.S3 lets an attacker-controlled S3 object key corrupt or split the
EUVD-2026-134131
GHSA-pjg7-j8p4-3c93
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB