CVE-2026-62273
XML injection via unescaped tag keys and values in ex_aws_s3 object and bucket tagging
Mitigation
- Upgrade ex_aws_s3 to 2.6.0 or later.
- Vendor workaround: Before passing user-influenced data to put_object_tagging/4 or put_bucket_tagging/2, validate and reject any tag key or value containing XML metacharacters (<, >, &, ", '), or restrict tag keys and values to an allowlisted character set.
Who should check
- Anyone running ex-aws ex_aws_s3 >= 2.0.2, < 2.6.0
- Anyone running ex-aws ex_aws_s3 >= c6331b84c80f09d24d4a25cf05d8604541ce162e, < eda0b9b9c63707f7db8d8f18c331df7fda57c397
Vulnerability facts
- Affected
- ex-aws ex_aws_s3 >= 2.0.2, < 2.6.0; ex-aws ex_aws_s3 >= c6331b84c80f09d24d4a25cf05d8604541ce162e, < eda0b9b9c63707f7db8d8f18c331df7fda57c397
- Fixed in
- ex-aws ex_aws_s3 2.6.0
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- Yes: see the exploit references below
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 2.1 (v4.0, CNA)CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:L/SA:NOpen in CVSS calculator
Show all 11 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Attack requirements: Present
- Privileges required: None
- User interaction: None
- Confidentiality impact: None
- Integrity impact: Low
- Availability impact: None
- Confidentiality impact on other systems: None
- Integrity impact on other systems: Low
- Availability impact on other systems: None
- EPSS
- 0.45% chance of exploitation in 30 days (percentile 31, 2026-11-26)
- CWE
- CWE-91
- Modified
Description
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.
Affected and fixed versions
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-62273. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-62273.md Affected: ex-aws ex_aws_s3 >= 2.0.2, < 2.6.0; ex-aws ex_aws_s3 >= c6331b84c80f09d24d4a25cf05d8604541ce162e, < eda0b9b9c63707f7db8d8f18c331df7fda57c397 Fixed in: ex-aws ex_aws_s3 2.6.0 Steps: 1. Search this machine and project for ex-aws ex_aws_s3: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
Exploits and PoCs
FAQ
Is CVE-2026-62273 being exploited?
There is no confirmed exploitation: CVE-2026-62273 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 0.45% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-62273?
Low: CVSS 2.1 (v4.0, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2026-62273?
ex-aws ex_aws_s3 >= 2.0.2, < 2.6.0; ex-aws ex_aws_s3 >= c6331b84c80f09d24d4a25cf05d8604541ce162e, < eda0b9b9c63707f7db8d8f18c331df7fda57c397.
Is there a fix for CVE-2026-62273?
Yes. Fixed in ex-aws ex_aws_s3 2.6.0. Upgrade ex_aws_s3 to 2.6.0 or later. Vendor workaround: Before passing user-influenced data to put_object_tagging/4 or put_bucket_tagging/2, validate and reject any tag key or value containing XML metacharacters (<, >, &, ", '), or restrict tag keys and values to an allowlisted character set.
How do I check if I'm affected by CVE-2026-62273?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.
More ex-aws vulnerabilities
See all| Severity | Identifier / vulnerability | Technology | Signals | Age |
|---|---|---|---|---|
| LOW 2.0 | CVE-2026-62272 ex_aws_lambda relative path traversal via unencoded identifiers in ExAws.Lambda request paths | ex-aws | ||
| MEDIUM 5.9 | CVE-2026-65622 ex_aws_ses missing URI-encoding of list_name allows path injection into SES V2 request URLs | ex-aws | EPSS 10% | |
| MEDIUM 6.9 | CVE-2026-63581 ex_aws_s3 XML injection in bucket-configuration builders | ex-aws | PoCEPSS 31% | |
| LOW 2.1 | CVE-2026-63584 Copy-source header injection in ExAws.S3.upload_part_copy/8 via unencoded source key | ex-aws | EPSS 13% | |
| HIGH 7.0 | CVE-2026-63583 XML injection in ExAws.S3.Utils.build_lifecycle_rule/1 in ex_aws_s3 | ex-aws | EPSS 9% |