Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSupply filename containing literal '?'
-
Exploit'?' survives unencoded in S3 request URL
-
ExecutionRequest truncates/redirects key or injects sub-resource op
-
ImpactAccess or modify unintended S3 object/ACL/tags
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding for downstream
|
| Exploitation Conditions | Requires an application running ex_aws 2.1.2 through before 2.8.0 that constructs S3 object keys from attacker-controllable input (for example a download or upload keyed by a user-supplied filename) and relies on ex_aws to encode the key. The attacker must be able to place a literal '?' (and related reserved characters) into that key. LIMITING FACTORS: not exploitable where object keys are static, server-generated, or independently sanitized before reaching ex_aws; impact is confined to S3 request addressing and sub-resource operations within the application's own signed/authorized AWS context (no host code execution), and applies only to the s3 service path. Upgrading to 2.8.0 is the vendor fix. |
| Impact | This is a moderate, not emergency, priority. The vendor CVSS 4.0 base score is 5.1 with vector AV:L/AC:L/AT:N/PR:N/UI:N and only Low confidentiality and Low integrity impact (VC:L/VI:L, VA:N, no subsequent-system impact) - consistent with a data-handling flaw whose blast radius is limited to S3 request manipulation rather than host compromise. No EPSS score, no CISA KEV listing, and no confirmed public exploit code are present in the input, so there are no signals of active or imminent widespread exploitation; the only exploitation indicator is the inherent attacker-controllable input path described in the advisory. The vuln.today Decision label is 'this_month', which aligns with a patch-available, moderate-severity issue rather than act_now/emergency. One tension to verify: the vendor chose AV:L, yet the described attack surface is an attacker supplying a filename/object key to an application (data that typically arrives over the network), so the effective reachability may be broader than AV:L implies - the real-world risk hinges almost entirely on whether a given application keys S3 operations on untrusted user input. |
| Exploit ScenarioDerived | An application uses ex_aws to serve S3 downloads or uploads whose object key is built from a user-supplied filename. An attacker submits a filename containing a literal '?' (e.g. '...?acl' or a value that truncates the application-appended suffix), and because ex_aws splits the URL on the first '?' before percent-encoding the path, the character survives unencoded; ex_aws then signs and sends the manipulated request so it addresses a different object or invokes an S3 sub-resource such as ?acl, ?tagging or ?versions. No public exploit was identified at time of analysis, though the fix commit adds a regression test exercising special characters in presigned S3 URLs. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 24, 2026
S3 request tampering in the Elixir ex_aws library (2.1.2 up to but not including 2.8.0) allows attackers who control part of an S3 object key - for example a download or upload keyed by a user-supplied filename - to truncate the key past application-appended suffixes and address a different object than the application intended, or to inject live S3 sub-resource operations such as ?acl, ?tagging or ?versions into the request, which is then signed and transmitted as if legitimate. The root cause is that reserved characters, notably a literal '?', are not percent-encoded when the request URL is assembled, because sanitize/2 splits the flattened URL on the first '?' before uri_encode is applied to the path. Assessed severity is moderate (CVSS 3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N) with no public exploit identified at time of analysis; exploitation requires an application that builds S3 keys from attacker-controllable input and relies on ex_aws to encode them, so impact is confined to S3 request addressing within the application's own authorized AWS context rather than host code execution. Upgrading to 2.8.0 is the vendor fix.
RemediationAI
Vendor-released patch: upgrade ex_aws to 2.8.0, the first fixed release. The fix is visible in upstream commit 963fcc0948102608c6796959e7a0d84f37d84dce (https://github.com/ex-aws/ex_aws/commit/963fcc0948102608c6796959e7a0d84f37d84dce), with the related change in ecd51b1965909119ee597d6c0783334e30e59e58; follow the advisory at https://github.com/ex-aws/ex_aws/security/advisories/GHSA-96q9-mcc7-hqj8 for the vendor's guidance. Where upgrading immediately is not possible, percent-encode or strictly validate S3 object keys before handing them to ex_aws - encoding '?' as %3F and rejecting or encoding reserved characters such as '#', '+', '%' and '/' in user-supplied filenames - or replace user-controlled components with server-generated keys or random identifiers, accepting that this changes the naming scheme users see; note that pre-encoding keys must be removed once 2.8.0 is deployed to avoid double-encoding object paths. Because tampered requests are signed and look like ordinary traffic from the application's credentials, review S3 access logs and CloudTrail for unexpected sub-resource operations (?acl, ?tagging, ?versions) on buckets used by the affected application.
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 is an Elixir AWS client SDK, and the flawed logic lives in lib/ex_aws/request/url.ex in ExAws.Request.Url.build/2, sanitize/2 and get_path/2, a CWE-116 (Improper Encoding or Escaping of Output) weakness. build/2 inserts the operation path verbatim and relies on URI.to_string/1 to emit it, which performs no percent-encoding; request.ex originally applied only a naive space replacement (String.replace(url, " ", "%20")), and the uri_encode helper lived in ExAws.Auth.Utils and was applied to the path only during SigV4 signing, after the URL had already been flattened and split. Consequently a literal '?' inside an S3 object key survives into the unsigned/unsigned-reconstructed URL, and sanitize/2's String.split on the first '?' reclassifies everything after it as the query string, re-inserting that recovered query without encoding - so the '?' is never neutralized and reserved characters in S3 keys (including '+' and '#', which Elixir's URI.parse treats specially) are mishandled. The upstream fix centralizes this logic in ExAws.Request.Url: it adds sanitize/2 and get_path/2 for the s3 service, rewrites the URL from parsed components with a properly encoded path, normalizes '+' to '%2B' for S3 (and to '%20' for other services), moves uri_encode/1 out of ExAws.Auth.Utils, and makes ExAws.Auth derive the signing path via Url.get_path/2 |> Url.uri_encode/1 so the signed path and transmitted path agree. Because the manipulated URL is signed and sent normally, S3 authorizes the tampered request like any other legitimate request from the application's credentials.
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:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
User-supplied filename usually arrives over the network (AV:N), no auth needed on the library path (PR:N), and injection yields only limited object/sub-resource read and modification (C:L/I:L, A:N).
Primary rating from Vendor (EEF).
CVSS VectorVendor: EEF
DescriptionCVE.org
Improper Encoding or Escaping of Output vulnerability in ex_aws (S3 request URL construction).
This vulnerability is associated with program files lib/ex_aws/request/url.ex and program routines ExAws.Request.Url.build/2, ExAws.Request.Url.sanitize/2 and ExAws.Request.Url.get_path/2.
ex_aws does not percent-encode reserved characters in S3 object keys when it assembles the request URL. A literal ? in an object key survives unencoded: build/2 inserts the operation path verbatim and URI.to_string/1 emits it without encoding, and sanitize/2 then splits the flattened URL on the first ?, treating everything after it as the query string. Because the split runs before uri_encode is applied to the path, the ? is never neutralized, and the recovered query is re-inserted without any encoding.
An attacker who controls part of an object key (for example a download or upload keyed by a user-supplied filename) can therefore truncate the key past application-appended suffixes, causing the request to address a different object than the application intended, and can inject live S3 sub-resource operations (such as ?acl, ?tagging or ?versions) into the request. The manipulated URL is signed and transmitted normally, so the tampering is authorized like any legitimate request.
This issue affects ex_aws: from 2.1.2 before 2.8.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
Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.
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-133841
GHSA-jp2q-3hxx-j4hr
NVD
CVE.org
EPSS
Exploit-DB