CVE-2022-31007
Privilege escalation from administrator in eLabFTW
Mitigation
- Upgrade elabftw to 4.3.0 or later.
Who should check
- Anyone running elabftw < 4.3.0
Vulnerability facts
- Affected
- elabftw < 4.3.0
- Fixed in
- elabftw 4.3.0
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, login needed
- CVSS
- 4.9 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: High
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: High
- Availability impact: None
- EPSS
- 1.61% chance of exploitation in 30 days (percentile 76, 2026-11-26)
- CWE
- CWE-842, CWE-1287
- Modified
Description
eLabFTW is an electronic lab notebook manager for research teams. Prior to version 4.3.0, a vulnerability allows an authenticated user with an administrator role in a team to assign itself system administrator privileges within the application, or create a new system administrator account. The issue has been corrected in eLabFTW version 4.3.0. In the context of eLabFTW, an administrator is a user account with certain privileges to manage users and content in their assigned team/teams. A system administrator account can manage all accounts, teams and edit system-wide settings within the application. The impact is not deemed as high, as it requires the attacker to have access to an administrator account. Regular user accounts cannot exploit this to gain admin rights. A workaround for one if the issues is removing the ability of administrators to create accounts.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| elabftw | < 4.3.0 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2022-31007. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2022-31007.md Affected: elabftw < 4.3.0 Fixed in: elabftw 4.3.0 Steps: 1. Search this machine and project for elabftw: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
FAQ
Is CVE-2022-31007 being exploited?
There is no confirmed exploitation: CVE-2022-31007 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.61% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2022-31007?
Medium: CVSS 4.9 (v3.1, scored by CNA). Remote, login needed.
Which versions are affected by CVE-2022-31007?
elabftw < 4.3.0.
Is there a fix for CVE-2022-31007?
Yes. Fixed in elabftw 4.3.0. Upgrade elabftw to 4.3.0 or later.
How do I check if I'm affected by CVE-2022-31007?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.