[HIGH 8.7] # CVE-2026-135164: Formance Ledger 2.2.0-beta.3 before 2.4.18 contains an SQL injection vulnerability that allows remote API call...
CVE-2026-135164 · severity: HIGH · CVSS 8.7 (v4.0)
Description
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.
Details
- status: Received
- published: 2026-11-23 10:17 EST
- last modified: 2026-11-23 12:17 EST
- weakness: CWE-89
- 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
References
- NVD: CVE-2026-135164
- https://github.com/formancehq/ledger/blob/v2.4.17/internal/storage/ledger/resource_accounts.go
- https://github.com/formancehq/ledger/commit/83cd8dc7a66ba02a0418a36ec45663b19e26dcb3
- https://github.com/formancehq/ledger/pull/2477
- https://github.com/formancehq/ledger/releases/tag/v2.4.18
- https://www.vulncheck.com/advisories/formance-ledger-2.2.0-beta.3-before-2.4.18-sql-injection-via-account-expand-parameter
-- EOF --