CVE-2025-7030 Two-factor Authentication (TFA) - Less critical - Access bypass - SA-CONTRIB-2025-085

Medium 6.5 Published Updated

An attacker can bypass access controls in the Drupal Two-factor Authentication module due to unsafe privilege definitions.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2025-7030?

CVE-2025-7030 is a medium-severity authentication bypass vulnerability in Drupal Two-factor Authentication (TFA), published on 8 Jul 2025. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

Privilege Defined With Unsafe Actions vulnerability in Drupal Two-factor Authentication (TFA) allows Exploiting Incorrectly Configured Access Control Security Levels.This issue affects Two-factor Authentication (TFA): from 0.0.0 before 1.11.0.

Weakness: CWE-267

Which versions are affected by CVE-2025-7030?

It affects 1 product.

Linux distribution packages (1)
drupal/tfa Packagist:https://packages.drupal.org/8All versions1.11.0

Products include Two-Factor Authentication Project Two-Factor Authentication.

How do I fix CVE-2025-7030?

Upgrade to a fixed version.

Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.

Is CVE-2025-7030 being exploited?

There is no known exploitation of CVE-2025-7030 in the wild and no public exploit code.

Sources

Also known as DRUPAL-CONTRIB-2025-085, GHSA-93j9-6whq-hmr3.

Is CVE-2025-7030 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free