CVE-2026-135164: formancehq ledger · SQL Injection
Affects formancehq ledgerSource CVE Database V5
Not known to be exploited · CVSS 8.7 High : upgrade to 2.4.18 soon.
Data as of 23 Nov 2026, 14:54 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 8.7 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 8.8 |
- Patch
- Available – fixed in 2.4.18
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 23 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 22 Nov 2026.
What to do
Upgrade formancehq ledger to 2.4.18.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| formancehqledger | Affected
| Fixed in
|
Goledgerpkg:golang/ledgerOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade Formance Ledger to version 2.4.18 or later, where this SQL injection vulnerability is fixed. No other mitigation or temporary workaround is indicated.
Description
Formance Ledger versions from 2.2.0-beta.3 up to but not including 2.4.18 contain an SQL injection vulnerability. This flaw allows remote API callers to execute arbitrary SQL commands by supplying unvalidated input in the 'expand' query parameter or the base64 pagination cursor. The injected SQL runs with the ledger database role's privileges, potentially leading to unauthorized data access or manipulation. The vulnerability has a high severity with a CVSS score of 8.7. A fix is available in version 2.4.18.
References
- github.com/formancehq/ledger/pull/2477 (opens in a new tab)
- github.com/formancehq/ledger/commit/83cd8dc7a66ba02a0418a36ec45663b19e26dcb3 (opens in a new tab)
- github.com/formancehq/ledger/blob/v2.4.17/internal/storage/ledger/resource_accounts.go (opens in a new tab)
- github.com/formancehq/ledger/releases/tag/v2.4.18 (opens in a new tab)
- vulncheck.com/advisories/formance-ledger-2.2.0-beta.3-before-2.4.18-sql-injection-via-account-expand-parameter (opens in a new tab)