Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-40524— FrontAccounting < 2.4.20 SQL Injection via get_gl_transactions()

Quick assessment

Affected
FrontAccounting FrontAccounting
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

frontaccounting是frontaccounting团队开源的一款会计管理软件。 FrontAccounting 2.4.20之前版本存在SQL注入漏洞,该漏洞源于get_gl_transactions()函数中filter_type参数直接被拼接到SQL IN()子句中而未进行参数化,导致SQL注入,具有SA_GLANALYTIC权限的攻击者可以通过提供闭括号后跟恶意条件来注入任意SQL,通过基于布尔的盲SQL注入和可靠的响应大小差异提取敏感日记账条目数据。

CVSS 8.1 · High EPSS 0.47% · P40

Possible ATT&CK Techniques 1 AI

T1190 · Exploit Public-Facing Application

Affected Version Matrix 2

VendorProduct Version RangeStatus
FrontAccounting FrontAccounting < 2.4.20 affected
647a18196caad27f96ea852e993c9e30f815357f unaffected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-40524

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
FrontAccounting < 2.4.20 SQL Injection via get_gl_transactions()
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
SQL命令中使用的特殊元素转义处理不恰当(SQL注入)
Source: CVE Program / CVE List V5
Vulnerability Title
FrontAccounting SQL注入漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
frontaccounting是frontaccounting团队开源的一款会计管理软件。 FrontAccounting 2.4.20之前版本存在SQL注入漏洞,该漏洞源于get_gl_transactions()函数中filter_type参数直接被拼接到SQL IN()子句中而未进行参数化,导致SQL注入,具有SA_GLANALYTIC权限的攻击者可以通过提供闭括号后跟恶意条件来注入任意SQL,通过基于布尔的盲SQL注入和可靠的响应大小差异提取敏感日记账条目数据。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
FrontAccounting FrontAccounting 0 ~ 2.4.20 -

II. Public POCs for CVE-2026-40524

# POC Description Source Link Shenlong Link
AI-Generated POC Premium
Qwen3.6-35B-A3B · 11519 chars
Pro+ exclusive includes:
Vulnerability reproduction recording (real sandbox build + trigger, exclusive)
In-depth vulnerability mechanism
Trigger conditions & impact
Full executable POC code
Exploit chain & mitigation
POC zip download
100+ AI POC generations per month

III. Intelligence Information for CVE-2026-40524

请登录查看更多情报信息。

Patches & Fixes for CVE-2026-40524 (1)

Vendor Advisories for CVE-2026-40524 (1)

Security Blog Posts for CVE-2026-40524 (1)

Same Patch Batch · FrontAccounting · 2026-06-29 · 4 CVEs total

CVE-2026-40521 8.8 HIGH FrontAccounting < 2.4.20 Path Traversal RCE via attachment upload
CVE-2026-40523 8.1 HIGH FrontAccounting < 2.4.20 SQL Injection via reporting/rep710.php
CVE-2026-40522 7.1 HIGH FrontAccounting < 2.4.20 SQL Injection via rep601.php

IV. Related Vulnerabilities

V. Comments for CVE-2026-40524

No comments yet


Leave a comment