CVE-2026-130411woylie flop
Remote Code Execution via Unsafe Deserialization in Flop
Critical 9.2 No auth neededRecent
Follow: this CVE · woylie · woylie flop We alert you by email or Slack (account required).
- Priority
- 77
- CVSS 4.0
- 9.2
- EPSS
- —
- Auth required
- No
- Published
- Nov 24, 2026
- Updated
- Dec 1, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-502
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:4.0/AV: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
What happens
Flop allows a remote attacker to execute code on the server through a crafted pagination cursor. The vulnerability exists in Flop.Cursor.decode/2, which deserializes untrusted data using :erlang.binary_to_term/2 in safe mode but accepts structures that can be exploited via Ecto and DBConnection. No authentication is required.
Show the original NVD text
Deserialization of Untrusted Data vulnerability in woylie flop allows a remote attacker to execute code on the server via a crafted pagination cursor.
Flop.Cursor.decode/2 in lib/flop/cursor.ex decodes the after and before parameters with :erlang.binary_to_term/2 in :safe mode. Its check rejects functions, PIDs, ports and references, but it accepts maps, and therefore structs of any module. Flop passes the decoded values to Ecto as query parameters. A cursor value that nests an Ecto.Query.DynamicExpr struct with a DBConnection.Stream struct as its binding fails the Ecto cast. Ecto then inspects the value for the error message, the Inspect implementation enumerates the stream, and DBConnection calls the module, function and arguments in the :log option of the stream.
This issue affects flop: from 0.8.0 before 0.26.7, from 0.27.0 before 0.27.3, from 0.28.0 before 0.28.1, and from 0.29.0 before 0.29.2.
What to do
Patch available · fixed versions: 0.26.7, 0.27.3, 0.28.1, 0.29.2
Update Flop to version 0.26.7, 0.27.3, 0.28.1, 0.29.2 or later depending on your version branch.
- Apply the vendor's security update for flop.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Hex | flop |
≥ 0.8.0 < 0.26.7 |
0.26.7 |
— |
| Hex | flop |
≥ 0.27.0 < 0.27.3 |
0.27.3 |
— |
| Hex | flop |
≥ 0.28.0 < 0.28.1 |
0.28.1 |
— |
| Hex | flop |
≥ 0.29.0 < 0.29.2 |
0.29.2 |
— |
Per OSV / GitHub Advisories (EEF-CVE-2026-130411). Check the version in your lockfile before upgrading.
Affected products
- woylie · flop
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
In the news
- Hex Package Manager Warns of Potential Data Breach · SecurityWeek · Nov 27, 2026
Security media stories that mention this CVE. Titles unmodified.
On social media
1 person and 1 post on Bluesky in the last 30 days.
Most recent posts, without bots or automated feeds. The text belongs to its authors. Search on Bluesky
Official sources
References
Links published by the sources. Open them with care.