Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSupply malicious value in tenant-controlled tag or prefix
-
ExploitApp builds unescaped lifecycle XML via put_bucket_lifecycle/2
-
ExecutionPayload breaks out of element and injects new Expiration action
-
ImpactS3 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
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 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
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
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.
Primary rating from Vendor (EEF).
CVSS VectorVendor: EEF
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
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.
Apply vendor patch.
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 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
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
CRLF and header injection in the Elixir library ExAws.S3 lets an attacker-controlled S3 object key corrupt or split the
EUVD-2026-133983
GHSA-wqfx-w773-m868
NVD
CVE.org
EPSS
VulDB
Exploit-DB