CVE-2026-63581 (GCVE-0-2026-63581)

Vulnerability from cvelistv5 – Published: 2026-11-24 14:15 – Updated: 2026-11-24 14:15
VLAI
Title
ex_aws_s3 XML injection in bucket-configuration builders
Summary
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.
CWE
Impacted products
Vendor Product Version
ex-aws ex_aws_s3 Affected: 2.5.9 , < 2.6.0 (semver)
    cpe:2.3:a:ex-aws:ex_aws_s3:*:*:*:*:*:*:*:*
Create a notification for this product.
ex-aws ex_aws_s3 Affected: 7d6f5cde90aaea36f9a059de874d1420da20eef2 , < eda0b9b9c63707f7db8d8f18c331df7fda57c397 (git)
    cpe:2.3:a:ex-aws:ex_aws_s3:*:*:*:*:*:*:*:*
Create a notification for this product.
Date Public
2026-11-24 14:15
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "collectionURL": "https://repo.hex.pm",
          "cpes": [
            "cpe:2.3:a:ex-aws:ex_aws_s3:*:*:*:*:*:*:*:*"
          ],
          "defaultStatus": "unaffected",
          "modules": [
            "\u0027Elixir.ExAws.S3\u0027"
          ],
          "packageName": "ex_aws_s3",
          "packageURL": "pkg:hex/ex_aws_s3",
          "product": "ex_aws_s3",
          "programFiles": [
            "lib/ex_aws/s3.ex"
          ],
          "programRoutines": [
            {
              "name": "\u0027Elixir.ExAws.S3\u0027:put_bucket_logging/2"
            },
            {
              "name": "\u0027Elixir.ExAws.S3\u0027:put_bucket_notification/2"
            },
            {
              "name": "\u0027Elixir.ExAws.S3\u0027:put_bucket_replication/2"
            },
            {
              "name": "\u0027Elixir.ExAws.S3\u0027:put_bucket_website/2"
            }
          ],
          "repo": "https://github.com/ex-aws/ex_aws_s3",
          "vendor": "ex-aws",
          "versions": [
            {
              "lessThan": "2.6.0",
              "status": "affected",
              "version": "2.5.9",
              "versionType": "semver"
            }
          ]
        },
        {
          "collectionURL": "https://github.com",
          "cpes": [
            "cpe:2.3:a:ex-aws:ex_aws_s3:*:*:*:*:*:*:*:*"
          ],
          "defaultStatus": "unaffected",
          "modules": [
            "\u0027Elixir.ExAws.S3\u0027"
          ],
          "packageName": "ex-aws/ex_aws_s3",
          "packageURL": "pkg:github/ex-aws/ex_aws_s3",
          "product": "ex_aws_s3",
          "programFiles": [
            "lib/ex_aws/s3.ex"
          ],
          "programRoutines": [
            {
              "name": "\u0027Elixir.ExAws.S3\u0027:put_bucket_logging/2"
            },
            {
              "name": "\u0027Elixir.ExAws.S3\u0027:put_bucket_notification/2"
            },
            {
              "name": "\u0027Elixir.ExAws.S3\u0027:put_bucket_replication/2"
            },
            {
              "name": "\u0027Elixir.ExAws.S3\u0027:put_bucket_website/2"
            }
          ],
          "repo": "https://github.com/ex-aws/ex_aws_s3",
          "vendor": "ex-aws",
          "versions": [
            {
              "lessThan": "eda0b9b9c63707f7db8d8f18c331df7fda57c397",
              "status": "affected",
              "version": "7d6f5cde90aaea36f9a059de874d1420da20eef2",
              "versionType": "git"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:a:ex-aws:ex_aws_s3:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "2.6.0",
                  "versionStartIncluding": "2.5.9",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ],
          "operator": "AND"
        }
      ],
      "credits": [
        {
          "lang": "en",
          "type": "finder",
          "value": "Peter Ullrich"
        },
        {
          "lang": "en",
          "type": "reporter",
          "value": "Peter Ullrich"
        },
        {
          "lang": "en",
          "type": "analyst",
          "value": "Jonatan M\u00e4nnchen / EEF"
        },
        {
          "lang": "en",
          "type": "coordinator",
          "value": "Peter Ullrich"
        },
        {
          "lang": "en",
          "type": "remediation developer",
          "value": "Bernard Duggan"
        }
      ],
      "datePublic": "2026-11-24T14:15:20.000Z",
      "descriptions": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "\u003cp\u003eXML Injection vulnerability in ex-aws ex_aws_s3 (\u003ccode\u003eExAws.S3\u003c/code\u003e module) allows an attacker to inject arbitrary XML configuration elements into S3 bucket-configuration request bodies via unescaped, caller-supplied values.\u003c/p\u003e\n\u003cp\u003eThis vulnerability is associated with program files \u003ccode\u003elib/ex_aws/s3.ex\u003c/code\u003e and program routines \u003ccode\u003eExAws.S3.put_bucket_logging/2\u003c/code\u003e, \u003ccode\u003eExAws.S3.put_bucket_notification/2\u003c/code\u003e, \u003ccode\u003eExAws.S3.put_bucket_replication/2\u003c/code\u003e, \u003ccode\u003eExAws.S3.put_bucket_website/2\u003c/code\u003e.\u003c/p\u003e\n\u003cp\u003eThe 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\u0027s own \u003ccode\u003eescape_xml_string/1\u003c/code\u003e helper. A value containing XML metacharacters (\u003ccode\u003e\u0026lt;\u003c/code\u003e, \u003ccode\u003e\u0026gt;\u003c/code\u003e, \u003ccode\u003e\u0026amp;\u003c/code\u003e, quotes) can close the intended element early and open attacker-chosen elements, which the builder\u0027s 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 \u003ccode\u003eput_bucket_logging/2\u003c/code\u003e, \u003ccode\u003eput_bucket_notification/2\u003c/code\u003e, \u003ccode\u003eput_bucket_replication/2\u003c/code\u003e, and \u003ccode\u003eput_bucket_website/2\u003c/code\u003e.\u003c/p\u003e\n\u003cp\u003eThis issue affects ex_aws_s3: from 2.5.9 before 2.6.0.\u003c/p\u003e"
            },
            {
              "base64": false,
              "type": "text/markdown",
              "value": "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.\n\nThis 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`.\n\nThe 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\u0027s own `escape_xml_string/1` helper. A value containing XML metacharacters (`\u003c`, `\u003e`, `\u0026`, quotes) can close the intended element early and open attacker-chosen elements, which the builder\u0027s 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`.\n\nThis issue affects ex_aws_s3: from 2.5.9 before 2.6.0."
            }
          ],
          "value": "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.\n\nThis 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.\n\nThe 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\u0027s own escape_xml_string/1 helper. A value containing XML metacharacters (\u003c, \u003e, \u0026, quotes) can close the intended element early and open attacker-chosen elements, which the builder\u0027s 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.\n\nThis issue affects ex_aws_s3: from 2.5.9 before 2.6.0."
        }
      ],
      "impacts": [
        {
          "capecId": "CAPEC-250",
          "descriptions": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eThis is an XML/structure injection vulnerability in the bucket-configuration body builders of \u003ccode\u003eex_aws_s3\u003c/code\u003e. It affects any application that passes untrusted or user-supplied values into these builders, most relevantly multi-tenant services that let tenants configure their own bucket logging, notifications, replication, or website settings. The only precondition is that an attacker can influence one of the interpolated field values; they can then inject arbitrary configuration elements (e.g. an attacker-owned replication destination/\u003ccode\u003eAccount\u003c/code\u003e, logging target, or website redirect \u003ccode\u003eHostName\u003c/code\u003e) into a request the application signs and sends to AWS.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "This is an XML/structure injection vulnerability in the bucket-configuration body builders of `ex_aws_s3`. It affects any application that passes untrusted or user-supplied values into these builders, most relevantly multi-tenant services that let tenants configure their own bucket logging, notifications, replication, or website settings. The only precondition is that an attacker can influence one of the interpolated field values; they can then inject arbitrary configuration elements (e.g. an attacker-owned replication destination/`Account`, logging target, or website redirect `HostName`) into a request the application signs and sends to AWS."
                }
              ],
              "value": "This is an XML/structure injection vulnerability in the bucket-configuration body builders of ex_aws_s3. It affects any application that passes untrusted or user-supplied values into these builders, most relevantly multi-tenant services that let tenants configure their own bucket logging, notifications, replication, or website settings. The only precondition is that an attacker can influence one of the interpolated field values; they can then inject arbitrary configuration elements (e.g. an attacker-owned replication destination/Account, logging target, or website redirect HostName) into a request the application signs and sends to AWS."
            }
          ]
        }
      ],
      "metrics": [
        {
          "cvssV4_0": {
            "Automatable": "NOT_DEFINED",
            "Recovery": "NOT_DEFINED",
            "Safety": "NOT_DEFINED",
            "attackComplexity": "LOW",
            "attackRequirements": "NONE",
            "attackVector": "LOCAL",
            "baseScore": 6.9,
            "baseSeverity": "MEDIUM",
            "privilegesRequired": "NONE",
            "providerUrgency": "NOT_DEFINED",
            "subAvailabilityImpact": "NONE",
            "subConfidentialityImpact": "LOW",
            "subIntegrityImpact": "LOW",
            "userInteraction": "NONE",
            "valueDensity": "NOT_DEFINED",
            "vectorString": "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",
            "version": "4.0",
            "vulnAvailabilityImpact": "NONE",
            "vulnConfidentialityImpact": "NONE",
            "vulnIntegrityImpact": "HIGH",
            "vulnerabilityResponseEffort": "NOT_DEFINED"
          },
          "format": "CVSS",
          "scenarios": [
            {
              "lang": "en",
              "value": "GENERAL"
            }
          ]
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-91",
              "description": "CWE-91 XML Injection",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-11-24T14:15:21.465Z",
        "orgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
        "shortName": "EEF"
      },
      "references": [
        {
          "tags": [
            "vendor-advisory",
            "related"
          ],
          "url": "https://github.com/ex-aws/ex_aws_s3/security/advisories/GHSA-cf93-7gwh-6w98"
        },
        {
          "name": "EEF CNA record for CVE-2026-63581",
          "tags": [
            "related"
          ],
          "url": "https://cna.erlef.org/cves/CVE-2026-63581.html"
        },
        {
          "name": "OSV record EEF-CVE-2026-63581",
          "tags": [
            "related"
          ],
          "url": "https://osv.dev/vulnerability/EEF-CVE-2026-63581"
        },
        {
          "name": "Introducing commit 7d6f5cd in ex-aws/ex_aws_s3",
          "tags": [
            "related"
          ],
          "url": "https://github.com/ex-aws/ex_aws_s3/commit/7d6f5cde90aaea36f9a059de874d1420da20eef2"
        },
        {
          "name": "Fix commit eda0b9b in ex-aws/ex_aws_s3",
          "tags": [
            "patch"
          ],
          "url": "https://github.com/ex-aws/ex_aws_s3/commit/eda0b9b9c63707f7db8d8f18c331df7fda57c397"
        }
      ],
      "source": {
        "discovery": "EXTERNAL"
      },
      "title": "ex_aws_s3 XML injection in bucket-configuration builders",
      "workarounds": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "\u003cp\u003eValidate or sanitize caller-supplied values before passing them to the affected bucket-configuration builders, rejecting or escaping any value that contains XML metacharacters (\u003ccode\u003e\u0026lt;\u003c/code\u003e, \u003ccode\u003e\u0026gt;\u003c/code\u003e, \u003ccode\u003e\u0026amp;\u003c/code\u003e, \u003ccode\u003e\u0027\u003c/code\u003e, \u003ccode\u003e\"\u003c/code\u003e).\u003c/p\u003e"
            },
            {
              "base64": false,
              "type": "text/markdown",
              "value": "Validate or sanitize caller-supplied values before passing them to the affected bucket-configuration builders, rejecting or escaping any value that contains XML metacharacters (`\u003c`, `\u003e`, `\u0026`, `\u0027`, `\"`)."
            }
          ],
          "value": "Validate or sanitize caller-supplied values before passing them to the affected bucket-configuration builders, rejecting or escaping any value that contains XML metacharacters (\u003c, \u003e, \u0026, \u0027, \")."
        }
      ],
      "x_proofOfConcept": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "\u003col\u003e\n\u003cli\u003eA multi-tenant application exposes \u003ccode\u003ePOST /configure-logging\u003c/code\u003e and forwards the tenant\u0027s form values to \u003ccode\u003eExAws.S3.put_bucket_logging(bucket, target_bucket: target_bucket)\u003c/code\u003e.\u003c/li\u003e\n\u003cli\u003eThe attacker submits \u003ccode\u003etarget_bucket\u003c/code\u003e as \u003ccode\u003etenant-logs\u0026lt;/TargetBucket\u0026gt;\u0026lt;TargetBucket\u0026gt;attacker-exfil-bucket\u003c/code\u003e.\u003c/li\u003e\n\u003cli\u003eThe builder interpolates it unescaped, and its own trailing \u003ccode\u003e\u0026lt;/TargetBucket\u0026gt;\u003c/code\u003e closes the injected element, so the body stays well-formed.\u003c/li\u003e\n\u003cli\u003eParsing the body yields two \u003ccode\u003eTargetBucket\u003c/code\u003e nodes, \u003ccode\u003etenant-logs\u003c/code\u003e and \u003ccode\u003eattacker-exfil-bucket\u003c/code\u003e, in the configuration the application signs and sends to AWS.\u003c/li\u003e\n\u003c/ol\u003e"
            },
            {
              "base64": false,
              "type": "text/markdown",
              "value": "1. A multi-tenant application exposes `POST /configure-logging` and forwards the tenant\u0027s form values to `ExAws.S3.put_bucket_logging(bucket, target_bucket: target_bucket)`.\n2. The attacker submits `target_bucket` as `tenant-logs\u003c/TargetBucket\u003e\u003cTargetBucket\u003eattacker-exfil-bucket`.\n3. The builder interpolates it unescaped, and its own trailing `\u003c/TargetBucket\u003e` closes the injected element, so the body stays well-formed.\n4. Parsing the body yields two `TargetBucket` nodes, `tenant-logs` and `attacker-exfil-bucket`, in the configuration the application signs and sends to AWS."
            }
          ],
          "value": "* A multi-tenant application exposes POST /configure-logging and forwards the tenant\u0027s form values to ExAws.S3.put_bucket_logging(bucket, target_bucket: target_bucket).\n* The attacker submits target_bucket as tenant-logs\u003c/TargetBucket\u003e\u003cTargetBucket\u003eattacker-exfil-bucket.\n* The builder interpolates it unescaped, and its own trailing \u003c/TargetBucket\u003e closes the injected element, so the body stays well-formed.\n* Parsing the body yields two TargetBucket nodes, tenant-logs and attacker-exfil-bucket, in the configuration the application signs and sends to AWS."
        }
      ],
      "x_technicalAnalysis": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "\u003cp\u003e\u003cstrong\u003e1. Unescaped interpolation.\u003c/strong\u003e The bucket-configuration body builders in \u003ccode\u003elib/ex_aws/s3.ex\u003c/code\u003e interpolate caller-supplied values into XML with plain string interpolation and never apply the module\u0027s \u003ccode\u003eescape_xml_string/1\u003c/code\u003e helper. This covers \u003ccode\u003eput_bucket_logging\u003c/code\u003e (\u003ccode\u003etarget_bucket\u003c/code\u003e, \u003ccode\u003etarget_prefix\u003c/code\u003e), the notification builders (topic, Lambda and queue ARNs, \u003ccode\u003eid\u003c/code\u003e, events, filter rule names and values), the replication builders (\u003ccode\u003erole\u003c/code\u003e, rule \u003ccode\u003eid\u003c/code\u003e and \u003ccode\u003estatus\u003c/code\u003e, filter prefix, tag keys and values, destination \u003ccode\u003ebucket\u003c/code\u003e, \u003ccode\u003estorage_class\u003c/code\u003e, \u003ccode\u003eaccount\u003c/code\u003e, \u003ccode\u003eowner\u003c/code\u003e) and the website builders (\u003ccode\u003ehost_name\u003c/code\u003e, \u003ccode\u003eprotocol\u003c/code\u003e, \u003ccode\u003eindex_doc\u003c/code\u003e, \u003ccode\u003eerror_doc\u003c/code\u003e and every routing-rule field).\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003e2. Element break-out.\u003c/strong\u003e In \u003ccode\u003eput_bucket_logging\u003c/code\u003e, for example, the body contains \u003ccode\u003e\u0026lt;TargetBucket\u0026gt;#{target_bucket}\u0026lt;/TargetBucket\u0026gt;\u003c/code\u003e. A value containing \u003ccode\u003e\u0026lt;/TargetBucket\u0026gt;\u0026lt;TargetBucket\u0026gt;...\u003c/code\u003e closes the legitimate element early and opens a second one inside the same \u003ccode\u003e\u0026lt;LoggingEnabled\u0026gt;\u003c/code\u003e block.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003e3. Well-formed result.\u003c/strong\u003e The builder\u0027s own trailing closing tag closes the injected node, so the document stays single-rooted and well-formed, parses cleanly and would be accepted by AWS. The application signs and sends the attacker-shaped configuration as its own.\u003c/p\u003e"
            },
            {
              "base64": false,
              "type": "text/markdown",
              "value": "**1. Unescaped interpolation.** The bucket-configuration body builders in `lib/ex_aws/s3.ex` interpolate caller-supplied values into XML with plain string interpolation and never apply the module\u0027s `escape_xml_string/1` helper. This covers `put_bucket_logging` (`target_bucket`, `target_prefix`), the notification builders (topic, Lambda and queue ARNs, `id`, events, filter rule names and values), the replication builders (`role`, rule `id` and `status`, filter prefix, tag keys and values, destination `bucket`, `storage_class`, `account`, `owner`) and the website builders (`host_name`, `protocol`, `index_doc`, `error_doc` and every routing-rule field).\n\n**2. Element break-out.** In `put_bucket_logging`, for example, the body contains `\u003cTargetBucket\u003e#{target_bucket}\u003c/TargetBucket\u003e`. A value containing `\u003c/TargetBucket\u003e\u003cTargetBucket\u003e...` closes the legitimate element early and opens a second one inside the same `\u003cLoggingEnabled\u003e` block.\n\n**3. Well-formed result.** The builder\u0027s own trailing closing tag closes the injected node, so the document stays single-rooted and well-formed, parses cleanly and would be accepted by AWS. The application signs and sends the attacker-shaped configuration as its own."
            }
          ],
          "value": "1. Unescaped interpolation. The bucket-configuration body builders in lib/ex_aws/s3.ex interpolate caller-supplied values into XML with plain string interpolation and never apply the module\u0027s escape_xml_string/1 helper. This covers put_bucket_logging (target_bucket, target_prefix), the notification builders (topic, Lambda and queue ARNs, id, events, filter rule names and values), the replication builders (role, rule id and status, filter prefix, tag keys and values, destination bucket, storage_class, account, owner) and the website builders (host_name, protocol, index_doc, error_doc and every routing-rule field).\n\n2. Element break-out. In put_bucket_logging, for example, the body contains \u003cTargetBucket\u003e#{target_bucket}\u003c/TargetBucket\u003e. A value containing \u003c/TargetBucket\u003e\u003cTargetBucket\u003e... closes the legitimate element early and opens a second one inside the same \u003cLoggingEnabled\u003e block.\n\n3. Well-formed result. The builder\u0027s own trailing closing tag closes the injected node, so the document stays single-rooted and well-formed, parses cleanly and would be accepted by AWS. The application signs and sends the attacker-shaped configuration as its own."
        }
      ]
    }
  },
  "cveMetadata": {
    "assignerOrgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
    "assignerShortName": "EEF",
    "cveId": "CVE-2026-63581",
    "datePublished": "2026-11-24T14:15:21.465Z",
    "dateReserved": "2026-07-17T04:14:44.351Z",
    "dateUpdated": "2026-11-24T14:15:21.465Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "collectionURL": "https://repo.hex.pm",
                "cpes": [
                  "cpe:2.3:a:ex-aws:ex_aws_s3:*:*:*:*:*:*:*:*"
                ],
                "defaultStatus": "unaffected",
                "modules": [
                  "\u0027Elixir.ExAws.S3\u0027"
                ],
                "packageName": "ex_aws_s3",
                "packageURL": "pkg:hex/ex_aws_s3",
                "product": "ex_aws_s3",
                "programFiles": [
                  "lib/ex_aws/s3.ex"
                ],
                "programRoutines": [
                  {
                    "name": "\u0027Elixir.ExAws.S3\u0027:put_bucket_logging/2"
                  },
                  {
                    "name": "\u0027Elixir.ExAws.S3\u0027:put_bucket_notification/2"
                  },
                  {
                    "name": "\u0027Elixir.ExAws.S3\u0027:put_bucket_replication/2"
                  },
                  {
                    "name": "\u0027Elixir.ExAws.S3\u0027:put_bucket_website/2"
                  }
                ],
                "repo": "https://github.com/ex-aws/ex_aws_s3",
                "vendor": "ex-aws",
                "versions": [
                  {
                    "lessThan": "2.6.0",
                    "status": "affected",
                    "version": "2.5.9",
                    "versionType": "semver"
                  }
                ]
              },
              {
                "collectionURL": "https://github.com",
                "cpes": [
                  "cpe:2.3:a:ex-aws:ex_aws_s3:*:*:*:*:*:*:*:*"
                ],
                "defaultStatus": "unaffected",
                "modules": [
                  "\u0027Elixir.ExAws.S3\u0027"
                ],
                "packageName": "ex-aws/ex_aws_s3",
                "packageURL": "pkg:github/ex-aws/ex_aws_s3",
                "product": "ex_aws_s3",
                "programFiles": [
                  "lib/ex_aws/s3.ex"
                ],
                "programRoutines": [
                  {
                    "name": "\u0027Elixir.ExAws.S3\u0027:put_bucket_logging/2"
                  },
                  {
                    "name": "\u0027Elixir.ExAws.S3\u0027:put_bucket_notification/2"
                  },
                  {
                    "name": "\u0027Elixir.ExAws.S3\u0027:put_bucket_replication/2"
                  },
                  {
                    "name": "\u0027Elixir.ExAws.S3\u0027:put_bucket_website/2"
                  }
                ],
                "repo": "https://github.com/ex-aws/ex_aws_s3",
                "vendor": "ex-aws",
                "versions": [
                  {
                    "lessThan": "eda0b9b9c63707f7db8d8f18c331df7fda57c397",
                    "status": "affected",
                    "version": "7d6f5cde90aaea36f9a059de874d1420da20eef2",
                    "versionType": "git"
                  }
                ]
              }
            ],
            "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db"
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "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.\n\nThis 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.\n\nThe 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\u0027s own escape_xml_string/1 helper. A value containing XML metacharacters (\u003c, \u003e, \u0026, quotes) can close the intended element early and open attacker-chosen elements, which the builder\u0027s 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.\n\nThis issue affects ex_aws_s3: from 2.5.9 before 2.6.0."
          }
        ],
        "id": "CVE-2026-63581",
        "lastModified": "2026-11-24T19:12:16.707",
        "metrics": {
          "cvssMetricV40": [
            {
              "cvssData": {
                "Automatable": "NOT_DEFINED",
                "Recovery": "NOT_DEFINED",
                "Safety": "NOT_DEFINED",
                "attackComplexity": "LOW",
                "attackRequirements": "NONE",
                "attackVector": "LOCAL",
                "availabilityRequirement": "NOT_DEFINED",
                "baseScore": 6.9,
                "baseSeverity": "MEDIUM",
                "confidentialityRequirement": "NOT_DEFINED",
                "exploitMaturity": "NOT_DEFINED",
                "integrityRequirement": "NOT_DEFINED",
                "modifiedAttackComplexity": "NOT_DEFINED",
                "modifiedAttackRequirements": "NOT_DEFINED",
                "modifiedAttackVector": "NOT_DEFINED",
                "modifiedPrivilegesRequired": "NOT_DEFINED",
                "modifiedSubAvailabilityImpact": "NOT_DEFINED",
                "modifiedSubConfidentialityImpact": "NOT_DEFINED",
                "modifiedSubIntegrityImpact": "NOT_DEFINED",
                "modifiedUserInteraction": "NOT_DEFINED",
                "modifiedVulnAvailabilityImpact": "NOT_DEFINED",
                "modifiedVulnConfidentialityImpact": "NOT_DEFINED",
                "modifiedVulnIntegrityImpact": "NOT_DEFINED",
                "privilegesRequired": "NONE",
                "providerUrgency": "NOT_DEFINED",
                "subAvailabilityImpact": "NONE",
                "subConfidentialityImpact": "LOW",
                "subIntegrityImpact": "LOW",
                "userInteraction": "NONE",
                "valueDensity": "NOT_DEFINED",
                "vectorString": "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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X",
                "version": "4.0",
                "vulnAvailabilityImpact": "NONE",
                "vulnConfidentialityImpact": "NONE",
                "vulnIntegrityImpact": "HIGH",
                "vulnerabilityResponseEffort": "NOT_DEFINED"
              },
              "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
              "type": "Secondary"
            }
          ]
        },
        "published": "2026-11-24T15:17:37.773",
        "references": [
          {
            "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
            "url": "https://cna.erlef.org/cves/CVE-2026-63581.html"
          },
          {
            "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
            "url": "https://github.com/ex-aws/ex_aws_s3/commit/7d6f5cde90aaea36f9a059de874d1420da20eef2"
          },
          {
            "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
            "url": "https://github.com/ex-aws/ex_aws_s3/commit/eda0b9b9c63707f7db8d8f18c331df7fda57c397"
          },
          {
            "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
            "url": "https://github.com/ex-aws/ex_aws_s3/security/advisories/GHSA-cf93-7gwh-6w98"
          },
          {
            "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
            "url": "https://osv.dev/vulnerability/EEF-CVE-2026-63581"
          }
        ],
        "sourceIdentifier": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
        "vulnStatus": "Awaiting Analysis",
        "weaknesses": [
          {
            "description": [
              {
                "lang": "en",
                "value": "CWE-91"
              }
            ],
            "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
            "type": "Secondary"
          }
        ]
      }
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…