CVE-2026-133555Code execution via the :log option of forged DBConnection.Stream structs in db_connection
A high-severity vulnerability reachable with local access, needing no privileges and no user interaction. EPSS estimates a 0.5% chance of exploitation in the next 30 days. A fixed version is named.
- Exploited in the wild
- Not in KEV
- EPSS
- 0.5%
- percentile 33%
- Fix
- Named by a source
- CVE published 24 Nov 2026
Reference
None of the "Needs attention" rules apply right now.
EPSS 0.5% (+0) · No privileges required (+5) · No user interaction (+5) · CVSS 8.9: at least medium
Immediate actions
- db_connection (Hex): upgrade to 2.10.3 or later on your release line.
- Patch: https://github.com/elixir-ecto/db_connection/commit/9a4230a60a33ca9eed76c18c494c3a59acddb04b
- Commit / pull request: https://github.com/elixir-ecto/db_connection/commit/7b21e044e4a2f9fa0cc4b001bc6cda0ecc2ae4d2
- Advisory: https://github.com/elixir-ecto/db_connection/security/advisories/GHSA-gmmq-fw75-wq46
Who should check
db_connection (Hex) pkg:hex/db_connection
- Affected>= 1.1.0, < 2.10.3Fixed in2.10.3OSV (EEF-CVE-2026-133555)
elixir-ecto db_connection product:elixirecto/dbconnection
- Affected>= 1.1.0, < 2.10.3Affected range ends before2.10.3as published by CNA (CVE List)
Products (not packages) are shown as their sources publish them. We check no product version against these ranges; a fixed version is the one the source names. Ask the vendor's advisory.
Confirmed facts
- CVSS
- 8.9 HIGH (version 4.0)
- Score from
- CNA (6b3ad84c-e1a6-4bf7-a703-f496b71e49db)
- Attack vector
- local
- Attack complexity
- low
- Privileges required
- none
- User interaction
- none
- Weakness
- CWE-470
- Assigned by
- 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
Unknowns
- We show one CVSS score. Other sources may score this CVE differently.
- NVD status: Awaiting Analysis. NVD has not analysed it yet.
Advisory text
Quoted from the source advisory (untrusted)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.
Update history
- 24 Nov 2026Published
References
- otherhttps://cna.erlef.org/cves/CVE-2026-124283.html
- otherhttps://cna.erlef.org/cves/CVE-2026-129514.html
- otherhttps://cna.erlef.org/cves/CVE-2026-130411.html
- otherhttps://cna.erlef.org/cves/CVE-2026-133555.html
- commit / pull requesthttps://github.com/elixir-ecto/db_connection/commit/7b21e044e4a2f9fa0cc4b001bc6cda0ecc2ae4d2
- patchhttps://github.com/elixir-ecto/db_connection/commit/9a4230a60a33ca9eed76c18c494c3a59acddb04b
- advisoryhttps://github.com/elixir-ecto/db_connection/security/advisories/GHSA-gmmq-fw75-wq46
- otherhttps://osv.dev/vulnerability/EEF-CVE-2026-133555
- otherhttps://hex.pm/packages/db_connection
Sources
- EPSS by FIRST.org, Free to use, attribution requested. Scores generated by Empirical Security.
- CVE-2026-133555 (CVE List (CNA and CISA ADP data, through the NVD API)), CVE terms of use. Copyright The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation.
- NVD API 2.0 (NIST), the API we query, NVD API terms of use. This product uses the NVD API but is not endorsed or certified by the NVD.
- EEF-CVE-2026-133555 (Erlang Ecosystem Foundation CNA), CC BY 4.0.
- OSV.dev, Per database.
This page is our own presentation: records are shortened, normalised and merged. Licences
Last checked: kev 70 min ago · osv 56 min ago · nvd 89 min ago · epss 57 min ago · JSON · ask via MCP: explain_vulnerability
Also known as EEF-CVE-2026-133555, GHSA-gmmq-fw75-wq46