CVE-2026-62273
NVD
Vulnerability Summary
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.
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.
CVSS v4.0 Base Metrics — Score 2.1 (LOW)
CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:L/SA:NAttack VectorLocal
Attack ComplexityLow
Attack RequirementsPresent
Privileges RequiredNone
User InteractionNone
Confidentiality (Vulnerable System)None
Integrity (Vulnerable System)Low
Availability (Vulnerable System)None
Confidentiality (Subsequent System)None
Integrity (Subsequent System)Low
Availability (Subsequent System)None
Affected & Patched Versions
- ex-aws ex_aws_s3 >= 2.0.2 and < 2.6.0
- ex-aws ex_aws_s3 >= c6331b84c80f09d24d4a25cf05d8604541ce162e and < eda0b9b9c63707f7db8d8f18c331df7fda57c397
- ex-aws ex_aws_s3 2.6.0
- ex-aws ex_aws_s3 eda0b9b9c63707f7db8d8f18c331df7fda57c397
What to do
Fix it during your normal patch cycle. No exploitation is confirmed yet.
- Check whether you run ex-aws ex_aws_s3 and which version.
- Update to a patched version listed above, then confirm the new version.
Timeline
- Nov 24, 2026Published
- Nov 25, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new ex-aws ex_aws_s3 CVEsYou are reading CVE-2026-62273. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsExternal References
- Vendor Advisoryhttps://github.com/ex-aws/ex_aws_s3/security/advisories/GHSA-979q-5hj9-vvvv
- Referencehttps://cna.erlef.org/cves/CVE-2026-62273.html
- Referencehttps://osv.dev/vulnerability/EEF-CVE-2026-62273
- Patchhttps://github.com/ex-aws/ex_aws_s3/commit/c6331b84c80f09d24d4a25cf05d8604541ce162e
- Patchhttps://github.com/ex-aws/ex_aws_s3/commit/eda0b9b9c63707f7db8d8f18c331df7fda57c397
Data last checked: Nov 30, 2026 11:12 UTC