Improper Authorization Affecting edumfa package, versions [,2.9.1)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Improper Authorization vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-EDUMFA-17670568
  • published29 Jun 2026
  • disclosed18 May 2026
  • creditUnknown

Introduced: 18 May 2026

CVE NOT AVAILABLE CWE-285  (opens in a new tab)

How to fix?

Upgrade edumfa to version 2.9.1 or higher.

Overview

edumfa is an eduMFA: identity, multifactor authentication (OTP), authorization, audit

Affected versions of this package are vulnerable to Improper Authorization in the token process. An attacker can gain unauthorized access or reuse authentication tokens by exploiting a race condition in database transaction isolation. This is only exploitable if the deployment uses MySQL (any version) or MariaDB with innodb_snapshot_isolation=OFF, and the attacker is able to race the transaction.

Workaround

This vulnerability can be mitigated by setting innodb_snapshot_isolation to ON.

CVSS Base Scores

version 4.0
version 3.1