Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSend crafted 'after'/'before' cursor
-
DeliveryDecoded by binary_to_term in :safe mode
-
ExploitNested struct fails Ecto cast
-
ExecutionInspect enumerates DBConnection.Stream
-
ImpactDBConnection calls attacker MFA on server
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V1 - Encoding and Sanitization Safe deserialization, type allowlists
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The affected application must use Flop's cursor-based pagination (the first/after or last/before flow that reaches Flop.Cursor.decode/2) and must pass an attacker-controlled 'after' or 'before' cursor value into Flop. No authentication is required (PR:N) and no user interaction is needed (UI:N), so any publicly reachable paginated endpoint using cursors is exposed. Limiting factors: deployments that use only offset/page-based pagination, or that never feed external cursor values to Flop, are not reachable by this vector - this scoping is what the CVSS AT:P (Attack Requirement: Present) encodes. Affected versions are flop from 0.8.0 before 0.26.7, 0.27.0 before 0.27.3, 0.28.0 before 0.28.1, and 0.29.0 before 0.29.2; upgrading to 0.26.7, 0.27.3, 0.28.1, or 0.29.2 (matching your branch) is the fix. |
| Impact | This is a genuine high-priority issue, not a CVSS-inflated one. The signals are consistent: the input assigns a vuln.today decision label of act_now and a CVSS 4.0 base of 9.2 (AV:N/AC:L/AT:P/PR:N/UI:N with VC:H/VI:H/VA:H), reflecting unauthenticated, network-reachable remote code execution with full confidentiality, integrity and availability impact on the server. The AT:P (Attack Requirement: Present) is the one tempering factor and it is meaningful - exploitation depends on the target application actually using Flop's cursor-based pagination and passing an attacker-controlled cursor into Flop, so it is not a blanket 'every install is exploitable' situation. No EPSS score is provided and there is no CISA KEV listing, so there is no quantitative exploitation-probability signal and no confirmation of active exploitation; the only external references are the Erlef CNA advisory, the OSV entry, and the fix commits, none of which is a working PoC. The mechanism is well-understood and clearly described (a :safe binary_to_term that still accepts structs, chained through an Ecto cast failure whose Inspect path enumerates a DBConnection.Stream and calls an attacker-chosen MFA), which lowers the barrier to weaponization even though no exploit is published yet. Net: treat as urgent patching per the act_now label, with the caveat that real exposure is scoped to deployments using Flop cursor pagination. |
| Exploit ScenarioDerived | A remote, unauthenticated attacker sends an HTTP request to an endpoint of a Phoenix/Ecto application that uses Flop cursor pagination, placing a crafted value in the 'after' or 'before' pagination parameter. The cursor is decoded by Flop.Cursor.decode/2 via :erlang.binary_to_term/2 in :safe mode, which still accepts structs; the attacker nests an Ecto.Query.DynamicExpr whose binding is a DBConnection.Stream, so when the value fails Ecto's cast and is inspected for the error message, DBConnection invokes the module/function/arguments supplied in the stream's :log option, executing attacker-chosen code on the server. No public exploit code is identified at time of analysis, but the advisory and source describe the trigger in full detail. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 24, 2026
Remote code execution in the Elixir Flop pagination library affects versions 0.8.0 through 0.26.6, 0.27.0 through 0.27.2, 0.28.0, and 0.29.0 through 0.29.1, where a crafted after or before cursor can be deserialized and drive an Ecto/DBConnection code path. The flaw is unauthenticated and requires no user interaction, but exploitation depends on the application using Flop cursor-based pagination and passing an attacker-controlled cursor into Flop; offset/page-based deployments and endpoints that do not accept external cursors are not reachable. No public exploit was identified at time of analysis, though the issue is rated act_now by vuln.today and vendor fixes are available in 0.26.7, 0.27.3, 0.28.1, and 0.29.2.
RemediationAI
Upgrade to the fixed release for your branch: 0.26.7, 0.27.3, 0.28.1, or 0.29.2; these versions are the vendor-released patch for the four affected ranges. The advisory and OSV entries are at https://cna.erlef.org/cves/CVE-2026-130411.html and https://osv.dev/vulnerability/EEF-CVE-2026-130411, and the referenced upstream commits include 4535794baa135c8cccca7bb1ada4b64c91afc81d, 6382b932ce85872b5dcce78e45731dc9ce3be438, 82e9399a9db6798bbb3bc976969e5aa0f3b0f7a7, 93fabace5c9cc419fc638d657828feec71b6a6ab, and bfd9ee23db39b9df6233d085606c19b27b586100. If upgrading immediately is not possible, avoid passing externally supplied after/before values into Flop.Cursor.decode/2 and use offset/page-based pagination on exposed endpoints; this removes the vulnerable decode path but changes pagination/API behavior and is only a temporary compensating control, not a complete fix.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Flop is an Elixir query and pagination library used with Ecto. In affected versions, Flop.Cursor.decode/2 calls :erlang.binary_to_term/2 with :safe on the after/before cursor, which blocks functions, PIDs, ports, and references but still permits maps and therefore arbitrary structs. The vendor-described chain uses a nested Ecto.Query.DynamicExpr struct containing a DBConnection.Stream struct as its binding: the value fails Ecto's cast, Ecto inspects it to build an error message, the Inspect implementation enumerates the stream, and DBConnection then calls the module, function, and arguments configured in the stream's :log option. This is CWE-502 deserialization of untrusted data; no CPE data was supplied, but the affected branches are the four flop version ranges in the advisory.
Know when Elixir gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Network-reachable and unauthenticated (AV:N/PR:N), but AC:H reflects the deployment requirement that the app expose Flop cursor pagination; RCE yields full C/I/A impact with scope unchanged.
Primary rating from Vendor (6b3ad84c-e1a6-4bf7-a703-f496b71e49db).
CVSS VectorVendor: 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
Lifecycle Timeline
2DescriptionCVE.org
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.
Executive ViewAI
A critical vulnerability in the Elixir Flop pagination library (CVE-2026-130411) allows unauthenticated remote code execution, potentially enabling attackers to compromise systems that use cursor-based pagination. Organizations with Elixir applications relying on affected Flop versions are at risk of full system takeover, data breaches, and operational disruption. Leadership should prioritize immediate remediation to protect sensitive data and maintain customer trust.
If immediate patching is not possible, disable cursor-based pagination or restrict access to endpoints that accept external cursors; validate and sanitize cursor inputs; apply network segmentation and web application firewall rules to block malicious payloads. Apply vendor patch when available.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Insecure deserialization occurs when an application converts serialized data (a stream of bytes representing an object's state) back into a living object without proper validation.
Unbounded recursion in the Elixir `protobuf` Hex package (versions >= 0.8.0, < 0.16.1) lets unauthenticated remote attac
Improper JWT signature verification in Dashbit's nimble_zta (0.1.2 up to but not including 0.1.3) lets an unauthenticate
Session-swapping authentication bypass in the Elixir library AshAuthentication (versions 4.10.0 before 4.15.0 and 5.0.0-
Account takeover in AshAuthentication (Elixir/Ash) 4.14.0 through 4.14.x and 5.0.0-rc.10 through 5.0.0-rc.13 lets unauth
Authentication bypass in the Elixir library ash_authentication lets an attacker who operates one federated identity-prov
Server-Side Request Forgery protection bypass in the Elixir safeurl library (versions 0.1.0 and later) allows unauthenti
Arbitrary code execution in applications running the Elixir db_connection library 1.1.0 through 2.10.2 is possible when
Unauthenticated remote CPU exhaustion in mtrudel Bandit's HTTP/2 server (versions before 1.14.0) is achievable by holdin
Unbounded per-connection memory and CPU growth in the Elixir Bandit HTTP/2 server (0.3.6 up to 1.14.0) lets an unauthent
Unauthenticated remote denial of service in the Elixir HTTP server Bandit (mtrudel/bandit) from 0.1.0 before 1.14.0 lets
Unauthenticated remote attackers can consume disproportionate server CPU on Bandit (mtrudel/bandit, Elixir/Erlang) by se
Denial of service through CPU exhaustion in the Elixir gRPC stack: grpc_server 1.0.0 through 1.1.0 (exclusive) and the p
EUVD-2026-134143
GHSA-pvw5-hqrm-5j3m
NVD
CVE.org
EPSS
Exploit-DB