CVE-2026-63585ExAws.S3 ACL grantee injection via unescaped grant headers in format_grant_header/1
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.
What to do
None of the Linux distributions or Windows releases we track list an affected package for this CVE. Check the vendor-reported products below.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
What the vendor says
As published in the CVE record by EEF, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- ex-aws ex_aws_s3: affected: 2.0.0 to before 2.6.0; fixed in
2.6.0 - ex-aws ex_aws_s3: affected: 4ce4d72219c0cb8de9356278203d8ea780311b75 to before dd422637a46203d01cc47fd832836758f8090556
Workaround: Validate grantee identifiers before passing them to ExAws.S3 ACL grant options and reject any value containing a double quote, comma, or CR/LF character, or restrict grantee input to trusted canonical ids and email addresses that match the expected S3 grantee grammar.
Vendor advisories:
- https://github.com/ex-aws/ex_aws_s3/security/advisories/GHSA-6fg2-v8g4-vfg2 (vendor-advisory)
- https://github.com/ex-aws/ex_aws_s3/commit/dd422637a46203d01cc47fd832836758f8090556 (patch)
References
- https://github.com/ex-aws/ex_aws_s3/security/advisories/GHSA-6fg2-v8g4-vfg2
- https://cna.erlef.org/cves/CVE-2026-63585.html
- https://osv.dev/vulnerability/EEF-CVE-2026-63585
- https://github.com/ex-aws/ex_aws_s3/commit/4ce4d72219c0cb8de9356278203d8ea780311b75
- https://github.com/ex-aws/ex_aws_s3/commit/dd422637a46203d01cc47fd832836758f8090556
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.