Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSubmit malicious grantee email via share feature
-
ExploitInject double-quote/comma to close ACL grantee token
-
ExecutionLibrary emits forged x-amz-grant header to S3
-
ImpactS3 applies injected grantee granting full control or public access
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding for downstream
|
| Exploitation Conditions | Exploitation requires an application built on ex_aws_s3 (2.0.0 up to before 2.6.0) that passes an attacker-influenced grantee value into one of the ACL grant options grant_read, grant_write, grant_read_acp, grant_write_acp, or grant_full_control - the description's example being an email address taken from a 'share this object' feature. The attacker-controlled value must reach format_grant_header/1 and contain double-quote, comma, or CR/LF characters that are not neutralized. Limiting factors: the integrating application must expose such an untrusted-grantee flow (AT:P) - deployments that only pass trusted/internal grantees into ACL options are not exploitable - and the forged S3 ACL request must succeed; no authentication to the library is needed (PR:N) and no user interaction is required (UI:N). |
| Impact | The supplied CVSS 4.0 base score is 4.8 (medium): AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:H/SI:L/SA:N. The high-impact element is SC:H, reflecting that an injected AllUsers grant can expose S3 objects publicly (subsequent-system confidentiality), while vulnerable-system integrity impact is only VI:L (the ACL grantee list is altered). No KEV listing, no EPSS score, and no PoC/exploit reference were supplied, so this is: no public exploit identified at time of analysis. vuln.today priority is 'this_month' (not act_now/emergency), so treat as a normal-cycle patch rather than a drop-everything emergency. Two signals are in tension worth verifying: the input vector states AV:L (local) but the description implies the grantee value arrives through a network-facing 'share this object' feature, which would be AV:N - verify reachability with the integrating application. The AT:P (attack requirement present) metric is the key risk-limiter: this is only exploitable when an application actually passes attacker-influenced grantee values into an ACL grant option; libraries used only with trusted/internal grantees are not exposed. Net: a real, patch-this-month privilege-escalation/output-encoding bug whose 'up to full control or public access' outcome is the conditional worst case, not a widespread wormable threat. |
| Exploit ScenarioDerived | An application exposes a 'share this object' feature that forwards a user-supplied email into ex_aws_s3's grant_read or grant_full_control option. The attacker supplies an email containing a double-quote and comma to close the quoted grantee token and append their own canonical id or the AllUsers group URI, so S3 applies the injected grantee and grants the attacker the same permission - up to full control or public read - on the object. No public exploit identified at time of analysis, and exploitation requires the application to pass attacker-influenced grantee values into an ACL grant option. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 24, 2026
ACL grantee injection in the Elixir library ex_aws_s3 (2.0.0 up to but not including 2.6.0) allows an attacker who controls a grantee value supplied by the integrating application to smuggle additional grantees - including their own canonical ID or the AllUsers URI - into the x-amz-grant-* headers, letting S3 apply permissions the developer never intended, up to full control or public access. The flaw sits in format_grant_header/1, which quotes and comma-joins grantee email and ID values without neutralizing double-quote, comma, or CR/LF characters. Only applications that feed attacker-influenced values into grant_read, grant_write, grant_read_acp, grant_write_acp, or grant_full_control are exposed; the vendor has released a fix in 2.6.0, and no public exploit code was identified at time of analysis (CVSS 4.0 base 4.8, assessed as network-reachable with high attack complexity and scope change).
RemediationAI
Upgrade ex_aws_s3 to 2.6.0 or later - the vendor-released patch version - by bumping the dependency and re-resolving the lockfile; the fixes are in commits dd422637a46203d01cc47fd832836758f8090556 and 4ce4d72219c0cb8de9356278203d8ea780311b75, and the advisory at https://github.com/ex-aws/ex_aws_s3/security/advisories/GHSA-6fg2-v8g4-vfg2 documents the release. If the upgrade cannot be scheduled immediately (the vuln.today decision label places this at this_month priority), the actionable compensating control is application-side input validation ahead of the library call: reject or strip any grantee value containing a double quote, comma, carriage return, or line feed before it is passed to grant_read, grant_write, grant_read_acp, grant_write_acp, or grant_full_control, and preferably constrain the grantee to an allowlist of known canonical IDs and email addresses - the trade-off is that legitimate grantees with unusual characters will be refused and the guard must be applied at every call site, so a single missed path leaves the injection open. In parallel, audit existing bucket ACLs and object ACLs for unexpected AllUsers or unknown canonical-ID grantees that may indicate prior abuse of this header-injection path.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
ex_aws_s3 is the S3 client library for the Elixir ExAws ecosystem; when a caller supplies ACL grant options such as grant_read or grant_full_control, the library serializes each grantee into the corresponding Amazon S3 request header (for example x-amz-grant-read) as a quoted, comma-separated list of grantee=value tokens. format_grant_header/1 performs this assembly by plain string interpolation, wrapping email and id values in double quotes and joining entries with commas, but it does not escape or reject embedded double quotes, commas, or CR/LF characters. This is an output-encoding defect in the CWE-116 class: because the delimiter alphabet is not escaped, a value containing a closing quote followed by a crafted grantee and a new comma causes S3 to parse the header as containing an extra grantee entry, so a single intended grant becomes two. The injected principal can be an attacker-supplied canonical ID or a predefined group URI such as AllUsers, and S3 applies it faithfully - turning a data-formatting bug into a privilege-escalation primitive at the storage layer. Exploitation is conditional on the consuming application exposing a path where an untrusted value (the advisory's example is an email address from a 'share this object' flow) reaches one of the five grant options; the HTTP request itself requires no authentication to the library and no user interaction, but the integration-specific precondition raises the assessed attack complexity (CVSS 3.1 AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:L/A:N) and the trigger path depends entirely on how the library is embedded.
Know when Elixir gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Network-delivered grantee value (AV:N) but needs the app to pass untrusted input into ACL options (AC:H); scope-change public exposure of S3 objects gives C:H, ACL alteration gives I:L.
Primary rating from Vendor (EEF).
CVSS VectorVendor: EEF
DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Privilege escalation occurs when an attacker leverages flaws in access control mechanisms to gain permissions beyond what they were originally granted.
Unbounded recursion in the Elixir `protobuf` Hex package (versions >= 0.8.0, < 0.16.1) lets unauthenticated remote attac
Improper JWT signature verification in Dashbit's nimble_zta (0.1.2 up to but not including 0.1.3) lets an unauthenticate
Remote code execution in the Elixir Flop pagination library affects versions 0.8.0 through 0.26.6, 0.27.0 through 0.27.2
Session-swapping authentication bypass in the Elixir library AshAuthentication (versions 4.10.0 before 4.15.0 and 5.0.0-
Account takeover in AshAuthentication (Elixir/Ash) 4.14.0 through 4.14.x and 5.0.0-rc.10 through 5.0.0-rc.13 lets unauth
Authentication bypass in the Elixir library ash_authentication lets an attacker who operates one federated identity-prov
Server-Side Request Forgery protection bypass in the Elixir safeurl library (versions 0.1.0 and later) allows unauthenti
Arbitrary code execution in applications running the Elixir db_connection library 1.1.0 through 2.10.2 is possible when
Unauthenticated remote CPU exhaustion in mtrudel Bandit's HTTP/2 server (versions before 1.14.0) is achievable by holdin
Unbounded per-connection memory and CPU growth in the Elixir Bandit HTTP/2 server (0.3.6 up to 1.14.0) lets an unauthent
Unauthenticated remote denial of service in the Elixir HTTP server Bandit (mtrudel/bandit) from 0.1.0 before 1.14.0 lets
Unauthenticated remote attackers can consume disproportionate server CPU on Bandit (mtrudel/bandit, Elixir/Erlang) by se
EUVD-2026-133980
GHSA-qr75-737w-jrc5
NVD
CVE.org
EPSS
VulDB
Exploit-DB