{
  "id": "CVE-2026-135164",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-135164",
  "published_at": "2026-11-23T14:38:57.127Z",
  "title": "Formance Ledger 2.2.0-beta.3 before 2.4.18 SQL Injection via Account Expand Parameter",
  "vendor": "formancehq",
  "product": "ledger",
  "cvss": {
    "score": 8.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": {
    "created_at": "2026-11-25T13:47:06Z",
    "first_seen_at": "2026-11-25T14:26:31.867Z",
    "days_after_publication": 2,
    "repo": "googlesky/CVE-2026-135164",
    "source": "github"
  },
  "poc_repo_count": 1,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-89",
  "cvss_by_source": {
    "cna": 8.8
  },
  "repos": [
    {
      "repo": "googlesky/CVE-2026-135164",
      "url": "https://github.com/googlesky/CVE-2026-135164",
      "created_at": "2026-11-25T13:47:06Z",
      "first_seen_at": "2026-11-25T14:26:31.867Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2013-04-08T15:16:09Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "formancehq",
        "product": "ledger",
        "ranges": [
          "\u003e= 2.2.0-beta.3, \u003c 2.4.18"
        ],
        "fixed_in": [
          "2.4.18"
        ]
      }
    ],
    "upgrade": [
      "Upgrade ledger to 2.4.18 or later."
    ],
    "references": [
      {
        "kind": "Patch",
        "url": "https://github.com/formancehq/ledger/pull/2477"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/formancehq/ledger/commit/83cd8dc7a66ba02a0418a36ec45663b19e26dcb3"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/formancehq/ledger/releases/tag/v2.4.18"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
