XML injection in ex_aws_s3 object and bucket tagging
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- Present
- Impact type
- —
- Confidentiality · integrity · availability
- None · Low · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA.
Summary
The ex_aws_s3 package from 2.0.2 before 2.6.0 contains an XML injection flaw (CWE-91). Tag keys and values passed to put_object_tagging are inserted into the S3 tagging request XML without escaping. An attacker who controls tag keys or values in an application that forwards them to this function can inject forged tag entries, which S3 honors in access-control conditions and cost-allocation reporting.
Written with Claude Haiku 5.5 from the sources below · 2026-11-25
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| ex-aws | ex_aws_s3 | 2.0.2 to before 2.6.0 | 2.6.0 | Patch available | CNA |
- ex_aws_s3 Vendorex-aws Affected 2.0.2 to before 2.6.0 Fixed in 2.6.0 Patch available CNA
CPE names CNA · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:ex-aws:ex_aws_s3:*:*:*:*:*:*:*:* | — | — | — |
- cpe:2.3:a:ex-aws:ex_aws_s3:*:*:*:*:*:*:*:* Versions — — ·—
Remediation
Upgrade ex_aws_s3 to 2.6.0, the version that fixes this issue.
Written with Claude Haiku 5.5 from the sources below · 2026-11-25
- Fix · CNA ex_aws_s3 (ex-aws) Fixed in 2.6.0
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
ex-aws ex_aws_s3 2.6.0
8 records Highest priority Priority MEDIUM 3 MEDIUM, 5 LOW
Other records, highest priority first
- TI-2026-97430 XML injection in ex_aws_s3 bucket configuration buildersPriority MEDIUM 64
- TI-2026-97439 XML injection in ExAws S3 batch delete lets attackers remove extra objectsPriority MEDIUM 62
- TI-2026-97432 XML injection in ExAws.S3 lifecycle rule builder lets attackers add actionsPriority LOW 30
- Release ·
ex-aws ex_aws_s3 eda0b9b9c63707f7db8d8f18c331df7fda57c397
4 records Highest priority Priority MEDIUM 3 MEDIUM, 1 LOW
Other records, highest priority first
- TI-2026-97430 XML injection in ex_aws_s3 bucket configuration buildersPriority MEDIUM 64
- TI-2026-97439 XML injection in ExAws S3 batch delete lets attackers remove extra objectsPriority MEDIUM 62
- TI-2026-97432 XML injection in ExAws.S3 lifecycle rule builder lets attackers add actionsPriority LOW 30
Timeline
- 2026-11-24 Threatist record created from CVE-2026-62273
- 2026-11-24 Alias added: GHSA-pjg7-j8p4-3c93
- 2026-11-25 CISA SSVC decision points changed
References
More ex-aws vulnerabilities
- TI-2026-97430 XML injection in ex_aws_s3 bucket configuration builders CVSS 4.0MEDIUM 6.9
- TI-2026-97439 XML injection in ExAws S3 batch delete lets attackers remove extra objects CVSS 4.0MEDIUM 5.9
- TI-2026-34676 ex_aws_sns SigningCertURL not validated in verify_message/1 CVSS 4.0HIGH 8.7
- TI-2026-97227 ex_aws IMDSv2 token request follows HTTP redirects (SSRF) CVSS 4.0HIGH 7.6
- TI-2026-97235 ex_aws normalizes .. in S3 object keys client-side, allowing bucket or key-prefix escape CVSS 4.0HIGH 7.4
- TI-2026-97432 XML injection in ExAws.S3 lifecycle rule builder lets attackers add actions CVSS 4.0HIGH 7.0
Sources
- CVE-2026-62273 · CVE Program
- CVE-2026-62273 · NVD
- FIRST EPSS
- GHSA-pjg7-j8p4-3c93 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences