p PatchFirst

CVE-2026-62273

CVE-2026-62273 · XML injection via unescaped tag keys and values in ex_aws_s3 object and bucket tagging

CVSS 2.1 · Low · EPSS 0.5% · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

Published
Updated

Affected products and versions

  • ex_aws_s3

    Versions
    • ≥ 2.0.2, < 2.6.0: Affected (semver)

    Update to 2.6.0

  • ex_aws_s3

    Versions
    • ≥ c6331b84c80f09d24d4a25cf05d8604541ce162e, < eda0b9b9c63707f7db8d8f18c331df7fda57c397: Affected (git)

    No fix published

Original sources

Check your server →