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.
Published: 2026-11-24
Score: 4.8 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

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

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 24 Nov 2026 14:30:00 +0000

Type Values Removed Values Added
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.
Title ExAws.S3 ACL grantee injection via unescaped grant headers in format_grant_header/1
First Time appeared Ex-aws
Ex-aws ex Aws S3
Weaknesses CWE-116
CPEs cpe:2.3:a:ex-aws:ex_aws_s3:*:*:*:*:*:*:*:*
Vendors & Products Ex-aws
Ex-aws ex Aws S3
References
Metrics cvssV4_0

{'score': 4.8, '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'}


Subscriptions

Ex-aws Ex Aws S3
cve-icon MITRE

Status: PUBLISHED

Assigner: EEF

Published:

Updated: 2026-11-24T14:13:11.918Z

Reserved: 2026-07-17T04:14:44.351Z

Link: CVE-2026-63585

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses