{"id":"CVE-2025-31694","aliases":["CVE-2025-31694","GHSA-hf6c-fgp3-jfch","DRUPAL-CONTRIB-2025-023"],"related":[],"kind":"vulnerability","state":"published","title":"Two-factor Authentication (TFA) - Moderately critical - Access bypass - SA-CONTRIB-2025-023","summary":"Incorrect Authorization vulnerability in Drupal Two-factor Authentication (TFA) allows Forceful Browsing.This issue affects Two-factor Authentication (TFA): from 0.0.0 before 1.10.0.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Incorrect Authorization vulnerability in Drupal Two-factor Authentication (TFA) allows Forceful Browsing.This issue affects Two-factor Authentication (TFA): from 0.0.0 before 1.10.0.","source":"cvelist"},{"lang":"en","text":"Incorrect Authorization vulnerability in Drupal Two-factor Authentication (TFA) allows Forceful Browsing. This issue affects Two-factor Authentication (TFA): from 0.0.0 before 1.10.0.","format":"markdown","source":"ghsa"},{"lang":"en","text":"This module enables you to allow and/or require users to use a second authentication method in addition to password authentication.\n\nThe module does not sufficiently ensure that known login routes are not overridden by third-party modules which can allow an access bypass to occur.\n\nThis vulnerability is mitigated by the fact that an attacker must obtain a first-factor login credential.","format":"markdown","source":"drupal"},{"lang":"es","text":"La vulnerabilidad de autorización incorrecta en Drupal Two-factor Authentication (TFA) permite una navegación forzada. Este problema afecta a la autenticación de dos factores (TFA): desde la versión 0.0.0 hasta la 1.10.0.","source":"nvd"}],"published":"2025-03-05T18:17:14.000Z","modified":"2026-09-10T03:46:15.753Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.1,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.1,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.1,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U","rating":"HIGH"}],"cwes":["CWE-288","CWE-863"],"affected":[{"ranges":[{"type":"semver","introduced":"0.0.0","fixed":"1.10.0","status":"affected"}],"vendor":"Drupal","product":"Two-factor Authentication (TFA)","repo":"https://git.drupalcode.org/project/tfa","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.10.0"}],"ecosystem":"Packagist","package":"drupal/tfa","purl":"pkg:composer/drupal/tfa","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.10.0"}],"ecosystem":"Packagist:https://packages.drupal.org/8","package":"drupal/tfa","purl":"pkg:composer/drupal/tfa?repository_url=https:%2F%2Fpackages.drupal.org%2F8","source":"drupal"},{"ranges":[{"status":"affected","fixed":"8.x-1.10"}],"vendor":"two-factor_authentication_project","product":"two-factor_authentication","cpe":"cpe:2.3:a:two-factor_authentication_project:two-factor_authentication:*:*:*:*:*:drupal:*:*","source":"nvd"}],"references":[{"url":"https://www.drupal.org/sa-contrib-2025-023","tags":["third-party-advisory","web"],"sources":["cvelist","ghsa","drupal","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-31694","tags":["advisory"],"sources":["ghsa"]},{"url":"https://git.drupalcode.org/project/tfa","tags":["package"],"sources":["ghsa"]}],"credits":["Conrad Lara (cmlara)","Elaman Imashov (elaman)","Greg Knaddison (greggles)"],"assigner":"drupal","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2025-04-29T15:19:26.297Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-31694","url":"https://www.cve.org/CVERecord?id=CVE-2025-31694","licence":"CVE Terms of Use","modified":"2025-04-29T15:19:38.757Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-hf6c-fgp3-jfch","url":"https://github.com/advisories/GHSA-hf6c-fgp3-jfch","licence":"CC-BY-4.0","modified":"2025-12-10T23:41:12.396Z"},{"source":"drupal","name":"Drupal Security Team","id":"DRUPAL-CONTRIB-2025-023","url":"https://osv.dev/vulnerability/DRUPAL-CONTRIB-2025-023","licence":"MIT","modified":"2026-09-10T03:46:15.753Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-31694","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-31694","licence":"Public domain","modified":"2026-06-17T09:10:47.663Z"}],"updatedAt":"2026-11-25T22:58:55.757Z","epss":{"score":0.004,"percentile":0.36334,"date":"2026-12-01T12:00:22.000Z"}}