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.
CVE-2026-81728
Score 8.1 from GitHub Security Advisory (severity: HIGH) published 2026-08-27. a secondary CVSS source baseline 8.1; sources differ by 0.0.
- High severity, but no confirmed exploitation yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 8.1
- EG Score
- 8.1(high)
- EG Risk
- 37(Track)EG Risk 37/100SSVC: Track
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity81% × 45%Exploitation0% × 40%Automatability0% × 15%Action: Routine — remediate on your standard cadence. - EPSS PROB
- 0%
- EPSS %ILE
- 17%
- KEV
- Not listed
Published
August 27, 2026
Last Modified
August 28, 2026
Advisory Details (4)
Auto-updated Aug 27, 2026Dolibarr before 24.0.0 SQL Injection via the CSV and XLSX Import Update Keys | Advisories | VulnCheck
https://www.vulncheck.com/advisories/dolibarr-before-24.0.0-sql-injection-via-the-csv-and-xlsx-import-update-keysdolibarr/htdocs/core/modules/import/import_csv.modules.php at 23.0.4 · Dolibarr/dolibarr · GitHub
https://github.com/Dolibarr/dolibarr/blob/23.0.4/htdocs/core/modules/import/import_csv.modules.php#L925GitHub - Dolibarr/dolibarr: Dolibarr ERP CRM is a modern software package to manage your company or foundation's activity (contacts, suppliers, invoices, orders, stocks, agenda, accounting, ...). it's an open source Web application (written in PHP) designed for businesses of any sizes, foundations and freelancers. · GitHub
https://github.com/Dolibarr/dolibarrcommit 24b1b99c89c7 (Dolibarr/dolibarr)
Patch available: Dolibarr/dolibarr 24.0.0 (contains commit 24b1b99c89c7)
https://github.com/Dolibarr/dolibarr/commit/24b1b99c89c79a3fe2d1e83b22dc1810cf0fa6e1Vendor Advisories for CVE-2026-81728(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 15× in last 7d / 15× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-08-30 01:22 UTCEPSS rescore
- 2026-08-29 21:11 UTCGHSA enrichment
- 2026-08-29 08:08 UTCEG score recompute
- 2026-08-29 08:08 UTCGHSA enrichment
- 2026-08-28 21:42 UTCEPSS rescore
- 2026-08-28 19:03 UTCGHSA enrichment
- 2026-08-28 16:40 UTCEG score recompute
- 2026-08-28 16:39 UTCGHSA enrichment
- 2026-08-28 15:42 UTCEG score recompute
- 2026-08-28 15:41 UTCGHSA enrichment
- 2026-08-28 09:32 UTCEG score recompute
- 2026-08-28 09:32 UTCGHSA enrichment
- 2026-08-27 20:26 UTCEG score recompute
- 2026-08-27 20:13 UTCEG score recompute
- 2026-08-27 20:13 UTCMITRE cvelistV5first tracked
Related CVEs(same CWE)
Frequently asked(5)
What is CVE-2026-81728?
When was CVE-2026-81728 disclosed?
Is CVE-2026-81728 actively exploited?
What is the CVSS score of CVE-2026-81728?
How do I remediate CVE-2026-81728?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2026-81728
Is Your Infrastructure Affected by CVE-2026-81728?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.