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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-81728— Dolibarr before 24.0.0 SQL Injection via the CSV and XLSX Import Update Keys

Quick assessment

Affected
Dolibarr dolibarr
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Dolibarr是Dolibarr基金会开源的一款企业资源计划软件。 Dolibarr 24.0.0之前版本存在SQL注入漏洞,该漏洞源于CSV和XLSX导入向导对updatekeys参数过滤不严,可能导致SQL注入,攻击者可利用该漏洞泄露任意表内容并篡改数据。

CVSS 8.1 · High EPSS 0.44% · P36

Affected Version Matrix 2

VendorProduct Version RangeStatus
Dolibarr dolibarr < 24.0.0 affected
24.0.0 unaffected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-81728

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
Dolibarr before 24.0.0 SQL Injection via the CSV and XLSX Import Update Keys
Source: CVE Program / CVE List V5
Vulnerability Description
Dolibarr before 24.0.0 contains a SQL injection in its CSV and XLSX import wizard. The wizard reads its update keys with GETPOST('updatekeys', 'array') in htdocs/imports/import.php, which applies only the generic alphanohtml filter: that strips HTML but leaves SQL keywords, comment markers, parentheses, spaces and quotes intact. import_insert() in htdocs/core/modules/import/import_csv.modules.php then iterates the submitted values and builds a filter with $where[] = $key.' = '.$data[$key], having first applied preg_replace('/^.*\./i', '', $key), an alias strip that does nothing to a value containing no dot. The assembled string is executed through $this->db->query(). The injected SELECT resolves the row id that the import then assigns to $lastinsertid, which becomes the WHERE target of a subsequent UPDATE, so a UNION SELECT returning an attacker-chosen integer both exfiltrates arbitrary table content and redirects which row the import overwrites; for category link tables the raw filter array is spliced into that UPDATE directly. The interface offers a fixed list of legitimate column codes but the server never checks the submitted values against it. A user holding the import permission can exploit this. Release 23.0.4 does not carry the fix; the allow-list test was added in 24.0.0.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
SQL命令中使用的特殊元素转义处理不恰当(SQL注入)
Source: CVE Program / CVE List V5
Vulnerability Title
Dolibarr SQL注入漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Dolibarr是Dolibarr基金会开源的一款企业资源计划软件。 Dolibarr 24.0.0之前版本存在SQL注入漏洞,该漏洞源于CSV和XLSX导入向导对updatekeys参数过滤不严,可能导致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
Dolibarr dolibarr 0 ~ 24.0.0 -

II. Public POCs for CVE-2026-81728

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-81728

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

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

Vendor Advisories for CVE-2026-81728 (1)

Same Patch Batch · Dolibarr · 2026-08-27 · 3 CVEs total

CVE-2026-81730 8.2 HIGH Dolibarr 9.0.0 through 23.0.4 Path Traversal via EmailCollector Attachment Filename
CVE-2026-81729 6.5 MEDIUM Dolibarr before 23.0.4 Incorrect Authorization on REST API Document Deletion

IV. Related Vulnerabilities

V. Comments for CVE-2026-81728

No comments yet


Leave a comment