Skip to main content

ex_aws EUVDEUVD-2026-133841

| CVE-2026-62269 MEDIUM
Improper Encoding or Escaping of Output (CWE-116)
2026-11-24 EEF GHSA-jp2q-3hxx-j4hr
5.1
CVSS 4.0 · Vendor: EEF
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Supply filename containing literal '?'
  2. Exploit
    '?' survives unencoded in S3 request URL
  3. Execution
    Request truncates/redirects key or injects sub-resource op
  4. Impact
    Access 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

ex_aws ecd51b1965909119ee597d6c0783334e30e59e58 <963fcc0948102608c6796959e7a0d84f37d84dce
ex_aws 2.1.2 <2.8.0

Affected Packages

euvd ex_aws fix: 2.8.0

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

Vendor (EEF) PRIMARY 5.1 MEDIUM
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
vuln.today AI 6.5 MEDIUM

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

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (EEF).

CVSS VectorVendor: EEF

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

EPSS Score
0.2%
Top 92% exploitable
Prevalence
Low
dominant AWS client within the niche Elixir ecosystem, small overall footprint
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

More in Elixir

View all
CVE-2026-54451 HIGH POC
8.2 Jul 15

Unbounded recursion in the Elixir `protobuf` Hex package (versions >= 0.8.0, < 0.16.1) lets unauthenticated remote attac

CVE-2026-130411 CRITICAL
9.2 Nov 24

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

CVE-2026-91187 CRITICAL
9.3 Sep 24

Improper JWT signature verification in Dashbit's nimble_zta (0.1.2 up to but not including 0.1.3) lets an unauthenticate

CVE-2026-76949 CRITICAL
9.1 Sep 17

Session-swapping authentication bypass in the Elixir library AshAuthentication (versions 4.10.0 before 4.15.0 and 5.0.0-

CVE-2026-88952 CRITICAL
9.1 Sep 17

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

CVE-2026-91039 CRITICAL
9.1 Sep 17

Authentication bypass in the Elixir library ash_authentication lets an attacker who operates one federated identity-prov

CVE-2026-77866 CRITICAL
9.0 Sep 15

Server-Side Request Forgery protection bypass in the Elixir safeurl library (versions 0.1.0 and later) allows unauthenti

CVE-2026-133555 HIGH
8.9 Nov 24

Arbitrary code execution in applications running the Elixir db_connection library 1.1.0 through 2.10.2 is possible when

CVE-2026-108529 HIGH
8.7 Oct 26

Unauthenticated remote CPU exhaustion in mtrudel Bandit's HTTP/2 server (versions before 1.14.0) is achievable by holdin

CVE-2026-110499 HIGH
8.7 Oct 26

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

CVE-2026-111101 HIGH
8.7 Oct 26

Unauthenticated remote denial of service in the Elixir HTTP server Bandit (mtrudel/bandit) from 0.1.0 before 1.14.0 lets

CVE-2026-113436 HIGH
8.7 Oct 26

Unauthenticated remote attackers can consume disproportionate server CPU on Bandit (mtrudel/bandit, Elixir/Erlang) by se

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy