{
  "id": "CVE-2026-40524",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-40524",
  "published_at": "2026-06-29T12:27:26.08Z",
  "title": "FrontAccounting \u003c 2.4.20 SQL Injection via get_gl_transactions()",
  "vendor": "FrontAccounting",
  "product": "FrontAccounting",
  "cvss": {
    "score": 8.1,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "FrontAccounting before 2.4.20 contains a SQL injection vulnerability in the get_gl_transactions() function where the filter_type parameter is concatenated directly into a SQL IN() clause without parameterization. Attackers with SA_GLANALYTIC permission can inject arbitrary SQL by supplying a closing parenthesis followed by malicious conditions to extract sensitive journal entry data through boolean-based blind SQL injection with reliable response size differentials.",
  "cwe": "CWE-89",
  "cvss_by_source": {
    "cna": 8.1
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "FrontAccounting",
        "product": "FrontAccounting",
        "ranges": [
          "\u003c 2.4.20"
        ],
        "fixed_in": [
          "2.4.20",
          "647a18196caad27f96ea852e993c9e30f815357f"
        ]
      }
    ],
    "upgrade": [
      "Upgrade FrontAccounting to 2.4.20 or 647a18196caad27f96ea852e993c9e30f815357f or later."
    ],
    "references": [
      {
        "kind": "Release notes",
        "url": "https://sourceforge.net/p/frontaccounting/news/2026/04/release-2420/"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/FrontAccountingERP/FA/commit/647a18196caad27f96ea852e993c9e30f815357f"
      }
    ]
  },
  "exploit_refs": [
    {
      "url": "https://jivasecurity.com/writeups/frontaccounting-sqli-journal-entries-report-cve-2026-40524",
      "source": "cvelist",
      "title": "",
      "published_at": null,
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    }
  ],
  "hunt_profile": [],
  "rules": []
}
