All vulnerabilities

Hex

CVE-2026-63585

ExAws.S3 ACL grantee injection via unescaped grant headers in format_grant_header/1

Severity
Medium 4.8
Published
24 Nov 2026
Last changed
24 Nov 2026
Added to UpHeron
24 Nov 2026
Fixed in
2.6.0
Weakness
Improper output encoding (CWE-116)
Attack
Needs local access · Only under certain conditions · No login needed · No user action needed
Attacker can
Change some data
CVSS 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
Sources
CVE Program

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.

From the CVE Program. Shortened; the full text is there.

Affected software

SoftwareAffected versions
ex_aws_s3Hex · osv:Hex:ex_aws_s3
  • From 2.0.0 before 2.6.0

About ex_aws_s3

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-63585