GHSA-qq2p-4282-cfc5: eduMFA Incorrect InnoDB Snapshot Isolation Possibly Vulnerability

HIGH
CWE-285
Published
Advisory Summary

GHSA-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

CVE Identifier N/A
GHSA Identifier GHSA-qq2p-4282-cfc5
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification CWE-285: Improper Authorization
Affected Product eduMFA
Package Ecosystem PyPI
Published Date
Last Updated

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.

edumfa fixed: 2.9.1
pip install edumfa>=2.9.1
Verify Direct and Transitive Dependencies

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

### 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/

GHSA-qq2p-4282-cfc5 Affected eduMFA Versions

1 component(s)
Fixed Versions:
2.9.1
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?
GHSA-qq2p-4282-cfc5 is a security vulnerability in eduMFA involving Incorrect InnoDB snapshot isolation possibly allows token reusage under CWE-285: Improper Authorization.
Which eduMFA versions are affected?
Affected versions include releases prior to 2.9.1 across affected packages: edumfa.
What version fixes GHSA-qq2p-4282-cfc5?
Upgrading to 2.9.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is edumfa affected?
Yes, edumfa is affected in releases prior to 2.9.1. Upgrade your dependency to 2.9.1 or later.
What CWE is associated with GHSA-qq2p-4282-cfc5?
GHSA-qq2p-4282-cfc5 is classified under CWE-285: Improper Authorization (The product does not perform or incorrectly performs an authorization check when an actor attempts to access a resource or perform an action.).
How can I check PyPI dependencies for GHSA-qq2p-4282-cfc5?
Run the dependency tree command: 'pip show edumfa'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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
  }
}