CVE-2026-135164
Received Received - Intake

SQL Injection in Formance Ledger

Vulnerability report for CVE-2026-135164, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-23

Last updated on: 2026-11-23

Assigner: 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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-23
Last Modified
2026-11-23
Generated
2026-11-23
AI Q&A
2026-11-23
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
formance ledger to 2.4.18 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-89 The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is an SQL injection flaw in Formance Ledger versions 2.2.0-beta.3 through 2.4.17. Attackers can inject malicious SQL code via the 'expand' query parameter or base64 pagination cursor. The injected SQL runs with the ledger database role's privileges, allowing unauthorized data access or manipulation.

Detection Guidance

To detect this vulnerability, inspect HTTP requests to Formance Ledger API endpoints for the expand query parameter or base64 pagination cursor containing SQL-like syntax or comment separators. Check logs for HTTP 400 errors with VALIDATION codes indicating invalid expand values.

Impact Analysis

An attacker could exploit this to read, modify, or delete sensitive ledger data, bypass authentication, or execute administrative operations. The high CVSS score (8.7) indicates significant risk as it allows remote code execution with database privileges.

Compliance Impact

This vulnerability could lead to unauthorized data access or modification, violating GDPR's data integrity and confidentiality requirements or HIPAA's safeguards for protected health information. Organizations using affected versions may face compliance violations and regulatory penalties.

Mitigation Strategies

Upgrade Formance Ledger to version 2.4.18 or later. Ensure API input validation rejects unsupported expand values like SQL fragments or comment separators. Monitor for suspicious API calls with malformed expand parameters.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-135164. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...