GHSA-qq2p-4282-cfc5

Suggest an improvement
Source
https://github.com/advisories/GHSA-qq2p-4282-cfc5
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/05/GHSA-qq2p-4282-cfc5/GHSA-qq2p-4282-cfc5.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-qq2p-4282-cfc5
Published
2026-05-18T15:36:18Z
Modified
2026-05-18T15:49:40.343772Z
Severity
  • 7.1 (High) CVSS_V4 - 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 CVSS Calculator
Summary
eduMFA: Incorrect InnoDB snapshot isolation possibly allows token reusage
Details

Impact

For deployments using MySQL or MariaDB < 11.6.2 (or newer with innodbsnapshotisolation=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 innodbsnapshotisolation=OFF
    • innodbsnapshotisolation 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 innodbsnapshotisolation 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/

Database specific
{
    "github_reviewed": true,
    "github_reviewed_at": "2026-05-18T15:36:18Z",
    "nvd_published_at": null,
    "severity": "HIGH",
    "cwe_ids": [
        "CWE-285"
    ]
}
References

Affected packages

PyPI / edumfa

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.9.1

Affected versions

1.*
1.2.0
1.3.0
1.4.0
1.5.0
1.5.1
2.*
2.0.0
2.0.1
2.0.2
2.0.3
2.1.0
2.2.0
2.3.0
2.4.0
2.5.0
2.6.0
2.6.1
2.7.0
2.7.1
2.7.2
2.8.0
2.9.0rc1
2.9.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/05/GHSA-qq2p-4282-cfc5/GHSA-qq2p-4282-cfc5.json"