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.
{
"cna_assigner": "VulnCheck",
"cwe_ids": [
"CWE-89"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/135xxx/CVE-2026-135164.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "2.2.0-beta.3"
},
{
"fixed": "2.4.18"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"fixed": "83cd8dc7a66ba02a0418a36ec45663b19e26dcb3"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "v2.4.18",
"range": [
{
"fixed": "83cd8dc7a66ba02a0418a36ec45663b19e26dcb3"
}
],
"source": "REFERENCES_TAG"
}
]
}