Home / Dolibarr / dolibarr / CVE-2026-81728
CVE-2026-81728: is it exploited, and which versions of dolibarr are affected and fixed?
CVE-2026-81728 is a SQL injection vulnerability in dolibarr. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 17:09 UTC). Affected: dolibarr before 24.0.0 (CVE record by VulnCheck). Fixed in 24.0.0 (CVE record by VulnCheck). Severity: High (8.6, CVSS 4.0, from VulnCheck).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 17:09 UTC, CVE record November 19, 2026, 07:06 UTC and NVD November 19, 2026, 07:08 UTC.
What is CVE-2026-81728?
Dolibarr before 24.0.0 SQL Injection via the CSV and XLSX Import Update Keys
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.
From the CVE record by VulnCheck, last updated September 24, 2026, 14:19 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Dolibarr | dolibarr | before 24.0.0 | 24.0.0 |
As the CVE record by VulnCheck states it, last updated September 24, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| dolibarr | dolibarr erp\/crm | before 24.0.0 | application |
NVD analysis (status Analyzed), last modified August 31, 2026, 18:05 UTC.
How severe is CVE-2026-81728?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.6 | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N | VulnCheck |
| High 8.1 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N | VulnCheck |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-81728 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: total (CISA ADP, August 28, 2026)
- EPSS
- 0.26% probability of exploitation activity in the next 30 days, percentile 19.1 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-89 Improper Neutralization of Special Elements used in an SQL Command
Where are the vendor advisories and references?
- Patch Commit patch
- https://github.com/Dolibarr/dolibarr product
- https://github.com/Dolibarr/dolibarr/blob/23.0.4/htdocs/core/modules/import/import_csv.modules.php#L925 technical-description
- VulnCheck Advisory: Dolibarr before 24.0.0 SQL Injection via the CSV and XLSX Import Update Keys third-party-advisory
Who found and reported it?
- Michael Holmquist (HASP Labs) (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- August 27, 2026
- Published
- August 27, 2026, 20:07 UTC
- CVE record updated
- September 24, 2026, 14:19 UTC by VulnCheck
- NVD
- Analyzed, last modified August 31, 2026, 18:05 UTC
- Last checked
- CVE list November 19, 2026, 07:06 UTC; NVD November 19, 2026, 07:08 UTC; KEV December 3, 2026, 17:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect dolibarr?
- Nov 13, 2026CVE-2026-89037 dolibarr: authorization bypass through a user-controlled key (IDOR)
- Nov 10, 2026CVE-2026-125754 dolibarr: authorization bypass through a user-controlled key (IDOR)
- Nov 5, 2026CVE-2026-33944 dolibarr: SQL injection
- Oct 26, 2026CVE-2026-116219 dolibarr: OS command injection
- Oct 26, 2026CVE-2026-116218 dolibarr: SQL injection
- Oct 19, 2026CVE-2026-112361 Dolibarr: protection mechanism failure
- Oct 15, 2026CVE-2026-110874 dolibarr: deserialization of untrusted data
- Oct 8, 2026CVE-2026-107706 dolibarr: incorrect authorization
Questions about CVE-2026-81728
Is CVE-2026-81728 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 17:09 UTC. FIRST's EPSS gives it a 0.26% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of dolibarr are affected by CVE-2026-81728?
dolibarr before 24.0.0, per the CVE record by VulnCheck. The tables above give every range the sources list.
Which version fixes CVE-2026-81728?
24.0.0, per the CVE record by VulnCheck. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-81728?
High (8.6, CVSS 4.0, from VulnCheck). The severity table above shows each score with its source.
Where is the official record of CVE-2026-81728?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.