CVE-2026-63585: ExAws.S3 ACL grantee injection via unescaped grant headers in format_grant_header/1
Published 2026-11-24 · Updated 2026-11-26 · Also known as EEF-CVE-2026-63585, GHSA-6fg2-v8g4-vfg2
Summary
ExAws.S3 improperly escapes grantee identifiers in ACL grant headers, allowing user-supplied input to inject arbitrary grantees. Engineering teams using affected versions with untrusted grantee input must upgrade.
Who is affected
Applications using ExAws.S3 versions 2.0.0 through 2.5.x are vulnerable when they pass attacker-influenced grantee values into ACL grant options like grant_read or grant_full_control. An attacker can supply a specially crafted email or ID containing double quotes and commas to close the quoted token, inject their own canonical ID or public group URI, and gain unauthorized access to S3 objects or buckets.
Exploitability
The CVSS 4.0 vector (AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:H/SI:L/SA:N) indicates local attack vector conditions with low attack complexity, requiring low privileges and no user interaction, alongside a high scope confidentiality impact. The EPSS score is 0.003 (percentile 0.102) and CISA KEV status is no.
Remediation
- Upgrade the Hex package ex_aws_s3 to version 2.6.0 or higher.
- Validate and sanitize grantee identifiers before passing them to ExAws.S3 ACL grant options, ensuring they do not contain double quotes, commas, or CR/LF characters.
How to check your project
- Check mix.lock or mix.exs to verify if the project relies on the ex_aws_s3 dependency within the version range [2.0.0, 2.6.0).
Automated analysis of the published advisory data, generated 2026-11-26. Not human-reviewed; verify against the official advisory. How this works.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | Upgrade |
|---|---|---|---|---|
| Hex | ex_aws_s3 |
>= 2.0.0, < 2.6.0 | 2.6.0 | mix deps.update ex_aws_s3 |
CVSS 4.0 vector
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
| Attack vector | Local |
|---|---|
| Attack complexity | Low |
| Attack requirements | Present |
| Privileges required | None |
| User interaction | None |
| Confidentiality (vulnerable system) | None |
| Integrity (vulnerable system) | Low |
| Availability (vulnerable system) | None |
| Confidentiality (subsequent systems) | High |
| Integrity (subsequent systems) | Low |
| Availability (subsequent systems) | None |
Base score is not computed for CVSS 4.0 vectors; severity is taken from the advisory.
FAQ
What causes the vulnerability in ExAws.S3?
The flaw exists in format_grant_header/1 within lib/ex_aws/s3/utils.ex, which interpolates grantee identifiers into quoted comma-separated lists without neutralizing double-quote, comma, or CR/LF characters.
Which versions of ex_aws_s3 are affected?
The vulnerability affects ex_aws_s3 versions from 2.0.0 up to, but not including, 2.6.0.
Are applications passing only trusted grantee identifiers vulnerable?
No, applications that only pass trusted, validated grantee identifiers into the ACL grant options are not affected.
Original advisory description
References
- ADVISORY https://github.com/ex-aws/ex_aws_s3/security/advisories/GHSA-6fg2-v8g4-vfg2
- WEB https://cna.erlef.org/cves/CVE-2026-63585.html
- WEB https://github.com/ex-aws/ex_aws_s3/commit/4ce4d72219c0cb8de9356278203d8ea780311b75
- FIX https://github.com/ex-aws/ex_aws_s3/commit/dd422637a46203d01cc47fd832836758f8090556
- PACKAGE https://hex.pm/packages/ex_aws_s3
Source records: EEF-CVE-2026-63585 (OSV.dev) · EPSS by FIRST, 2026-11-26.