CVE-2026-135164
CVE-2026-135164 · Formance Ledger 2.2.0-beta.3 before 2.4.18 SQL Injection via Account Expand Parameter
CVSS 8.7 · High · EPSS 0.5% · Public exploit · Fix available
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- ledgerUpdate to 2.4.18
Assess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
- Published
- Updated
Affected products and versions
ledger
- Versions
- ≥ 2.2.0-beta.3, < 2.4.18: Affected (semver)
Update to 2.4.18
Original sources
- 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://nvd.nist.gov/vuln/detail/CVE-2026-135164