High
Security advisory
An arbitrary file upload vulnerability in the Upload Template function of Dolibarr ERP CRM up to v19.0.1 allows attackers to execute arbitrary code via uploading a crafted .SQL file.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2024-37821
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 7 Nov 2026, 07:17 UTC · Revision 1
Source evidence
An arbitrary file upload vulnerability in the Upload Template function of Dolibarr ERP CRM up to v19.0.1 allows attackers to execute arbitrary code via uploading a crafted .SQL file.
osv:CVE-2024-37821
Complete source record
{
"id": "480538086ba7c04058f1c4ef9e263e894331fe8558d7061b5b2129707f4d1ba8",
"url": "https://osv.dev/vulnerability/CVE-2024-37821",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2024-37821",
"summary": "An arbitrary file upload vulnerability in the Upload Template function of Dolibarr ERP CRM up to v19.0.1 allows attackers to execute arbitrary code via uploading a crafted .SQL file.",
"evidence": "osv:CVE-2024-37821",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2024-37821",
"aliases": [
"BIT-dolibarr-2024-37821",
"CVE-2024-37821",
"GHSA-p7r8-7w87-8g46"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/dolibarr/dolibarr",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "f12378d732ff3f35ff0a5e5c8467fe522f7385ba"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:dolibarr:dolibarr_erp\\/crm:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "19.0.2"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"19.0.0",
"19.0.1",
"14.0.0",
"14.0.1",
"6.0.0-beta",
"5.0.0-beta",
"4.0.0-rc",
"3.8.0-beta",
"3.7.1",
"3.7.0",
"3.6.2",
"3.6.1",
"3.6.0",
"3.6.0-beta",
"3.6.beta1_20140514",
"3.6.0-alpha",
"3.5.beta1_20131120",
"3.5.beta1_20131106",
"3.4.beta1_20130502",
"3.4.beta1_20130429",
"3.3.beta1_20121221"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-37821.json"
}
}
],
"modified": "2026-10-28T02:30:50.179375406Z",
"provider": "osv",
"references": [
"https://github.com/alexbsec/CVEs/blob/master/2024/CVE-2024-37821.md",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/37xxx/CVE-2024-37821.json",
"https://nvd.nist.gov/vuln/detail/CVE-2024-37821"
],
"provider_metadata": {
"cna_assigner": "mitre",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/37xxx/CVE-2024-37821.json"
}
},
"related_cves": [
{
"value": "CVE-2024-37821",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 518629,
"published_at": "2024-06-18T00:00:00+00:00"
}