CVEBrief

Home / elixir-ecto / ecto / CVE-2026-118391

CVE-2026-118391: is it exploited, and which versions of elixir-ecto ecto are affected and fixed?

CVE-2026-118391 is a denial of service (resources allocated without limits) vulnerability in elixir-ecto ecto. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 19:09 UTC). Affected: ecto from 3.4.0 before 3.14.3 (CVE record by EEF). Fixed in 3.14.3 (CVE record by EEF). Severity: High (8.9, CVSS 4.0, from EEF).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 19:09 UTC, CVE record December 2, 2026, 03:23 UTC and NVD December 2, 2026, 05:13 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 19:09 UTC
Affected
ecto from 3.4.0 before 3.14.3
CVE record by EEF
Fixed in
3.14.3
CVE record by EEF
Severity
High 8.9
CVSS 4.0 from EEF
Exploit odds (EPSS)
0.62% in 30 days
higher than 51% of CVEs; FIRST, December 3, 2026
Free for up to 3 items: a weekly email, and an alert the day CISA lists one as exploited. We email you once to confirm. More about the watch

What is CVE-2026-118391?

Unbounded query cache growth from interpolated JSON paths and splice lists in Ecto

Allocation of Resources Without Limits or Throttling vulnerability in elixir-ecto ecto allows an unauthenticated remote attacker to exhaust memory in the application and in the database server by sending requests with distinct JSON keys or list lengths where the application interpolates them into json_extract_path/2, field[^key] or splice/1. Ecto caches prepared queries per repository in an ETS table with no size limit and no eviction. Interpolated JSON path elements become part of the query expression instead of its parameters, and splice/1 expands into one placeholder per element, so every distinct key or list length creates a new cache entry. With ecto_sql each entry is also a new prepared statement on the database connection that runs it. None of this memory is released until the processes restart. This issue affects ecto: from 3.4.0 before 3.14.3.

From the CVE record by EEF, last updated December 2, 2026, 03:10 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
elixir-ectoectofrom 3.4.0 before 3.14.33.14.3
elixir-ectoecto elixir-ecto/ectonot stated

As the CVE record by EEF states it, last updated December 2, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.

How severe is CVE-2026-118391?

ScoreVersionVectorSource
High 8.9CVSS 4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:HEEF

Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.

What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.

Is CVE-2026-118391 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
CISA SSVC
Exploitation: none; automatable: yes; technical impact: partial (CISA ADP, November 4, 2026)
EPSS
0.62% probability of exploitation activity in the next 30 days, percentile 51.1 (FIRST EPSS, scores of December 3, 2026)

What kind of flaw is it?

How do I fix it? (from the CVE record)

Upgrade Ecto to 3.14.3 or later. Queries with interpolated JSON path elements or an interpolated splice/1 list are no longer cached, the same as running them with query_cache: false, so distinct keys and list lengths don't add cache entries.

Is there a workaround? (from the CVE record)

Pass the path as a query parameter so it is not part of the cache key. With PostgreSQL: fragment("? #> ?", i.meta, type(^path, {:array, :string})). Alternatively, disable the cache for these queries with Repo.all(query, query_cache: false), or restrict keys and list lengths to a known set before building the query.

Where are the vendor advisories and references?

Who found and reported it?

As published in the CVE record; contact details are removed.

When was it published, and where is the official record?

Reserved
October 30, 2026
Published
November 4, 2026, 13:57 UTC
CVE record updated
December 2, 2026, 03:10 UTC by EEF
NVD
Deferred, last modified December 2, 2026, 04:17 UTC
Last checked
CVE list December 2, 2026, 03:23 UTC; NVD December 2, 2026, 05:13 UTC; KEV December 3, 2026, 19:09 UTC; EPSS December 3, 2026
Official record
cve.org · NVD

Questions about CVE-2026-118391

Is CVE-2026-118391 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 19:09 UTC. FIRST's EPSS gives it a 0.62% chance of exploitation activity in the next 30 days (scores of December 3, 2026).

Which versions of elixir-ecto ecto are affected by CVE-2026-118391?

ecto from 3.4.0 before 3.14.3, per the CVE record by EEF. The tables above give every range the sources list.

Which version fixes CVE-2026-118391?

3.14.3, per the CVE record by EEF. Check the vendor's advisory before you rely on it.

How severe is CVE-2026-118391?

High (8.9, CVSS 4.0, from EEF). The severity table above shows each score with its source.

Where is the official record of CVE-2026-118391?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.