{"id":"CVE-2026-135164","aliases":[],"title":"Formance Ledger 2.2.0-beta.3 before 2.4.18 SQL Injection via Account Expand Parameter","originalDescription":"Formance Ledger 2.2.0-beta.3 before 2.4.18 contains an SQL injection vulnerability that allows remote API callers to execute SQL by supplying unvalidated account expand values. Attackers can inject comment-separated SQL through the expand query parameter or base64 pagination cursor to run queries with the ledger database role's privileges.","severity":{"cvss":8.7,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","label":"high"},"exploitation":{"kev":null,"epss":{"score":0.005,"percentile":0.35779},"exploitDb":null},"affected":[{"ecosystem":"vendor","name":"ledger","range":">=2.2.0-beta.3, <2.4.18","fixed":"2.4.18"}],"references":[{"url":"https://github.com/formancehq/ledger/pull/2477","type":"issue-tracking"},{"url":"https://github.com/formancehq/ledger/commit/83cd8dc7a66ba02a0418a36ec45663b19e26dcb3","type":"patch"},{"url":"https://github.com/formancehq/ledger/blob/v2.4.17/internal/storage/ledger/resource_accounts.go","type":"technical-description"},{"url":"https://github.com/formancehq/ledger/releases/tag/v2.4.18","type":"release-notes"},{"url":"https://www.vulncheck.com/advisories/formance-ledger-2.2.0-beta.3-before-2.4.18-sql-injection-via-account-expand-parameter","type":"third-party-advisory"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/135xxx/CVE-2026-135164.json","type":"advisory"},{"url":"https://github.com/formancehq/ledger","type":"package"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-135164","type":"advisory"}],"sources":[{"name":"nvd","at":"2026-11-23T17:41:18.661Z","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-135164","license":"NVD terms of use","firstSeenAt":"2026-11-23T15:23:09.048Z"},{"name":"osv","at":"2026-11-24T21:14:34.511Z","url":"https://osv.dev/vulnerability/CVE-2026-135164","license":"CC-BY 4.0","firstSeenAt":"2026-11-23T16:30:00.472Z"},{"name":"cvelistV5","at":"2026-11-24T09:39:01.117Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-135164","license":"CVE Terms of Use","firstSeenAt":"2026-11-23T14:47:12.767Z"}],"firstSeenAt":"2026-11-23T14:47:12.767Z","publishedAt":"2026-11-23T14:38:57.127Z","modifiedAt":"2026-11-24T21:02:27.585Z"}