CVE-2018-9019 · mitre
CVE-2018-9019
SQL Injection vulnerability in Dolibarr before version 7.0.2 allows remote attackers to execute arbitrary SQL commands via the sortfield parameter to /accountancy/admin/accountmodel.php, /accountancy/admin/categories_list.php, /accountancy/admin/journals_list.php, /admin/dict.php, /admin/mails_templates.php, or /admin/website.php.
Published 2018-05-22, last changed 2026-06-17. Weakness: CWE-89.
How to fix
Upgrade to a fixed version: dolibarr/dolibarr 7.0.2 (Packagist). For the version that clears every advisory for your installed version, ask an agent for get_remediation.
Where the flaw is in the code
Fixed in Dolibarr/dolibarr by 83b762b681, f15da0b980. The fix changed source code, but no function could be located in it. Confidence: inferred (code changed near the fix, but no record names this exact commit as the fix).
Timeline
| 2018-05-22 | Published |
| 2022-05-13 | Package advisory GHSA-fff9-m6f6-q3mh |
| 2026-06-17 | Record last changed |
| 2026-11-30 | EPSS when our history starts: 3.77% |
| 2026-12-02 | Code-level analysis added |
Affected packages
| Advisory | Package | Fixed in |
|---|---|---|
| GHSA-fff9-m6f6-q3mh | dolibarr/dolibarr (Packagist) | 7.0.2 |
Also known as: GHSA-fff9-m6f6-q3mh
Related
| CVE | Published | CVSS | Summary |
|---|---|---|---|
| CVE-2026-33944 | 2026-11-05 | 8.8 | Dolibarr: SQL Injection in societe/class/societe.class.php via localtax1_value parameter |
| CVE-2026-10215 | 2026-06-01 | 4.3 | Dolibarr ERP CRM Leave Request REST API api_holidays.class.php checkUserAccessToObject improper authorization |
| CVE-2018-25357 | 2026-05-23 | 9.3 | Dolibarr ERP CRM 7.0.3 Remote Code Execution via install/step1.php |
| CVE-2026-7689 | 2026-05-03 | 3.7 | Dolibarr ERP CRM Online Signature security.lib.php dol_verifyHash signature verification |
| CVE-2026-7688 | 2026-05-03 | 5 | Dolibarr ERP CRM Shipments API Endpoint expedition.class.php _checkValForAPI sql injection |
| CVE-2026-31019 | 2026-04-21 | 8.8 | same package: dolibarr/dolibarr (Packagist) |
| CVE-2026-31018 | 2026-04-21 | 8.8 | same package: dolibarr/dolibarr (Packagist) |
| CVE-2026-23500 | 2026-04-17 | 9.1 | Dolibarr: OS Command Injection (RCE) via MAIN_ODT_AS_PDF configuration |
Add it to your agent
One command for Claude Code; setup for Claude Desktop, Cursor and others. No signup or key.
claude mcp add --transport http keygraph-cve https://cve-mcp.keygraph.io/mcp
Then ask for triage_cve CVE-2018-9019, or call /api/v1/vulnerabilities/CVE-2018-9019. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.