CVE-2025-31694:
Drupal Two-factor Authentication (TFA) Vulnerable to Forceful Browsing
8.1
CVSS ScoreBasic Information
CVE ID
GHSA ID
EPSS Score
-
CWE
Published
4/1/2025
Updated
4/2/2025
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
drupal/tfa | composer | < 1.10.0 | 1.10.0 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability centers on improper route access controls (CWE-288/CWE-863). In Drupal, route access is determined by access check services like TfaAccessCheck. The advisory explicitly states the module failed to prevent route overrides that bypass TFA, indicating the access control handler was deficient. The patched version's added route integrity checks and access enforcement further corroborate that the TfaAccessCheck::access method was the focal point of the authorization flaw. During exploitation, this function would appear in stack traces when attackers access overridden routes without proper TFA validation.