PatchSiren

elixir-ecto CVE debriefs

These pages are published after PatchSiren validates generated defensive summaries against stored public CVE and source evidence.

HIGH elixir-ecto CVE published 2026-11-04

CVE-2026-118391

CVE-2026-118391 is an Allocation of Resources Without Limits or Throttling vulnerability in elixir-ecto ecto. An unauthenticated remote attacker can exhaust memory in the application and database server by sending requests with distinct JSON keys or list lengths. This issue affects ecto from 3.4.0 before 3.14.3. The vulnerability allows an unauthenticated remote attacker to exhaust memory in the application and database server by sending requests with distinct JSON keys or list lengths. This is due to ecto caching prepared queries per repository in an ETS table with no size limit and no eviction.

MEDIUM Elixir Ecto CVE published 2026-08-07

CVE-2026-66838

AI-assisted PatchSiren debrief based on the supplied source corpus. The CVE record was published on 2026-08-07T13:16:52.960Z and has not been modified since then. The NVD entry is currently Analyzed. This SQL injection vulnerability in postgrex allows attackers to inject malicious SQL by manipulating the :comment option in Postgrex.stream/4, affecting postgrex versions from 0.19.3 up to but not including 0.22.4. The vulnerability arises from improper neutralization of special elements used in SQL commands. Developers and administrators using postgrex within the Elixir Ecto ecosystem should be aware of this vulnerability and take action to mitigate it. Specifically, anyone using postgrex versions from 0.19.3 up to but not including 0.22.4 is at risk. The CVE-2026-66838 issue arises from improper neutralization of special elements in SQL commands, specifically within the postgrex library's handling of the :comment option in Postgrex.stream/4. This allows attackers to inject SQL by closing the comment delimiter and appending their own clauses. The vulnerability affects postgrex versions from 0.19.3 up to but not including 0.22.4. To address this vulnerability, users should inventory and verify the version of postgrex in use, apply the patch or upgrade to postgrex version 0.22.4 or later, implement compensating controls such as input validation and sanitization for SQL queries, monitor for suspicious SQL query patterns that could indicate attempted exploitation, and consider using Ecto.Repo.stream/2 as it also exposes the :comment option but may offer different security characteristics.

LOW elixir-ecto CVE published 2026-07-10

CVE-2026-58225

CVE-2026-58225 is a SQL Injection vulnerability in elixir-ecto postgrex. An attacker who can influence a LISTEN channel name can inject SQL into the reconnect replay query, causing a denial of service of the notification connection. The vulnerability affects postgrex versions from 0.16.0 before 0.22.3. This issue has a significant impact on applications that pass untrusted input as a channel name to Postgrex.Notifications.listen/3, potentially leading to a denial of service for all tenants sharing the same notification connection.

HIGH elixir-ecto CVE published 2026-05-12

CVE-2026-32687

CVE-2026-32687 is a SQL injection issue in elixir-ecto/postgrex’s notifications handling. If an attacker can influence the channel name passed to LISTEN/UNLISTEN, the value is interpolated into SQL without escaping double quotes, which can break out of the quoted identifier and append additional SQL. The same pattern is also present when reconnect logic replays subscriptions in handle_connect/1.