guest@ro0t: ~ — bash theme: [green] [amber]

guest@ro0t:~$ echo $MOTD

notes, code and logs from the superuser

guest@ro0t:~/cve$ cat cve-2026-63583.md

[HIGH 7.0] # CVE-2026-63583: ExAws.S3.Utils.build_lifecycle_rule/1 in ex_aws_s3 interpolates caller-supplied lifecycle rule fields (the rul...

by darthoreo · · in cve/

#cwe-91 #high

CVE-2026-63583 · severity: HIGH · CVSS 7.0 (v4.0)

Description

ExAws.S3.Utils.build_lifecycle_rule/1 in ex_aws_s3 interpolates caller-supplied lifecycle rule fields (the rule id, filter prefix, tag key and value, storage class, and noncurrent-version count) directly into the PutBucketLifecycleConfiguration XML body without escaping XML metacharacters. An application that populates any of these fields from untrusted input (for example a tenant-supplied object tag) lets an attacker break out of the surrounding element and inject arbitrary XML into the request, including an entirely new lifecycle action such as a delete-after-one-day expiration that destroys the bucket's objects. The public entry point ExAws.S3.put_bucket_lifecycle/2 flows directly into this builder.

This issue affects ex_aws_s3: from 2.3.0 before 2.6.0.

Details

  • status: Received
  • published: 2026-11-24 10:17 EST
  • last modified: 2026-11-24 10:17 EST
  • weakness: CWE-91
  • vector: CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:H/SA:H/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

References

-- EOF --

[ cd .. ]