Feed
8.9HIGH

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%
Priority
25/100 medium
how it is computed
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

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

Sources

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