High

eduMFA: Incorrect InnoDB snapshot isolation possibly allows token reusage

  • Disclosed: 18.05.2026
  • Updated: 11.10.2026 12:19

Impact

For deployments using MySQL or MariaDB < 11.6.2 (or newer with innodb_snapshot_isolation=off) reusage of token values might be possible due to faulty transaction isolation inside the database. Exploiting this requires racing this transaction. Affected are all tokentypes whose values are only supposed to be used once, for example TOTP, HOTP and likely also WebAuthN.

Affected Combinations:

  • MySQL (any version)
  • MariaDB with innodb_snapshot_isolation=OFF
    • innodb_snapshot_isolation was introduced in: MariaDB 10.6.18, MariaDB 10.11.8, MariaDB 11.0.6, MariaDB 11.1.5, MariaDB 11.2.4, MariaDB 11.4.2 with default OFF, can be turned ON as a workaround
    • for MariaDB >= 11.6.2 the default is ON, which is not affected
  • Same rules applies for Galera with underlying MariaDB

Patches

Fixed in version 2.9.1 by locking rows prior to write with SELECT FOR UPDATE.

Workarounds

Set innodb_snapshot_isolation to ON (default in MariaDB >= 11.6.2, e.g packaged in Debian 13).

Resources

https://mariadb.com/resources/blog/isolation-level-violation-testing-and-debugging-in-mariadb/

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Python (PyPI) edumfa < 2.9.1 2.9.1

References

CVSS score -
CVSS vector
CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:P/VC:H/VI:L/VA:L/SC:H/SI:L/SA:L
Weakness (CWE)
CWE-285
Platform
Python (PyPI)
Package
edumfa
Disclosed
18.05.2026
Updated
11.10.2026 12:19

Sources and licenses

OSV / GitHub Advisory Database - GHSA-qq2p-4282-cfc5 - CC BY 4.0

Vulnerability history: edumfa

All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.

Total entries
4
First → latest
07.2024 05.2026
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • High 2
  • Medium 2

Disclosures per year

  1. 2024: 1
  2. 2025: 0
  3. 2026: 3
  1. eduMFA: Incorrect InnoDB snapshot isolation possibly allows token reusage this entry
    High ghsa-qq2p-4282-cfc5 < 2.9.1 2.9.1
  2. Medium · 6.8 ghsa-vhmj-5q9r-mm9g < 2.2.0 2.2.0

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.