CVE-2026-31019
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedIn the Website module of Dolibarr ERP & CRM 22.0.4 and below, the application uses blacklist-based filtering to restrict dangerous PHP functions related to system command execution. An authenticated user with permission to edit PHP content can bypass this filtering, resulting in full remote code execution with the ability to execute arbitrary operating system commands on the server.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceThe Website module in Dolibarr ERP & CRM versions 22.0.4 and below implements a blacklist-based filter to block dangerous PHP functions used for system command execution. An authenticated user with permissions to edit PHP content can bypass this filter through various bypass techniques (such as string obfuscation, alternative function names, or case manipulation), achieving full remote code execution and arbitrary OS command execution on the server.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data<= 22.0.4CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Identify Dolibarr installation versionLocate the version file (commonly version.php or changelog at the Dolibarr root directory) and read the declared version number. Alternatively, access the Dolibarr administration page About section to view the installed version.Affected if The installed version is 22.0.4 or lower.
-
Confirm Website module is enabledLog into Dolibarr as an administrator, navigate to Setup > Modules/Applications, and verify whether the Website module is listed as active or enabled.Affected if The Website module is installed and enabled.
-
Verify PHP content editing permission existsAccess the Website module configuration (typically via the Website module settings page or user permissions panel) and check if the ability to edit PHP content within website pages is granted to any user role.Affected if Users with Website editing permissions can add or modify PHP code in website pages.
-
Inspect the blacklist filter implementationExamine the Dolibarr source files related to the Website module, specifically looking for files that implement the PHP function blacklist filter (commonly found in the website module directory under the class or lib subfolders). Look for an array or configuration listing blocked PHP functions like exec, system, shell_exec, passthru, or similar.Affected if The code uses a blacklist approach (checking against a list of disallowed functions) rather than a whitelist, which is vulnerable to bypass techniques.
You are affected if your Dolibarr installation is version 22.0.4 or lower, the Website module is enabled, and users can edit PHP content within the Website module.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scopedUpgrade to a patched version of Dolibarr that implements whitelist-based function filtering instead of blacklist filtering, or disable the PHP content editing feature in the Website module until patching is possible.
Dolibarr 22.0.5 or later
- 1. Back up your Dolibarr database and files before making any changes.
- 2. Download Dolibarr version 22.0.5 or later from the official Dolibarr website or GitHub repository.
- 3. Upgrade your Dolibarr installation to the latest stable version to address the blacklist bypass vulnerability in the Website module.
- 4. Verify that the PHP function blacklist filtering cannot be bypassed in the Website module's PHP content editing feature.
- 5. Review user permissions for the Website module and ensure only trusted users have permission to edit PHP content.
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation4.0 h
- Implementation8.0 h
- Testing6.0 h
- Review / QA3.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $5,888.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2026-31019 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2026-31019 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data