CVE-2026-133555
Code execution via the :log option of forged DBConnection.Stream structs in db_connection
CVE-2026-133555 affects Elixir-ecto Db_connection (CVSS 8.9, High).
No known exploitation. EPSS puts it in the 33rd percentile. Fixed in 2.10.3.
No public exploit knownFix2.10.3Upgrade to this build
No ready-made check. Neither Nuclei nor OpenVAS has one for this CVE yet.
What to do
Find your product and version, then upgrade to the build on the right.
- Elixir-ecto Db_connectionAffected: ≥ 1.1.0, < 2.10.3Upgrade to: 2.10.3Stated by: CVE record
Versions as the sources state them. Full version matrix after sign-in
Steps
Written by AI from the record- Check whether your application depends on the db_connection Elixir/Hex package (used by Ecto, Postgrex, MyXQL and similar database adapters) and identify its version.
- Check whether any part of your app deserializes untrusted binary data with Erlang's binary_to_term (directly or via a dependency) — this is the condition that makes the flaw reachable.
- If you use a version of db_connection before 2.10.3, upgrade to 2.10.3 or later.
- Ask your developer or hosting provider to confirm the deployed version and confirm there is no other code path that decodes untrusted terms unsafely, since the underlying risk also lives in that decoding step.
- After upgrading, redeploy and restart the application.
mix deps.update db_connection # ensure db_connection ~> 2.10.3 or later in mix.exsCoverage timeline
2 publishersExploitation reported in the wild
Sourced from public security reporting — each date is when it was published, not when it happened. 1 further article named this CVE in wider roundups without reporting it as a distinct event.
What it is
From the CVE record
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.
In plain language
Written by AI from the recordA flaw in the db_connection library (used by many Elixir/Phoenix apps to talk to databases) can let an attacker who tricks your app into decoding unsafe data run their own code on your server — if your business runs an Elixir app using this library, you should act now; upgrade to 2.10.3 or later.
db_connection's Enumerable implementation for DBConnection.Stream/PrepareStream trusts the struct's stored :log option as an executable {module, function, args} tuple, so any downstream component that deserializes attacker-controlled Erlang terms with binary_to_term (even with :safe) and then enumerates the result can be coerced into arbitrary code execution (CWE-470, unsafe reflection).
If you're affected
- Full server takeover
- Database access and data theft
- Service outage from exploitation attempt
- Backend/application compromise
Exploitation
Where each signal puts this CVE on the scale from published to confirmed exploited.
- CISA KEV
Not in the catalog. CISA has not confirmed exploitation.
- Public exploits
No public exploit or proof of concept found in the sources we track.
- EPSS
0.5% chance of exploitation activity in the next 30 days, which ranks it in the 33rd percentile of scored CVEs.
Exploit Prediction Scoring System, FIRST.org. A probability, not a confirmation.
- Attention now
Sustained, driven by in-the-wild reports.
Lifecycle
5 events over 0 days, from the signal feeds we watch.
- Publishedweakness classified, att&ck mapped, record updated, record updated
Affected products
Technical detail
CVSS 4.0 vector
Open in the CVSS calculatorCVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
Scored 8.9 by the CNA.
How it is reached
- Attack Vector LocalRequires local access to the vulnerable system (e.g. local login, malicious file)
- Attack Complexity LowNo special conditions — the attack can be reliably reproduced
- Privileges Required NoneNo authentication required — anyone can exploit this
- User Interaction NoneNo user interaction needed — fully automated exploitation
Weaknesses
ATT&CK techniques
Mapped from the weaknesses above (CWE to ATT&CK), not observed in attacks.
Sources
References in the record
- cna.erlef.org/cves/CVE-2026-124283.html
- cna.erlef.org/cves/CVE-2026-129514.html
- cna.erlef.org/cves/CVE-2026-130411.html
And 5 more references. See all after sign-in
In the news
Questions about CVE-2026-133555
- Is CVE-2026-133555 being exploited?
- No exploitation is confirmed and no public exploit is known. EPSS puts the chance of exploitation in the next 30 days at 0.5%.
- Which versions are affected by CVE-2026-133555?
- Db_connection: ≥ 1.1.0, < 2.10.3.
- How do I fix or mitigate CVE-2026-133555?
- Upgrade to 2.10.3 or later.
Last updated
Related articles
All articlesWatch the software you run.
My Stack ranks new CVEs for your products by real-world exploitation, so the next serious one reaches you without reading every advisory.
We'll flag the next CVE, public exploit or patch for Db_connection, not every advisory.
A free account adds
- The full version matrix and every affected product
- Exploit links, proofs of concept and Metasploit modules
- Email alerts for the products you watch
- The same data over REST API, MCP and CLI