CVE-2026-63585
ExAws.S3 ACL grantee injection via unescaped grant headers in format_grant_header/1
- CVSS
- 4.8
- EPSS
- 0.25% (p10)
- Published
- 2026-11-24
- Age
- 5d old
- Modified
- 2026-11-25
- Product
- ex-aws ex_aws_s3
- Aliases
- EEF-CVE-2026-63585, GHSA-6fg2-v8g4-vfg2
CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:H/SI:L/SA:N
Description
ExAws.S3 constructs S3 ACL grant headers (such as x-amz-grant-read and x-amz-grant-full-control) in format_grant_header/1 by interpolating grantee identifiers into a quoted, comma-separated list without escaping. Grantee email and id values are wrapped in double quotes and joined with a comma, but double-quote, comma, and CR/LF characters in the value are not neutralized. An application that passes an attacker-influenced grantee value (for example an email address taken from a "share this object" feature) into an ACL grant option (grant_read, grant_write, grant_read_acp, grant_write_acp, or grant_full_control) lets the attacker close the quoted token and inject an additional grantee, such as the attacker's own canonical id or the predefined AllUsers group URI, into the header. S3 then applies the injected grantee, granting an arbitrary principal the same permission (up to full control or public access) in an unintended ACL grantee-injection and privilege-escalation issue. This issue affects ex_aws_s3: from 2.0.0 before 2.6.0.
Fixed in
2.6.0 · dd422637a46203d01cc47fd832836758f8090556
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| Hex | ex_aws_s3 | >=2.0.0, <2.6.0 | 2.6.0 |
| unknown | ex-aws/ex_aws_s3 | >=4ce4d72219c0cb8de9356278203d8ea780311b75, <dd422637a46203d01cc47fd832836758f8090556 | dd422637a46203d01cc47fd832836758f8090556 |
| unknown | ex_aws_s3 | >=2.0.0, <2.6.0 | 2.6.0 |
Sources
- NVD · first seen 5d ago · NVD terms of use
- OSV · first seen 5d ago · CC-BY 4.0
- CVE List · first seen 5d ago · CVE Terms of Use
References
- https://github.com/ex-aws/ex_aws_s3/security/advisories/GHSA-6fg2-v8g4-vfg2 vendor-advisory
- https://cna.erlef.org/cves/CVE-2026-63585.html related
- https://osv.dev/vulnerability/EEF-CVE-2026-63585 related
- https://github.com/ex-aws/ex_aws_s3/commit/4ce4d72219c0cb8de9356278203d8ea780311b75 related
- https://github.com/ex-aws/ex_aws_s3/commit/dd422637a46203d01cc47fd832836758f8090556 patch
- https://hex.pm/packages/ex_aws_s3 package
- https://github.com web
- https://repo.hex.pm web
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/63xxx/CVE-2026-63585.json advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-63585 advisory
- https://github.com/ex-aws/ex_aws_s3 package