# CVE-2026-135164

SQL injection in Formance Ledger API via account expand parameter or pagination cursor

- Page: https://www.vulneraibility.com/cve/CVE-2026-135164
- CVSS: 8.7
- Known exploited: not in CISA KEV as of our last sync
- EPSS: 0.50% (percentile 43.4)
- CISA SSVC: exploitation none, automatable no, technical impact total (assessed 2026-11-23)
- Weakness: CWE-89
- Published: 2026-11-23

## Affected versions

- formancehq ledger: affected >= 2.2.0-beta.3 and < 2.4.18

A version outside these ranges is not a statement that it is unaffected.

## Impact

Remote SQL injection lets API callers execute arbitrary SQL as the ledger DB role, enabling data theft, modification, or deletion.

## Action

Immediate action required

## Recommendation

Upgrade to Formance Ledger v2.4.18+; if delayed, restrict API access and monitor DB/logs.

## References

- [patch] https://github.com/formancehq/ledger/pull/2477
- [patch] https://github.com/formancehq/ledger/commit/83cd8dc7a66ba02a0418a36ec45663b19e26dcb3
- [other] https://github.com/formancehq/ledger/blob/v2.4.17/internal/storage/ledger/resource_accounts.go
- [other] https://github.com/formancehq/ledger/releases/tag/v2.4.18
- [advisory] https://www.vulncheck.com/advisories/formance-ledger-2.2.0-beta.3-before-2.4.18-sql-injection-via-account-expand-parameter

---
Summary, impact and action are written by the vulneraibility.com AI analysis pipeline from the CVE record, NVD, CISA and FIRST data; verify against the references.
