PT-2026-158030
CVE-2026-130411
·
Published
2026-11-24
·
Updated
2026-11-24
Description by
CVSS 4.0
9.2
CriticalMetricsAV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Name of the Vulnerable Software and Affected Versions
flop versions 0.8.0 through 0.26.6
flop versions 0.27.0 through 0.27.2
flop versions 0.28.0
flop versions 0.29.0 through 0.29.1
Description
An unauthenticated remote attacker can execute arbitrary code on the server through the deserialization of untrusted data. The issue occurs in the
Flop.Cursor.decode/2 function within lib/flop/cursor.ex, which uses :erlang.binary to term/2 in :safe mode to decode the after and before parameters. While the check rejects certain types, it accepts maps and structs of any module. By providing a crafted pagination cursor that nests an Ecto.Query.DynamicExpr struct with a DBConnection.Stream struct as its binding, the attacker can trigger a failure in the Ecto cast. During the subsequent error message inspection, the Inspect implementation enumerates the stream, leading DBConnection to execute the module, function, and arguments specified in the :log option of the stream.Recommendations
Update flop to version 0.26.7.
Update flop to version 0.27.3.
Update flop to version 0.28.1.
Update flop to version 0.29.2.
Found an issue in the description? Have something to add? Feel free to write us 👾