GHSA-7pcx-wr6v-4qx5HighCVSS 8.8
Formance Ledger 2.2.0-beta.3 before 2.4.18 contains an SQL injection vulnerability that allows...
🔗 CVE IDs covered (1)
📋 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.
🔗 References (7)
- https://nvd.nist.gov/vuln/detail/CVE-2026-135164
- https://github.com/formancehq/ledger/pull/2477
- https://github.com/formancehq/ledger/commit/83cd8dc7a66ba02a0418a36ec45663b19e26dcb3
- https://github.com/formancehq/ledger/blob/v2.4.17/internal/storage/ledger/resource_accounts.go
- 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
- https://github.com/advisories/GHSA-7pcx-wr6v-4qx5