CVE-2026-130411
published critical CVSS 4.0 · 9.2Code execution through deserialization of pagination cursors in flop
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| woylie | — | flop0.8.0 to < 0.26.7 · 0.27.0 to < 0.27.3 · 0.28.0 to < 0.28.1 · 0.29.0 to < 0.29.2 · Other versions: unaffected | Affected | Not stated | EEF |
| woylie | — | woylie/flopflop · 4535794baa135c8cccca7bb1ada4b64c91afc81d and later (affected · git); changes: unaffected at 6382b932ce85872b5dcce78e45731dc9ce3be438, unaffected at 82e9399a9db6798bbb3bc976969e5aa0f3b0f7a7, unaffected at 93fabace5c9cc419fc638d657828feec71b6a6ab, unaffected at bfd9ee23db39b9df6233d085606c19b27b586100 · Other versions: unaffected | Version-specific | Not stated | EEF |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 9.2 / 10
- Severity
- critical
- Provider
- EEF · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| woylie | flop | 0.8.0 to < 0.26.7 (affected · semver)0.27.0 to < 0.27.3 (affected · semver)0.28.0 to < 0.28.1 (affected · semver)0.29.0 to < 0.29.2 (affected · semver)Default: unaffected | EEF · cna |
| woylie | flop | 4535794baa135c8cccca7bb1ada4b64c91afc81d and later (affected · git); changes: unaffected at 6382b932ce85872b5dcce78e45731dc9ce3be438, unaffected at 82e9399a9db6798bbb3bc976969e5aa0f3b0f7a7, unaffected at 93fabace5c9cc419fc638d657828feec71b6a6ab, unaffected at bfd9ee23db39b9df6233d085606c19b27b586100Default: unaffected | EEF · cna |
Weaknesses
1- CWE-502 CWE-502 Deserialization of Untrusted Data
References
7- EEF CNA record for CVE-2026-130411 https://cna.erlef.org/cves/CVE-2026-130411.html
- Introducing commit 4535794 in woylie/flop https://github.com/woylie/flop/commit/4535794baa135c8cccca7bb1ada4b64c91afc81d
- Fix commit 6382b93 in woylie/flop https://github.com/woylie/flop/commit/6382b932ce85872b5dcce78e45731dc9ce3be438
- Fix commit 82e9399 in woylie/flop https://github.com/woylie/flop/commit/82e9399a9db6798bbb3bc976969e5aa0f3b0f7a7
- Fix commit 93fabac in woylie/flop https://github.com/woylie/flop/commit/93fabace5c9cc419fc638d657828feec71b6a6ab
- Fix commit bfd9ee2 in woylie/flop https://github.com/woylie/flop/commit/bfd9ee23db39b9df6233d085606c19b27b586100
- OSV record EEF-CVE-2026-130411 https://osv.dev/vulnerability/EEF-CVE-2026-130411
Provider assertions
2EEF · cna
Code execution through deserialization of pagination cursors in flop
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- ecf95e965cca83972070c86f7857fd1db1fa6f949f3a702029abae5708a4377a
- Ingested
- 01 Dec 2026, 16:54:56 UTC
- Source record
- Official CVE record