Skip to main content

eLabFTW EUVDEUVD-2026-27311

| CVE-2026-28510 MEDIUM
Authentication Bypass by Assumed-Immutable Data (CWE-302)
2026-05-05 GitHub_M
5.9
CVSS 3.1 · GitHub Advisory
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Obtain valid account credentials
  2. Delivery
    Access login endpoint
  3. Exploit
    Submit primary credentials
  4. Install
    Reach MFA challenge with uninitialized session state
  5. C2
    Supply attacker-controlled TOTP secret
  6. Execute
    Bypass secondary factor
  7. Impact
    Gain unauthorized account access

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Data mutability checks in auth
Exploitation Conditions

Exploitation requires: (1) possession of valid primary credentials for a target eLabFTW account, (2) the target account must have MFA enabled, (3) the authentication session must reach a state where the MFA secret is not properly retained in the session object (allowing fallback to request parameters), and (4) the attacker must have network access to the eLabFTW login endpoint. The vulnerability is NOT exploitable against accounts without MFA enabled, nor against accounts where the session MFA state is properly maintained throughout the authentication flow. AC:H in the CVSS vector confirms that 'certain conditions' must be met-likely timing-dependent or state-dependent conditions during the brief window between primary credential validation and MFA validation.

Impact

The CVSS score of 5.9 with vector AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:N indicates network-accessible exploitation with HIGH attack complexity and HIGH privilege requirements (PR:H). The contradiction between the relatively low CVSS score and the serious impact (confidentiality and integrity compromise) reflects that exploitation requires an attacker to already possess valid primary credentials. The AC:H rating suggests 'certain conditions' must align-likely specific session states or timing windows where MFA state is not properly initialized. Since PR:H is present, this is an authenticated attack where an account holder with valid credentials can escalate to full account access by bypassing their own MFA enforcement. Real-world risk is moderate: the vulnerability only affects users who have enabled MFA and exists within a narrow authentication window. For organizations where MFA adoption is high and accounts with valid credentials are relatively restricted, this represents elevated risk. For deployments with weak credential security or where MFA is not widely enabled, impact is lower. The need for valid primary credentials significantly limits the threat surface compared to unauthenticated authentication bypasses.

Exploit ScenarioDerived

An attacker obtains a valid eLabFTW account credential through phishing, password spray, or credential stuffing. When logging in with the compromised credential, the attacker reaches the MFA challenge screen. If the MFA session state has not been properly initialized (a race condition or specific configuration scenario), the attacker submits their own TOTP secret value in the authentication request. The application accepts the attacker-controlled TOTP secret instead of validating against the victim's actual MFA enrollment, allowing the attacker to complete login and access the victim's account, including sensitive lab data.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 05, 2026

Multi-factor authentication bypass in eLabFTW through version 5.4.1 allows attackers with valid primary credentials to complete login using an attacker-controlled TOTP secret, circumventing the second factor requirement and gaining unauthorized account access. The vulnerability stems from inconsistent MFA state preservation across authentication steps. This issue is patched in version 5.4.2.

RemediationAI

Vendor-released patch: eLabFTW 5.4.2. Users should upgrade immediately from version 5.4.1 or earlier to 5.4.2 or later. The patch modifies LoginController.php to retrieve the MFA secret exclusively from the session object, eliminating the code path that allowed user-supplied TOTP secrets. For users unable to upgrade immediately, compensating controls include enforcing strong password policies to reduce the likelihood of valid credential compromise, implementing account lockout policies after failed authentication attempts, and monitoring authentication logs for unusual patterns (e.g., successful logins from new IP addresses immediately after MFA prompts). However, these controls do not address the underlying MFA bypass and should only be temporary measures. Apply the patch within 7 days for production environments.

Affected VersionsENISA

elabftw = 5.4.1

Affected Packages

euvd elabftw no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

eLabFTW is an open-source electronic lab notebook platform written in PHP. The vulnerability exists in the LoginController.php authentication flow, specifically in the MfaHelper instantiation during the multi-factor authentication validation step. The affected code previously accepted MFA secrets from both the session (server-side state) and directly from user-supplied request parameters, creating a race condition or logic flaw where an attacker could supply their own TOTP secret if the session state was not properly initialized. The fix (commit 8b7a575) restricts MFA secret retrieval to only the session object, eliminating the fallback to user-controlled request parameters. CWE-302 (Authentication Bypass by Alternate Name) indicates the root cause is improper validation of authentication credentials or state.

Know when Elabftw gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

GitHub Advisory PRIMARY 5.9 MEDIUM
AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:N

Primary rating from GitHub Advisory · only source for this CVE.

CVSS VectorGitHub Advisory

Attack Vector
Network
Attack Complexity
High
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

DescriptionGitHub Advisory

eLabFTW is an open source electronic lab notebook. In elabftw versions through 5.4.1, the login flow did not reliably preserve the multi-factor authentication state across authentication steps. Under certain conditions, an attacker with valid primary credentials could complete authentication with an attacker-controlled TOTP secret and bypass the additional factor. This could result in unauthorized account access. This issue is fixed in version 5.4.2.

Threat Intelligence Overview

EPSS Score
0.0%
Top 89% exploitable
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Total

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

CVE-2021-41171 HIGH POC
8.8 Oct 22

eLabFTW is an open source electronic lab notebook manager for research teams. Rated high severity (CVSS 8.8), this vulne

CVE-2019-12185 HIGH POC
8.8 May 20

eLabFTW 1.8.5 is vulnerable to arbitrary file uploads via the /app/controllers/EntityController.php component. Rated hig

CVE-2021-43834 CRITICAL
9.8 Dec 16

eLabFTW is an electronic lab notebook manager for research teams. Rated critical severity (CVSS 9.8), this vulnerability

CVE-2024-25632 HIGH
8.8 Oct 01

eLabFTW is an open source electronic lab notebook for research labs. Rated high severity (CVSS 8.8), this vulnerability

CVE-2021-43833 HIGH
8.8 Dec 16

eLabFTW is an electronic lab notebook manager for research teams. Rated high severity (CVSS 8.8), this vulnerability is

CVE-2025-25206 HIGH
8.3 Feb 14

eLabFTW is an open source electronic lab notebook for research labs. Rated high severity (CVSS 8.3), this vulnerability

CVE-2024-52586 HIGH
7.8 Dec 09

eLabFTW is an open source electronic lab notebook for research labs. Rated high severity (CVSS 7.8), this vulnerability

CVE-2022-31007 HIGH
7.2 May 31

eLabFTW is an electronic lab notebook manager for research teams. Rated high severity (CVSS 7.2), this vulnerability is

CVE-2024-45408 MEDIUM
6.5 Oct 01

eLabFTW is an open source electronic lab notebook for research labs. Rated medium severity (CVSS 6.5), this vulnerabilit

CVE-2024-47826 MEDIUM
6.1 Oct 14

eLabFTW is an open source electronic lab notebook for research labs. Rated medium severity (CVSS 6.1), this vulnerabilit

CVE-2024-28100 MEDIUM
5.4 Sep 02

eLabFTW is an open source electronic lab notebook for research labs. Rated medium severity (CVSS 5.4), this vulnerabilit

CVE-2024-25633 MEDIUM
5.4 Aug 15

eLabFTW is an open source electronic lab notebook for research labs. Rated medium severity (CVSS 5.4), this vulnerabilit

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy