---
id: "CVE-2026-116219"
kind: "vulnerability"
aliases: ["CVE-2026-116219"]
title: "Dolibarr ERP CRM: admin export lets authenticated users run OS commands"
severity: "high"
cvss: 8.6
epss: null
exploited: false
status: "open"
category: "package"
products: []
ecosystems: []
tags: ["dolibarr", "package", "php", "self-hosted"]
not_affected_if: ["auth-required", "upgraded-to-24.0.0"]
published_at: "2026-10-26T14:16:35+00:00"
first_seen_at: "2026-10-26T14:30:36+00:00"
updated_at: "2026-10-26T14:32:17+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-116219", "first_seen_at": "2026-10-26T14:30:36+00:00"}]
---

# Dolibarr ERP CRM: admin export lets authenticated users run OS commands

Dolibarr ERP CRM before 24.0.0 has an OS command injection in htdocs/admin/tools/export.php. An authenticated administrator can bypass the restrict_os_commands allowlist by chaining commands with & around an allowed basename in the mysqldump value, running commands as the web server user.

_Summary, check and fix written by a model from the sources; labelled as such._

## How to check

- Check the installed Dolibarr version (`htdocs/filefunc.inc.php` or the About page) and see whether it is below `24.0.0`
- Look for the `restrict_os_commands` setting in `conf/conf.php` and note its value

## Fix

- Upgrade Dolibarr to `24.0.0` or later
- Until upgraded, restrict admin accounts to trusted users and review who holds admin rights

## Timeline

- 2026-10-26T14:30:36+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-116219

## From the sources

Dolibarr ERP CRM before 24.0.0 contains an OS command injection vulnerability in htdocs/admin/tools/export.php that lets authenticated administrators bypass the restrict_os_commands allowlist. Attackers can submit a mysqldump value chaining commands with & characters around an allowlisted basename to execute operating system commands as the web server user.

---

_Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai_
