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.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 0.494% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T18:36:01.564Z. Public exploit availability is not used to set this status.
CVSS 4.0 · 8.9 · published by EEFCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H
Assessment source · checked 2026-11-19T12:58:00.191Z
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T18:36:01.564Z | CISA KEV |
| cvss | verified | 2026-11-19T12:58:00.191Z | CVE Program |
| epss | verified | 2026-11-19T18:27:15.258Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:52:53.179Z | OSV |
| affected | verified | 2026-11-19T12:58:00.191Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:58:00.191Z | CVE Program |
Affected versions and configuration
elixir-ecto ecto; default status: unaffected: 3.4.0 to < 3.14.3 [affected; scheme: semver] elixir-ecto ecto; default status: unaffected: cb2f03964dac324a9771f84f5088e395326e6de8 to < eef014ad090d27d1a5b69c0e32a50eabd44ab3bb [affected; scheme: git]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
CVE Program · cve-json · full conditions
{
"affected": [
{
"cpes": [
"cpe:2.3:a:elixir-ecto:ecto:*:*:*:*:*:*:*:*"
],
"repo": "https://github.com/elixir-ecto/ecto",
"vendor": "elixir-ecto",
"product": "ecto",
"versions": [
{
"status": "affected",
"version": "3.4.0",
"lessThan": "3.14.3",
"versionType": "semver"
}
],
"packageURL": "pkg:hex/ecto",
"packageName": "ecto",
"collectionURL": "https://repo.hex.pm",
"defaultStatus": "unaffected"
},
{
"cpes": [
"cpe:2.3:a:elixir-ecto:ecto:*:*:*:*:*:*:*:*"
],
"repo": "https://github.com/elixir-ecto/ecto",
"vendor": "elixir-ecto",
"product": "ecto",
"versions": [
{
"status": "affected",
"version": "cb2f03964dac324a9771f84f5088e395326e6de8",
"lessThan": "eef014ad090d27d1a5b69c0e32a50eabd44ab3bb",
"versionType": "git"
}
],
"packageURL": "pkg:github/elixir-ecto/ecto",
"packageName": "elixir-ecto/ecto",
"collectionURL": "https://github.com",
"defaultStatus": "unaffected"
}
],
"additionalContainers": [
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2026-118391",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "yes"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2026-11-04T20:48:32.374051Z"
}
}
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2026-11-05T19:07:34.294Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "EEF-CVE-2026-118391",
"aliases": [
"CVE-2026-118391",
"GHSA-cxjx-vmm2-qr8r"
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "3.4.0"
},
{
"fixed": "3.14.3"
}
]
}
],
"package": {
"name": "ecto",
"purl": "pkg:hex/ecto",
"ecosystem": "Hex"
},
"versions": [
"3.10.0",
"3.10.1",
"3.10.2",
"3.10.3",
"3.11.0",
"3.11.1",
"3.11.2",
"3.12.0",
"3.12.1",
"3.12.2",
"3.12.3",
"3.12.4",
"3.12.5",
"3.12.6",
"3.13.0",
"3.13.1",
"3.13.2",
"3.13.3",
"3.13.4",
"3.13.5",
"3.13.6",
"3.14.0",
"3.14.1",
"3.14.2",
"3.4.0",
"3.4.1",
"3.4.2",
"3.4.3",
"3.4.4",
"3.4.5",
"3.4.6",
"3.5.0",
"3.5.0-rc.0",
"3.5.0-rc.1",
"3.5.1",
"3.5.2",
"3.5.3",
"3.5.4",
"3.5.5",
"3.5.6",
"3.5.7",
"3.5.8",
"3.6.0",
"3.6.1",
"3.6.2",
"3.7.0",
"3.7.1",
"3.7.2",
"3.8.0",
"3.8.1",
"3.8.2",
"3.8.3",
"3.8.4",
"3.9.0",
"3.9.1",
"3.9.2",
"3.9.3",
"3.9.4",
"3.9.5",
"3.9.6"
],
"database_specific": {
"source": "https://cna.erlef.org/osv/EEF-CVE-2026-118391.json"
}
}
],
"severity": [
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://github.com/elixir-ecto/ecto/security/advisories/GHSA-cxjx-vmm2-qr8r",
"type": "ADVISORY"
},
{
"url": "https://cna.erlef.org/cves/CVE-2026-118391.html",
"type": "WEB"
},
{
"url": "https://github.com/elixir-ecto/ecto/commit/d0e97d8a6e274c81c25fbf08087da8d8b9bae0ea",
"type": "FIX"
},
{
"url": "https://ecto.hexdocs.pm/Ecto.Query.API.html#json_extract_path/2",
"type": "WEB"
},
{
"url": "https://ecto.hexdocs.pm/Ecto.Query.API.html#splice/1",
"type": "WEB"
},
{
"url": "https://github.com/elixir-ecto/ecto/commit/eb03f45b999e2bf67ffae92811233eb6e56dba55",
"type": "WEB"
},
{
"url": "https://github.com/elixir-ecto/ecto/issues/4470",
"type": "WEB"
},
{
"url": "https://github.com/elixir-ecto/ecto/issues/1031",
"type": "WEB"
},
{
"url": "https://github.com/elixir-ecto/ecto/commit/cb2f03964dac324a9771f84f5088e395326e6de8",
"type": "WEB"
},
{
"url": "https://github.com/elixir-ecto/ecto/commit/eef014ad090d27d1a5b69c0e32a50eabd44ab3bb",
"type": "FIX"
},
{
"url": "https://hex.pm/packages/ecto",
"type": "PACKAGE"
}
],
"relatedGitRanges": [
{
"ranges": [
{
"repo": "https://github.com/elixir-ecto/ecto",
"type": "GIT",
"events": [
{
"introduced": "cb2f03964dac324a9771f84f5088e395326e6de8"
},
{
"fixed": "eef014ad090d27d1a5b69c0e32a50eabd44ab3bb"
}
]
}
],
"versions": [
"v3.14.2",
"v3.14.1",
"v3.13.3",
"v3.13.2",
"v3.13.1",
"v3.13.0",
"v3.12.5",
"v3.12.4",
"v3.12.3",
"v3.12.2",
"v3.12.1",
"v3.12.0",
"v3.11.1",
"v3.11.0",
"v3.10.2",
"v3.10.1",
"v3.10.0",
"v3.9.1",
"v3.9.0",
"v3.8.4",
"v3.8.2",
"v3.8.1",
"v3.8.0",
"v3.7.1",
"v3.7.0",
"v3.6.2",
"v3.6.1",
"v3.6.0",
"v3.5.5",
"v3.5.4",
"v3.5.3",
"v3.5.2",
"v3.5.1",
"v3.5.0",
"v3.5.0-rc.1",
"v3.5.0-rc.0",
"v3.4.5",
"v3.4.4",
"v3.4.3",
"v3.4.2",
"v3.4.1",
"v3.4.0"
],
"database_specific": {
"source": "https://cna.erlef.org/osv/EEF-CVE-2026-118391.json"
}
}
],
"database_specific": {
"cpe_ids": [
"cpe:2.3:a:elixir-ecto:ecto:*:*:*:*:*:*:*:*"
],
"cwe_ids": [
"CWE-770"
],
"capec_ids": [
"CAPEC-131"
]
}
}Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
| Evidence type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| ecosystem-boundary | Hex / package | ecto | Not a distribution channel | 3.14.3 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- OSVConsulted: 2026-11-19T12:52:53.179ZArchived source JSON
Source publication: 2026-11-04T13:57:29.762Z
Source modification: 2026-11-04T14:11:10.123ZDocument fingerprint
3be633e13331d7505cefd2c68281668af46a868a49b3ab1e493247083fcb70fb - CVE ProgramConsulted: 2026-11-19T12:58:00.191ZArchived source JSON
Source publication: 2026-11-04T13:57:29.762Z
Source modification: 2026-11-05T19:07:34.294ZDocument fingerprint
20d6ffb5f5f5eedd5f6ef05c67a19f095e00b6f8c4b27470efb7a91672bd6ec6 - FIRST EPSSConsulted: 2026-11-19T18:27:15.258ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
f96a3b3c08471c3833be96cee820e0239fd0b51813799ca70e4ed37c577162ef - CISA KEVConsulted: 2026-11-19T18:36:01.564ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56
Official status history
- UNKNOWN → PUBLISHED · · evidence