patchminder
Weaponized · Metasploit CVE-2012-10059

Remote code executionin CVE-2012-10059.

Published 13 Aug 2025 · Updated 25 May 2026 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

Weaponized: a Metasploit exploit is public.

Attack code is public
Severity
Critical 9.4
CVSSA severity score from 0 to 10. 9 and higher is critical. 4.0
Attack likelihood
High
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 18.1% chance in 30 days · 4 Dec 2026
Fix
Not confirmed
No source names a fixed version yet
In plain words

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.

What to do now
  • No source names a fix yet. Watch this page or the product for updates; we never guess a fixed version.

Not confirmed by any source yet: fixed version not confirmed. We show these as not confirmed instead of guessing.

Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
ERP/CRM
3.2.0 and earlier
Not confirmed
CVE record

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 6 Apr 2012
    Metasploit module: Dolibarr ERP/CRM Post-Auth OS Command Injection.
  2. 11 Aug 2025
    CVE ID reserved by VulnCheck.
  3. 13 Aug 2025
    Published in the CVE List.
  4. 25 May 2026
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: Weaponized (Metasploit). CISA assessment (SSVC): exploitation poc.

Metasploit module
1 module
Nuclei scan template
None known
Exploit-DB
2 entries
GitHub proof of concepts
None known
MetasploitDolibarr ERP/CRM Post-Auth OS Command Injectionrank excellentLinked once a fix or workaround is known.
Exploit-DBEDB-ID 18724web application exploit for php, published 9 Apr 2012, verified by Exploit-DBLinked once a fix or workaround is known.
Exploit-DBEDB-ID 18725web application exploit for php, published 9 Apr 2012, verified by Exploit-DBLinked once a fix or workaround is known.
Referenceraw.githubusercontent.comnamed as exploit in the CVE recordLinked once a fix or workaround is known.
Referencewww.exploit-db.comnamed as exploit in the CVE recordLinked once a fix or workaround is known.
Referencewww.exploit-db.comnamed as exploit in the CVE recordLinked once a fix or workaround is known.
Referenceseclists.orgnamed as exploit in the CVE recordLinked once a fix or workaround is known.

Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.

Related

Same weakness: OS command injection

All CWE-78 vulnerabilities

References
Cite this page

Patchminder. CVE-2012-10059: Remote code execution in CVE-2012-10059. https://patchminder.com/cve/cve-2012-10059/ (accessed 5 December 2026).