SecurityContext

CVE-2026-135164: Formance Ledger - SQL Injection

  • Cve: CVE-2026-135164
  • Name: Formance Ledger - SQL Injection
  • 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.
  • Impact: Remote attackers can execute arbitrary SQL queries with the ledger database role's privileges, potentially leading to data exfiltration, modification, or full database compromise.
  • Remediation: Upgrade to version 2.4.18 or later.
  • Vulnerability type: sql_injection
  • Vulnerability impact: data_tampering, information_disclosure, remote_code_execution
  • Requirement type: none
  • Labels source: securitycontext
  • Severity: high
  • Cvss score: 8.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.005
  • Epss percentile: 0.43393
  • Assignee: [email protected]
  • Published at: 2026-11-23T15:17:45Z
  • Age in days: 1
  • Modified at: 2026-11-23T17:17:51Z
  • References total: 5
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-135164
  • Nvd status: received
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, products total, products, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-89Improper Neutralization of Special Elements used in an SQL Command

References

Same in every row:

  • Source: nvd
  • Tags:
Url
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
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

Projects

RepositoryLink kindsIndexedUrl
formancehq/ledgercommit, pull, releasesyes/v1/repositories/formancehq/ledger

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Authentication required: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts