{"id":"CVE-2026-135164","aliases":["CVE-2026-135164"],"related":[],"kind":"vulnerability","state":"published","title":"Formance Ledger 2.2.0-beta.3 before 2.4.18 SQL Injection via Account Expand Parameter","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-11-23T14:38:57.127Z","modified":"2026-11-23T17:17:51.070Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","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","score":8.7,"rating":"HIGH"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","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","score":8.7,"rating":"HIGH"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":["CWE-89"],"affected":[{"ranges":[{"type":"semver","introduced":"2.2.0-beta.3","fixed":"2.4.18","status":"affected"}],"vendor":"formancehq","product":"ledger","repo":"https://github.com/formancehq/ledger","source":"cvelist"}],"references":[{"url":"https://github.com/formancehq/ledger/pull/2477","tags":["issue-tracking","patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/formancehq/ledger/commit/83cd8dc7a66ba02a0418a36ec45663b19e26dcb3","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/formancehq/ledger/blob/v2.4.17/internal/storage/ledger/resource_accounts.go","tags":["technical-description"],"sources":["cvelist","nvd"]},{"url":"https://github.com/formancehq/ledger/releases/tag/v2.4.18","tags":["release-notes"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/formance-ledger-2.2.0-beta.3-before-2.4.18-sql-injection-via-account-expand-parameter","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["Chris Purcell (L3Digital LLC)"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-11-23T15:53:13.560Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-135164","url":"https://www.cve.org/CVERecord?id=CVE-2026-135164","licence":"CVE Terms of Use","modified":"2026-11-23T16:30:32.672Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-135164","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-135164","licence":"Public domain","modified":"2026-11-23T17:17:51.070Z"}],"updatedAt":"2026-11-25T22:59:52.649Z","epss":{"score":0.00626,"percentile":0.51337,"date":"2026-12-01T12:00:22.000Z"}}