CVE-2012-10059
Dolibarr ERP/CRM Post-Auth OS Command Injection
Reported by vulncheck · Published August 13, 2025
Dolibarr ERP/CRM versions <= 3.1.1 and <= 3.2.0 contain a post-authenticated OS command injection vulnerability in its database backup feature. The export.php script fails to sanitize the sql_compat parameter, allowing authenticated users to inject arbitrary system commands, resulting in remote code execution on the server.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| ERP/CRM | Dolibarr Project | 3.2.0 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Dolibarr Project | ERP/CRM | 0 |
| Dolibarr Project | ERP/CRM | 0 |
| dolibarr | dolibarr | 0, 0 |
Timeline
- Aug 13, 2025 CVE Published
- Aug 13, 2025 PoC Published (2 in total, the first dated here)
- Aug 14, 2025 EPSS Score (30 in total, the first dated here)
- Mar 5, 2026 Metasploit Module (6 in total, the first dated here)
- May 25, 2026 CVE Updated
- Jun 2, 2026 Security Advisory
- Oct 28, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2012-10059
vulnetix vdb fixes CVE-2012-10059
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2012-10059/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart