Unsafe Reflection Vulnerability in Elixir Ecto DB Connection
CVE-2026-133555
What is CVE-2026-133555?
The vulnerability in Elixir's Ecto DB Connection allows an attacker to execute arbitrary code through specially crafted DBConnection.Stream or DBConnection.PrepareStream structs. This can occur due to the way these structs are processed, particularly with the :log option, which enables the execution of arbitrary functions based on untrusted input. The underlying issue stems from the improper decoding of input without sufficient restrictions, making it a potential risk for related components that handle similar input. Both structs from other libraries could hypothetically lead to comparable vulnerabilities, emphasizing the need for robust input validation in fragile components.
Affected Version(s)
db_connection 1.1.0 < 2.10.3
db_connection 7b21e044e4a2f9fa0cc4b001bc6cda0ecc2ae4d2 < 9a4230a60a33ca9eed76c18c494c3a59acddb04b
