# CVE-2024-37821: Dolibarr arbitrary file upload vulnerability

Source: https://junglewise.ai/threats/cve-2024-37821-dolibarr-arbitrary-file-upload-vulnerability  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2024-06-18  
License: CC BY 4.0 with a link back

CVE-2024-37821 · Severity: low · CVSS 3.1 · Published 2024-06-18

Dolibarr arbitrary file upload vulnerability

Technologies: [dolibarr/dolibarr (Packagist)](https://junglewise.ai/threats/technologies/dolibarr-dolibarr). Vendors: [Packagist](https://junglewise.ai/threats/vendors/packagist).

## Quick answers

**Is CVE-2024-37821 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2024-37821 being exploited in the wild.

**How severe is CVE-2024-37821?** Low severity, with a CVSS score of 3.1, published 18 June 2024.

**Which products and versions are affected?** dolibarr/dolibarr (Packagist) ECOSYSTEM:introduced=0,fixed=19.0.2.

**Is there a fix for CVE-2024-37821?** Yes. dolibarr/dolibarr (Packagist): upgrade to 19.0.2 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2024-37821?** Check whether you run dolibarr/dolibarr (Packagist) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- dolibarr/dolibarr (Packagist): upgrade to 19.0.2 or later

  ```sh
  composer require dolibarr/dolibarr:^19.0.2
  ```


## Affected products

- dolibarr/dolibarr (Packagist) ECOSYSTEM:introduced=0,fixed=19.0.2

## Identifiers

- CVE-2024-37821
- GHSA-p7r8-7w87-8g46

## Related threats

- [Dolibarr SQL injection in localtax parameters](https://junglewise.ai/threats/cve-2026-33944-dolibarr-has-sql-injection-in-societe-class-societe-class-php-via)
- [Dolibarr ERP CRM improper authorization in Leave Request REST API](https://junglewise.ai/threats/cve-2026-10215-dolibarr-erp-crm-improper-authorization-in-leave-request-rest-api)
- [Dolibarr ERP CRM PHP code injection in install/step1.php](https://junglewise.ai/threats/cve-2018-25357-dolibarr-erp-crm-php-code-injection-in-install-step1-php)
- [Dolibarr has Insufficient Verification of Data Authenticity](https://junglewise.ai/threats/cve-2026-7689-dolibarr-has-insufficient-verification-of-data-authenticity)
- [Dolibarr ERP CRM SQL injection in Shipments API Endpoint](https://junglewise.ai/threats/cve-2026-7688-dolibarr-erp-crm-sql-injection-in-shipments-api-endpoint)
