Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2026-81730: Dolibarr 9.0.0 through 23.0.4 saves inbound email attachments under the name supplied in the message's MIME he

45
This month
HIGH 8.2REMOTEUPGRADE

CVE-2026-81730 is a high-severity flaw (CVSS 8.2) affecting dolibarr erp\/crm. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

Dolibarr 9.0.0 through 23.0.4 saves inbound email attachments under the name supplied in the message's MIME headers without reducing it to a safe basename. The global saveAttachment() in htdocs/emailcollector/lib/emailcollector.lib.php builds $filepath = $path . $filename . '.' . $ext and hands it to file_put_contents(), and the private saveAttachment() in htdocs/emailcollector/class/emailcollector.class.php writes to $destdir.'/'.$filename; the

Why this priority

  • High severity
  • Remotely exploitable, no login, no user action

A fixed release or distro patch exists.

Risk facts

CVSS score8.2 (High)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededNone
User interactionNone
EPSS exploit chance0.6% (top 54%)
CISA exploited listNo
WeaknessCWE-22
Published2026-08-27
Last modified2026-08-31
Publisher (CNA): VulnCheck · Vendor: dolibarr

Share: LinkedIn · X · Reddit

Last updated 2026-08-31 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

dolibarr dolibarr erp\/crm UPGRADE
Affected: >= 9.0.0 and < 24.0.0
Fixed in: 24.0.0
Safe to downgrade to: a release before 9.0.0
1. Check installed version
apt-cache policy dolibarr-erpcrm || rpm -q dolibarr-erpcrm || dolibarr-erpcrm --version
2. UPGRADE to 24.0.0 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade dolibarr-erpcrm
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade dolibarr-erpcrm
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
3. If no update is available yet, DOWNGRADE to a release before 9.0.0 (Debian / Ubuntu)
apt-cache madison dolibarr-erpcrm sudo apt install dolibarr-erpcrm=<VERSION_BEFORE_9.0.0> sudo apt-mark hold dolibarr-erpcrm
3. If no update is available yet, DOWNGRADE (RHEL / Amazon Linux / Fedora)
dnf --showduplicates list dolibarr-erpcrm sudo dnf downgrade dolibarr-erpcrm-<VERSION_BEFORE_9.0.0> sudo dnf versionlock add dolibarr-erpcrm
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2026-81730?

dolibarr erp\/crm: upgrade to 24.0.0. Exact commands for each OS are on this page.

Is CVE-2026-81730 being exploited?

CVE-2026-81730 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2026-81730 affect?

CVE-2026-81730 affects dolibarr erp\/crm. Severity is high (CVSS 8.2). Dolibarr 9.0.0 through 23.0.4 saves inbound email attachments under the name supplied in the message's MIME headers without reducing it to a safe basename. The global saveAttachment() in htdocs/emailcollector/lib/emailcollector.lib.php buil

How urgent is CVE-2026-81730?

Priority 45/100. High severity; Remotely exploitable, no login, no user action

Software pages

PHP vulnerabilities

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.