Arbitrary file upload in Elabftw
CVE-2019-12185
eLabFTW 1.8.5 is vulnerable to arbitrary file uploads via the /app/controllers/EntityController.php component. This may result in remote command execution. An attacker can use a user account to fully compromise the system using a POST request. This will allow for PHP files to be written to the web root, and for code to execute on the remote server.
Vulnerability class: Unrestricted File Upload
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.173, 97.2th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Elabftw — versions 1.8.5
Weakness classification (CWE)
Public exploits and proof-of-concept code
2 public repositories with exploit or proof-of-concept code for this CVE:
- fuzzlove/eLabFTW-1.8.5-EntityController-Arbitrary-File-Upload-RCE (7 stars, last pushed 2019-05-20): eLabFTW 1.8.5 'EntityController' Arbitrary File Upload / RCE (CVE-2019-12185)
- Drew-Alleman/CVE-2019-12185 (last pushed 2025-08-17): CVE-2019-12185 - eLabFTW 1.8.5 Python3 Exploit POC
Also mentioned in 4 other repositories (0xT11/CVE-POC, developer3000S/PoC-in-GitHub, hectorgie/PoC-in-GitHub, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- incidentsecurity.com/elabftw-1-8-5-entitycontroller-arbitrary-file-upload-rce/ (URL Repurposed, Exploit, Vendor Advisory)
- github.com/fuzzlove/eLabFTW-1.8.5-EntityController-Arbitrary-File-Upload-RCE (Exploit, Third Party Advisory)
This CVE has public exploit evidence. See the latest CVEs with public exploits.