Search
Find a vulnerability
Search criteria
2 vulnerabilities found for ledger by formancehq
CVE-2026-135164 (GCVE-0-2026-135164)
Vulnerability from nvd – Published: 2026-11-23 14:38 – Updated: 2026-11-23 16:30
VLAI
EPSS
VEX
Title
Formance Ledger 2.2.0-beta.3 before 2.4.18 SQL Injection via Account Expand Parameter
Summary
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.
Severity
SSVC
Exploitation: none
Automatable: no
Technical Impact: total
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2026-11-23 15:53 UTC
CWE
- CWE-89 - Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Assigner
References
5 references
| URL | Tags |
|---|---|
| https://github.com/formancehq/ledger/pull/2477 | issue-trackingpatch |
| https://github.com/formancehq/ledger/commit/83cd8… | patch |
| https://github.com/formancehq/ledger/blob/v2.4.17… | technical-description |
| https://github.com/formancehq/ledger/releases/tag… | release-notes |
| https://www.vulncheck.com/advisories/formance-led… | third-party-advisory |
Impacted products
1 product
| Vendor | Product | Version | |
|---|---|---|---|
| formancehq | ledger |
Affected:
2.2.0-beta.3 , < 2.4.18
(semver)
|
Date Public
2026-11-04 00:00
{
"containers": {
"adp": [
{
"metrics": [
{
"other": {
"content": {
"id": "CVE-2026-135164",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "total"
}
],
"role": "CISA Coordinator",
"timestamp": "2026-11-23T15:53:13.560761Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2026-11-23T16:30:32.672Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
}
],
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"packageURL": "pkg:golang/github.com/formancehq/ledger",
"product": "ledger",
"repo": "https://github.com/formancehq/ledger",
"vendor": "formancehq",
"versions": [
{
"lessThan": "2.4.18",
"status": "affected",
"version": "2.2.0-beta.3",
"versionType": "semver"
}
]
}
],
"credits": [
{
"lang": "en",
"type": "finder",
"value": "Chris Purcell (L3Digital LLC)"
}
],
"datePublic": "2026-11-04T00:00:00.000Z",
"descriptions": [
{
"lang": "en",
"value": "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\u0027s privileges."
}
],
"metrics": [
{
"cvssV4_0": {
"attackComplexity": "LOW",
"attackRequirements": "NONE",
"attackVector": "NETWORK",
"baseScore": 8.7,
"baseSeverity": "HIGH",
"privilegesRequired": "LOW",
"subAvailabilityImpact": "NONE",
"subConfidentialityImpact": "NONE",
"subIntegrityImpact": "NONE",
"userInteraction": "NONE",
"vectorString": "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",
"version": "4.0",
"vulnAvailabilityImpact": "HIGH",
"vulnConfidentialityImpact": "HIGH",
"vulnIntegrityImpact": "HIGH"
},
"format": "CVSS"
},
{
"cvssV3_1": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "HIGH",
"baseScore": 8.8,
"baseSeverity": "HIGH",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"privilegesRequired": "LOW",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"version": "3.1"
},
"format": "CVSS"
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-89",
"description": "Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-11-23T14:38:57.127Z",
"orgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
"shortName": "VulnCheck"
},
"references": [
{
"tags": [
"issue-tracking",
"patch"
],
"url": "https://github.com/formancehq/ledger/pull/2477"
},
{
"tags": [
"patch"
],
"url": "https://github.com/formancehq/ledger/commit/83cd8dc7a66ba02a0418a36ec45663b19e26dcb3"
},
{
"tags": [
"technical-description"
],
"url": "https://github.com/formancehq/ledger/blob/v2.4.17/internal/storage/ledger/resource_accounts.go"
},
{
"name": "ledger v2.4.18 Release Notes",
"tags": [
"release-notes"
],
"url": "https://github.com/formancehq/ledger/releases/tag/v2.4.18"
},
{
"name": "VulnCheck Advisory: Formance Ledger 2.2.0-beta.3 before 2.4.18 SQL Injection via Account Expand Parameter",
"tags": [
"third-party-advisory"
],
"url": "https://www.vulncheck.com/advisories/formance-ledger-2.2.0-beta.3-before-2.4.18-sql-injection-via-account-expand-parameter"
}
],
"title": "Formance Ledger 2.2.0-beta.3 before 2.4.18 SQL Injection via Account Expand Parameter",
"x_generator": {
"engine": "vulncheck-endgame"
}
}
},
"cveMetadata": {
"assignerOrgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
"assignerShortName": "VulnCheck",
"cveId": "CVE-2026-135164",
"datePublished": "2026-11-23T14:38:57.127Z",
"dateReserved": "2026-11-23T14:20:20.710Z",
"dateUpdated": "2026-11-23T16:30:32.672Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
CVE-2026-135164 (GCVE-0-2026-135164)
Vulnerability from cvelistv5 – Published: 2026-11-23 14:38 – Updated: 2026-11-23 16:30
VLAI
EPSS
VEX
Title
Formance Ledger 2.2.0-beta.3 before 2.4.18 SQL Injection via Account Expand Parameter
Summary
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.
Severity
SSVC
Exploitation: none
Automatable: no
Technical Impact: total
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2026-11-23 15:53 UTC
CWE
- CWE-89 - Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Assigner
References
5 references
| URL | Tags |
|---|---|
| https://github.com/formancehq/ledger/pull/2477 | issue-trackingpatch |
| https://github.com/formancehq/ledger/commit/83cd8… | patch |
| https://github.com/formancehq/ledger/blob/v2.4.17… | technical-description |
| https://github.com/formancehq/ledger/releases/tag… | release-notes |
| https://www.vulncheck.com/advisories/formance-led… | third-party-advisory |
Impacted products
1 product
| Vendor | Product | Version | |
|---|---|---|---|
| formancehq | ledger |
Affected:
2.2.0-beta.3 , < 2.4.18
(semver)
|
Date Public
2026-11-04 00:00
{
"containers": {
"adp": [
{
"metrics": [
{
"other": {
"content": {
"id": "CVE-2026-135164",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "total"
}
],
"role": "CISA Coordinator",
"timestamp": "2026-11-23T15:53:13.560761Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2026-11-23T16:30:32.672Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
}
],
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"packageURL": "pkg:golang/github.com/formancehq/ledger",
"product": "ledger",
"repo": "https://github.com/formancehq/ledger",
"vendor": "formancehq",
"versions": [
{
"lessThan": "2.4.18",
"status": "affected",
"version": "2.2.0-beta.3",
"versionType": "semver"
}
]
}
],
"credits": [
{
"lang": "en",
"type": "finder",
"value": "Chris Purcell (L3Digital LLC)"
}
],
"datePublic": "2026-11-04T00:00:00.000Z",
"descriptions": [
{
"lang": "en",
"value": "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\u0027s privileges."
}
],
"metrics": [
{
"cvssV4_0": {
"attackComplexity": "LOW",
"attackRequirements": "NONE",
"attackVector": "NETWORK",
"baseScore": 8.7,
"baseSeverity": "HIGH",
"privilegesRequired": "LOW",
"subAvailabilityImpact": "NONE",
"subConfidentialityImpact": "NONE",
"subIntegrityImpact": "NONE",
"userInteraction": "NONE",
"vectorString": "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",
"version": "4.0",
"vulnAvailabilityImpact": "HIGH",
"vulnConfidentialityImpact": "HIGH",
"vulnIntegrityImpact": "HIGH"
},
"format": "CVSS"
},
{
"cvssV3_1": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "HIGH",
"baseScore": 8.8,
"baseSeverity": "HIGH",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"privilegesRequired": "LOW",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"version": "3.1"
},
"format": "CVSS"
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-89",
"description": "Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-11-23T14:38:57.127Z",
"orgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
"shortName": "VulnCheck"
},
"references": [
{
"tags": [
"issue-tracking",
"patch"
],
"url": "https://github.com/formancehq/ledger/pull/2477"
},
{
"tags": [
"patch"
],
"url": "https://github.com/formancehq/ledger/commit/83cd8dc7a66ba02a0418a36ec45663b19e26dcb3"
},
{
"tags": [
"technical-description"
],
"url": "https://github.com/formancehq/ledger/blob/v2.4.17/internal/storage/ledger/resource_accounts.go"
},
{
"name": "ledger v2.4.18 Release Notes",
"tags": [
"release-notes"
],
"url": "https://github.com/formancehq/ledger/releases/tag/v2.4.18"
},
{
"name": "VulnCheck Advisory: Formance Ledger 2.2.0-beta.3 before 2.4.18 SQL Injection via Account Expand Parameter",
"tags": [
"third-party-advisory"
],
"url": "https://www.vulncheck.com/advisories/formance-ledger-2.2.0-beta.3-before-2.4.18-sql-injection-via-account-expand-parameter"
}
],
"title": "Formance Ledger 2.2.0-beta.3 before 2.4.18 SQL Injection via Account Expand Parameter",
"x_generator": {
"engine": "vulncheck-endgame"
}
}
},
"cveMetadata": {
"assignerOrgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
"assignerShortName": "VulnCheck",
"cveId": "CVE-2026-135164",
"datePublished": "2026-11-23T14:38:57.127Z",
"dateReserved": "2026-11-23T14:20:20.710Z",
"dateUpdated": "2026-11-23T16:30:32.672Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}