# CVE-2026-63585: ExAws.S3 ACL grantee injection via unescaped grant headers in format_grant_header/1

- Severity: Medium 4.8 (CVSS:4.0, scored by EEF) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.25%, higher than 17% of CVEs (2026-12-01)
- Published: 2026-11-24T14:13:11.918Z
- Modified: 2026-12-01T17:17:41.290Z
- Also known as: EEF-CVE-2026-63585, GHSA-6fg2-v8g4-vfg2
- Weaknesses: CWE-116
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: EEF

## 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.

(As written by CVE List.)

## Affected

- ex_aws_s3: from 2.0.0 before 2.6.0
- ex-aws/ex_aws_s3: from 4ce4d72219c0cb8de9356278203d8ea780311b75 before dd422637a46203d01cc47fd832836758f8090556
- ex_aws_s3 (Hex): from 2.0.0 before 2.6.0
- https://github.com/ex-aws/ex_aws_s3: from 4ce4d72219c0cb8de9356278203d8ea780311b75 before dd422637a46203d01cc47fd832836758f8090556

## Every score

- EEF: CVSS:4.0 4.8 Medium `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`
- Erlang Ecosystem Foundation: CVSS:4.0 `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`

## References

- <https://github.com/ex-aws/ex_aws_s3/security/advisories/GHSA-6fg2-v8g4-vfg2> (advisory, related, vendor-advisory)
- <https://cna.erlef.org/cves/CVE-2026-63585.html> (related, web)
- <https://osv.dev/vulnerability/EEF-CVE-2026-63585> (related)
- <https://github.com/ex-aws/ex_aws_s3/commit/4ce4d72219c0cb8de9356278203d8ea780311b75> (related, web)
- <https://github.com/ex-aws/ex_aws_s3/commit/dd422637a46203d01cc47fd832836758f8090556> (fix, patch)
- <https://hex.pm/packages/ex_aws_s3> (package)

## Sources

- CVE List: [CVE-2026-63585](https://www.cve.org/CVERecord?id=CVE-2026-63585), CVE Terms of Use, modified 2026-12-01
- Erlang Ecosystem Foundation: [EEF-CVE-2026-63585](https://osv.dev/vulnerability/EEF-CVE-2026-63585), CC-BY-4.0, modified 2026-11-26
- NVD: [CVE-2026-63585](https://nvd.nist.gov/vuln/detail/CVE-2026-63585), Public domain, modified 2026-12-01

---

Page: https://cve.day/CVE-2026-63585 · Whole record: https://cve.day/CVE-2026-63585.json · Rebuilt by cve.day 2026-12-01T17:32:17.129Z
