CVE-2026-130411

Source
https://cve.org/CVERecord?id=CVE-2026-130411
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-130411.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-130411
Aliases
Published
2026-11-24T14:58:39Z
Modified
2026-11-24T16:00:08Z
Severity
  • 9.2 (Critical) CVSS_V4 - 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 CVSS Calculator
Summary
Code execution through deserialization of pagination cursors in flop
Details

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.

Database specific
{
    "cna_assigner":  "EEF",
    "cwe_ids":  [
        "CWE-502"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/130xxx/CVE-2026-130411.json"
}
References

Affected packages

Git / github.com/woylie/flop

Affected ranges

Type
GIT
Repo
https://github.com/woylie/flop
Events
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "4535794baa135c8cccca7bb1ada4b64c91afc81d"
                },
                {
                    "fixed":  "6382b932ce85872b5dcce78e45731dc9ce3be438"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "ChangesAt"
        },
        {
            "range":  [
                {
                    "introduced":  "0.8.0"
                },
                {
                    "fixed":  "0.26.7"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandardRange"
        },
        {
            "range":  [
                {
                    "introduced":  "0.27.0"
                },
                {
                    "fixed":  "0.27.3"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandardRange"
        },
        {
            "range":  [
                {
                    "introduced":  "0.28.0"
                },
                {
                    "fixed":  "0.28.1"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandardRange"
        },
        {
            "range":  [
                {
                    "introduced":  "0.29.0"
                },
                {
                    "fixed":  "0.29.2"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandardRange"
        },
        {
            "range":  [
                {
                    "fixed":  "4535794baa135c8cccca7bb1ada4b64c91afc81d"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        },
        {
            "range":  [
                {
                    "fixed":  "6382b932ce85872b5dcce78e45731dc9ce3be438"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        },
        {
            "range":  [
                {
                    "fixed":  "82e9399a9db6798bbb3bc976969e5aa0f3b0f7a7"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        },
        {
            "range":  [
                {
                    "fixed":  "93fabace5c9cc419fc638d657828feec71b6a6ab"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        },
        {
            "range":  [
                {
                    "fixed":  "bfd9ee23db39b9df6233d085606c19b27b586100"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        }
    ]
}

Affected versions

0.*
0.10.0
0.11.0
0.12.0
0.13.0
0.13.1
0.13.2
0.14.0
0.15.0
0.16.0
0.16.1
0.17.0
0.17.1
0.18.0
0.18.1
0.18.2
0.18.3
0.18.4
0.19.0
0.20.0
0.20.1
0.20.2
0.20.3
0.21.0
0.22.0
0.22.1
0.23.0
0.24.0
0.24.1
0.25.0
0.26.0
0.26.1
0.26.2
0.26.3
0.26.4
0.26.5
0.26.6
0.27.0
0.27.1
0.27.2
0.28.0
0.29.0
0.29.1
0.8.0
0.8.1
0.8.2
0.8.3
0.8.4
0.9.0
0.9.1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-130411.json"