GHSA-qq2p-4282-cfc5: eduMFA Incorrect InnoDB Snapshot Isolation Possibly Vulnerability
HIGHGHSA-qq2p-4282-cfc5 is a HIGH incorrect innodb snapshot isolation possibly vulnerability (CWE-285: Improper Authorization) affecting eduMFA libraries in the PyPI ecosystem. The issue involves incorrect innodb snapshot isolation possibly allows token reusage. Remediation is available by upgrading affected packages to version 2.9.1.
GHSA-qq2p-4282-cfc5 at a Glance
How to Fix GHSA-qq2p-4282-cfc5
To remediate this vulnerability, upgrade all affected eduMFA dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install edumfa>=2.9.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show edumfa
How to Check if You Are Affected
To determine whether your Python environment is affected by GHSA-qq2p-4282-cfc5, inspect your installed packages using pip:
pip show edumfa
Analyze the terminal output to locate any version of eduMFA in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.9.1), your application is affected.
Note: The pip show edumfa command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-285: Improper Authorization, where the product does not perform or incorrectly performs an authorization check when an actor attempts to access a resource or perform an action. In eduMFA, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
GHSA-qq2p-4282-cfc5 Affected eduMFA Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
edumfa
|
PyPI |
< 2.9.1
|
2.9.1
|
References
Frequently Asked Questions
What is GHSA-qq2p-4282-cfc5?
Which eduMFA versions are affected?
What version fixes GHSA-qq2p-4282-cfc5?
Is edumfa affected?
What CWE is associated with GHSA-qq2p-4282-cfc5?
How can I check PyPI dependencies for GHSA-qq2p-4282-cfc5?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-qq2p-4282-cfc5",
"modified" : "2026-05-18T15:36:18Z",
"published" : "2026-05-18T15:36:18Z",
"aliases" : [ ],
"summary" : "eduMFA: Incorrect InnoDB snapshot isolation possibly allows token reusage",
"details" : "### Impact\n\nFor 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.\nAffected are all tokentypes whose values are only supposed to be used once, for example TOTP, HOTP and likely also WebAuthN.\n\n#### Affected Combinations:\n\n- MySQL (any version)\n- MariaDB with innodb_snapshot_isolation=OFF\n - 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\n with default OFF, can be turned ON as a workaround\n - for MariaDB >= 11.6.2 the default is ON, which is not affected\n- Same rules applies for Galera with underlying MariaDB\n\n### Patches\nFixed in version 2.9.1 by locking rows prior to write with SELECT FOR UPDATE.\n\n### Workarounds\nSet innodb_snapshot_isolation to ON (default in MariaDB >= 11.6.2, e.g packaged in Debian 13).\n\n### Resources\nhttps://mariadb.com/resources/blog/isolation-level-violation-testing-and-debugging-in-mariadb/",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "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"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "edumfa"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.9.1"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/eduMFA/eduMFA/security/advisories/GHSA-qq2p-4282-cfc5"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/eduMFA/eduMFA"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-285" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2026-05-18T15:36:18Z",
"nvd_published_at" : null
}
}