What’s Vulnerable › Vulnerabilities
CVE-2021-43833: Account takeover in eLabFTW
- Severity: high (CVSS 8.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.8% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2021-12-16 · updated 2026-06-17
- Weakness: CWE-287
Description
eLabFTW is an electronic lab notebook manager for research teams. In versions prior to 4.2.0 there is a vulnerability which allows any authenticated user to gain access to arbitrary accounts by setting a specially crafted email address. This vulnerability impacts all instances that have not set an explicit email domain name allowlist. Note that whereas neither administrators nor targeted users are notified of a change, an attacker will need to control an account. The default settings require administrators to validate newly created accounts. The problem has been patched. Users should upgrade to at least version 4.2.0. For users unable to upgrade enabling an email domain allow list (from Sysconfig panel, Security tab) will completely resolve the issue.
Affected products
- elabftw: before 4.2.0 — fixed in 4.2.0
How to fix
Upgrade to a fixed version: elabftw 4.2.0. Check the vendor advisory for mitigations.
References
- https://github.com/elabftw/elabftw/releases/tag/4.2.0
- https://github.com/elabftw/elabftw/security/advisories/GHSA-v659-q2fh-v99w
- https://github.com/elabftw/elabftw/releases/tag/4.2.0
- https://github.com/elabftw/elabftw/security/advisories/GHSA-v659-q2fh-v99w
Get alerted when CVE-2021-43833 or the next vulnerability affects your stack