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

Goal: 1000 CNY · Raised: 1336 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 24.0.0 之前版本中的 CSV 和 XLSX 导入向导存在 SQL 注入漏洞。 漏洞详情: 1. 漏洞位置: - 中,向导通过 读取更新键值。 - 中的 函数。 2. 过滤机制缺陷: - 该向导仅应用通用的 过滤器。此过滤器会剥离 HTML 标签,但不会移除 SQL 关键字、注释符、括号、空格和引号,导致这些字符在输入中保持原样,为 SQL 注入提供了条件。 3. 注入路径: - 遍历提交的键值对,构建过滤条件: 。 - 在构建前,代码会对 执行 。该正则表达式旨在移除别名前缀(即最后一个点之

CVSS 8.1 · High
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

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