Read the docs

SQL injection in Formance Ledger via account expand parameter

Priority MEDIUM 40CWE-89Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
SQL injection
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-89.

Summary

Formance Ledger from 2.2.0-beta.3 before 2.4.18 contains an SQL injection flaw (CWE-89) in how it handles account expand values. A remote API caller who has low privileges can inject SQL through the expand query parameter or the base64 pagination cursor, and the injected SQL runs with the privileges of the ledger database role. The CVSS 4.0 base score is 8.7 (HIGH).

Written with Claude Haiku 5.5 from the sources below · 2026-11-23

Description from the CNA

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.005 35th percentileScored 2026-11-30
Fix Fixed ledger (formancehq): 2.4.18

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
formancehqledger2.2.0-beta.3 to before 2.4.182.4.18Patch availableCNA
  • ledger Vendorformancehq Affected 2.2.0-beta.3 to before 2.4.18 Fixed in 2.4.18 Patch available CNA

Remediation

Upgrade formancehq ledger to version 2.4.18, which fixes the flaw.

Written with Claude Haiku 5.5 from the sources below · 2026-11-23

  • Fix · CNA ledger (formancehq) Fixed in 2.4.18

Timeline

  1. 2026-11-23 Threatist record created from CVE-2026-135164
  2. 2026-11-23 Alias added: GHSA-7pcx-wr6v-4qx5
  3. 2026-11-23 CISA SSVC decision points changed

References

Sources