cve.bz

CVE-2026-130411 Code execution through deserialization of pagination cursors in flop

9.2 criticalFix available

Critical (9.2) in woylie flop. Fixed in flop 0.26.7, 0.27.3, 0.28.1.

On this page
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.

Severity

CVSS 4.0

9.2 critical
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
CWE
CWE-502 Deserialization of Untrusted Data
OWASP Top 10
A08:2025 Software or Data Integrity Failures
Published
Modified
Assigned by
EEF (CNA)
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

  • flop (Hex): fixed in 0.26.7, 0.27.3, 0.28.1, 0.29.2

Ask an AI about this CVE

Show the promptExplain CVE-2026-130411 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-130411?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-130411?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-130411 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
woylie flopfrom 0.8.0 before 0.26.7
woylie flopfrom 0.27.0 before 0.27.3
woylie flopfrom 0.28.0 before 0.28.1
woylie flopfrom 0.29.0 before 0.29.2

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
EEF-CVE-2026-130411Hexflop>=0.8.0 <0.26.7
>=0.27.0 <0.27.3
>=0.28.0 <0.28.1
>=0.29.0 <0.29.2
0.26.7, 0.27.3, 0.28.1, 0.29.2
EEF-CVE-2026-130411no fix published

Attack patterns (CAPEC)

  • CAPEC-586 Object Injection Likelihood: Medium · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON