Skip to main content

ex_aws_s3 CVE-2026-63583

| EUVDEUVD-2026-133983 HIGH
XML Injection (aka Blind XPath Injection) (CWE-91)
2026-11-24 EEF GHSA-wqfx-w773-m868
7.0
CVSS 4.0 · Vendor: EEF
View

Attack ChainAIDerived

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

  1. Access
    Supply malicious value in tenant-controlled tag or prefix
  2. Exploit
    App builds unescaped lifecycle XML via put_bucket_lifecycle/2
  3. Execution
    Payload breaks out of element and injects new Expiration action
  4. Impact
    S3 applies delete-after-one-day rule and destroys bucket objects

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 host application call ExAws.S3.put_bucket_lifecycle/2 (or build_lifecycle_rule/1 directly) on an affected version (2.3.0 through 2.5.x) and populate at least one of the interpolated fields - rule id, filter prefix, tag key, tag value, storage class, or noncurrent-version count - from untrusted input such as a tenant-supplied object tag. The payload must include XML metacharacters to close the current element and inject a new lifecycle action (e.g. an Expiration/Days action). LIMITING FACTORS: applications that build lifecycle rules only from static, trusted, or server-controlled values are not exploitable; there is no issue in default usage that never forwards attacker input into these fields, so realistic risk is bounded by whether such a data path exists in the specific deployment.

Impact

This is a CWE-91 XML injection in the ex_aws_s3 Elixir library where ExAws.S3.Utils.build_lifecycle_rule/1 concatenates caller-supplied fields (rule id, filter prefix, tag key/value, storage class, noncurrent-version count) into the PutBucketLifecycleConfiguration XML body without escaping metacharacters, reachable through the public put_bucket_lifecycle/2 entry point. The vuln.today priority is this_week and a vendor patch is available, so this is a real near-term remediation item rather than a high-CVSS-but-low-risk issue, but the severity is conditional on application code: it only becomes exploitable when an app feeds untrusted data into one of those lifecycle fields (the description's 'tenant-supplied object tag' example), which the CVSS 4.0 vector reflects via AT:P (attack requirement present). SIGNAL CONFLICT TO VERIFY: the supplied CVSS 4.0 vector is AV:L (local) yet the described attack delivers payloads through untrusted application input such as a tenant tag, which implies a network/remote data path - I assess AV:N and treat AV:L as understating reach; verify the intended attacker position with the advisory. No EPSS score, CISA KEV listing, or working PoC is present in the input (the referenced GitHub commits are the fix, not exploit code), so there is no evidence of active or widespread exploitation at this time; impact (VI:H/SI:H/SA:H) centers on integrity of the outgoing S3 request and destruction of bucket objects, not confidentiality (VC:N).

Exploit ScenarioDerived

A multi-tenant Elixir/Phoenix application lets tenants define object tags or prefixes that it forwards into a bucket lifecycle rule via put_bucket_lifecycle/2. An attacker supplies a tag value that closes the surrounding XML element and injects a new <Expiration><Days>1</Days></Expiration> action, causing S3 to expire and delete all objects in the bucket within a day. No public exploit code is identified at time of analysis; exploitation depends on the vulnerable fields being populated from attacker-controlled input.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% 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 ex_aws_s3 Elixir library (2.3.0 through 2.5.x) lets an attacker who controls any value that an application forwards into a bucket lifecycle rule - rule id, filter prefix, tag key or value, storage class, or noncurrent-version count - break out of the surrounding XML element inside the PutBucketLifecycleConfiguration request body and inject arbitrary lifecycle actions, including a short expiration that would delete the bucket's objects. The flaw is in ExAws.S3.Utils.build_lifecycle_rule/1 and is reachable through the public ExAws.S3.put_bucket_lifecycle/2 entry point; applications that build lifecycle rules only from static or server-controlled values are not affected. Exploitation is conditional on such a data path existing, is rated high severity (CVSS 3.1 AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:H), a vendor patch is available, and no public exploit was identified at time of analysis.

RemediationAI

Upgrade ex_aws_s3 to 2.6.0 or later, the first release outside the affected range; the fix is carried by the vendor advisory at https://github.com/ex-aws/ex_aws_s3/security/advisories/GHSA-pcgv-phrm-r85v and the upstream commits https://github.com/ex-aws/ex_aws_s3/commit/eda0b9b9c63707f7db8d8f18c331df7fda57c397 and https://github.com/ex-aws/ex_aws_s3/commit/34a3f1b264bd9a28d68fa98173af7085da72a15b. Where upgrading cannot be done immediately, the practical workaround is to stop attacker-controlled data from reaching the six interpolated fields: validate or reject XML metacharacters ('<', '>', '&', quotes) in rule id, filter prefix, tag keys and values, storage class and noncurrent-version count before calling put_bucket_lifecycle/2, or map tenant-supplied tags onto a fixed allow-list of server-defined values - this constrains legitimate free-form tagging and requires a code change at every call site. Additionally, restricting which IAM principals in the calling application may invoke s3:PutLifecycleConfiguration limits what an injected rule could achieve, at the cost of narrowing the application's own S3 permissions.

Affected VersionsENISA

ex_aws_s3 34a3f1b264bd9a28d68fa98173af7085da72a15b <eda0b9b9c63707f7db8d8f18c331df7fda57c397
ex_aws_s3 2.3.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 Elixir client library for AWS S3. According to the referenced commit diff, build_lifecycle_rule/1 assembles the <LifecycleConfiguration> body by concatenating iodata: each caller-supplied value (rule id, filter prefix, tag key/value, storage class, noncurrent-version count) is placed directly between its XML tags with no escaping of metacharacters such as '<', '>', '&' or quotes. The resulting iodata is flattened with IO.iodata_to_binary/1 and the Content-MD5 header is computed over that same tainted body, so injected markup is covered by the checksum and the request remains well-formed at the HTTP layer. The result is CWE-91 (XML Injection): an attacker who controls one of these fields can close the enclosing element and supply sibling or replacement elements, for example an Expiration action with a one-day trigger, which S3 then honours as part of the legitimate lifecycle configuration. Severity comes from the integrity and availability impact on the bucket's data rather than from any read or disclosure path; the assessed vector shows a scope change because the effect lands on the S3 bucket and its objects rather than on the calling application. Triggering requires the host application to route untrusted values into one of the interpolated fields; the sources provided do not describe any trigger path that bypasses the caller's own data handling.

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

AV:N because payloads arrive via untrusted application input; AC:H and S:C because exploitation depends on the app routing that input into lifecycle fields and the injected XML affects the separate S3 bucket, yielding integrity and object-destruction (availability) impact with no confidentiality loss.

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

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
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
High
Subsequent system: Availability
High

DescriptionCVE.org

ExAws.S3.Utils.build_lifecycle_rule/1 in ex_aws_s3 interpolates caller-supplied lifecycle rule fields (the rule id, filter prefix, tag key and value, storage class, and noncurrent-version count) directly into the PutBucketLifecycleConfiguration XML body without escaping XML metacharacters. An application that populates any of these fields from untrusted input (for example a tenant-supplied object tag) lets an attacker break out of the surrounding element and inject arbitrary XML into the request, including an entirely new lifecycle action such as a delete-after-one-day expiration that destroys the bucket's objects. The public entry point ExAws.S3.put_bucket_lifecycle/2 flows directly into this builder.

This issue affects ex_aws_s3: from 2.3.0 before 2.6.0.

Technical POC Analysis

CWE-91 (XML Injection).

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

CVE-2026-63583 is a high-severity XML injection vulnerability in the ex_aws_s3 library (versions 2.3.0 through 2.5.x) used by Elixir applications to interact with Amazon S3. If an application forwards user-controlled input into S3 bucket lifecycle rules, an attacker could manipulate those rules to unexpectedly delete bucket objects, potentially causing data loss and disrupting critical business operations. Security and engineering leadership should prioritize remediation because lifecycle rules often govern data retention and backups; compromised rules can lead to irreversible data destruction and compliance violations.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 91% exploitable
Prevalence
Low
popular S3 client but only within the niche Elixir 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 HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
High

Priority Score

35
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +35
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-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-62273 LOW
2.1 Nov 24

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 entrie

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