CVE-2026-135164
published high CVSS 4.0 · 8.7Formance Ledger 2.2.0-beta.3 before 2.4.18 SQL Injection via Account Expand Parameter
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| formancehq | — | ledger2.2.0-beta.3 to < 2.4.18 · Other versions: unaffected | Affected | Not stated | VulnCheck |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.7 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 8.8 | high | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| formancehq | ledger | 2.2.0-beta.3 to < 2.4.18 (affected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
References
5- https://github.com/formancehq/ledger/blob/v2.4.17/internal/storage/ledger/resource_accounts.go
- https://github.com/formancehq/ledger/commit/83cd8dc7a66ba02a0418a36ec45663b19e26dcb3
- https://github.com/formancehq/ledger/pull/2477
- ledger v2.4.18 Release Notes https://github.com/formancehq/ledger/releases/tag/v2.4.18
- VulnCheck Advisory: Formance Ledger 2.2.0-beta.3 before 2.4.18 SQL Injection via Account Expand Parameter https://www.vulncheck.com/advisories/formance-ledger-2.2.0-beta.3-before-2.4.18-sql-injection-via-account-expand-parameter
Provider assertions
2VulnCheck · cna
Formance Ledger 2.2.0-beta.3 before 2.4.18 SQL Injection via Account Expand Parameter
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- f27f07d04fc5cc0e0ac403862dd01795442ab1e40caaed9a315bac0555bdf669
- Ingested
- 23 Nov 2026, 16:40:44 UTC
- Source record
- Official CVE record