Home / elixir-ecto / db_connection / CVE-2026-133555
CVE-2026-133555: is it exploited, and which versions of elixir-ecto db_connection are affected and fixed?
CVE-2026-133555 is an unsafe reflection vulnerability in elixir-ecto db_connection. 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, 18:09 UTC). Affected: db_connection from 1.1.0 before 2.10.3 (CVE record by EEF). Fixed in 2.10.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, 18:09 UTC, CVE record December 2, 2026, 15:18 UTC and NVD December 2, 2026, 16:13 UTC.
What is CVE-2026-133555?
Code execution via the :log option of forged DBConnection.Stream structs in db_connection
Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection') vulnerability in elixir-ecto db_connection allows an attacker to execute arbitrary code via a forged DBConnection.Stream or DBConnection.PrepareStream struct. The Enumerable implementations of both structs in lib/db_connection.ex run with the options stored in the struct. The :log option accepts a {module, function, arguments} tuple, which DBConnection applies. When code enumerates a forged struct, DBConnection calls the chosen function. This issue is not exploitable in db_connection alone. It is, in theory, a vulnerability of the downstream component. The root cause is a component that decodes untrusted input with :erlang.binary_to_term/2 and does not restrict which terms the result contains. The :safe option does not reject structs, and these structs contain only plain terms. Structs of other libraries can possibly lead to the same result, so a component that decodes untrusted terms stays at risk independently of db_connection. This record exists because the struct was used in attacks on such components. This issue affects db_connection: from 1.1.0 before 2.10.3.
From the CVE record by EEF, last updated December 2, 2026, 15:08 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| elixir-ecto | db_connection | from 1.1.0 before 2.10.3 | 2.10.3 |
| elixir-ecto | db_connection elixir-ecto/db_connection | not 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-133555?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.9 | CVSS 4.0 | CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H | EEF |
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-133555 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: total (CISA ADP, December 2, 2026)
- EPSS
- 0.47% probability of exploitation activity in the next 30 days, percentile 42.7 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-470 Use of Externally-Controlled Input to Select Classes or Code
Where are the vendor advisories and references?
- Code execution via the :log option of forged DBConnection.Stream structs in db_connection vendor-advisory, related
- EEF CNA record for CVE-2026-133555 related
- OSV record EEF-CVE-2026-133555 related
- CVE-2026-124283: Code execution and SQL injection via struct-wrapped values in a forged keyset pagination cursor in Ash related
- CVE-2026-129514: Unauthenticated remote code execution through struct values in Erlang term request bodies related
- CVE-2026-130411: Code execution through deserialization of pagination cursors in flop related
- Introducing commit 7b21e04 in elixir-ecto/db_connection related
- Fix commit 9a4230a in elixir-ecto/db_connection patch
Who found and reported it?
- Jonatan Männchen / EEF (coordinator)
- José Valim (remediation developer)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- November 24, 2026
- Published
- November 24, 2026, 14:12 UTC
- CVE record updated
- December 2, 2026, 15:08 UTC by EEF
- NVD
- Awaiting Analysis, last modified December 2, 2026, 15:17 UTC
- Last checked
- CVE list December 2, 2026, 15:18 UTC; NVD December 2, 2026, 16:13 UTC; KEV December 3, 2026, 18:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
Questions about CVE-2026-133555
Is CVE-2026-133555 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 18:09 UTC. FIRST's EPSS gives it a 0.47% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of elixir-ecto db_connection are affected by CVE-2026-133555?
db_connection from 1.1.0 before 2.10.3, per the CVE record by EEF. The tables above give every range the sources list.
Which version fixes CVE-2026-133555?
2.10.3, per the CVE record by EEF. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-133555?
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-133555?
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.