CVE-2025-12760: Drupal/email tfa Drupal Email TFA Allows Functionality Vulnerability

MODERATE
Advisory Identifier: GHSA-9jrw-jrrj-p6fr
CVSS 5.4
CWE-288
Published
Advisory Summary

CVE-2025-12760 is a MODERATE (CVSS 5.4) drupal email tfa allows functionality vulnerability (CWE-288: Authentication Bypass Using an Alternate Path or Channel) affecting Drupal/email tfa libraries in the Packagist ecosystem. The issue involves drupal email tfa allows functionality bypass. Remediation is available by upgrading affected packages to version 2.0.6.

CVE-2025-12760 at a Glance

CVE Identifier CVE-2025-12760
GHSA Identifier GHSA-9jrw-jrrj-p6fr
Severity MODERATE
CVSS v3.1 Base Score 5.4
CWE Classification CWE-288: Authentication Bypass Using an Alternate Path or Channel
Affected Product Drupal/email tfa
Package Ecosystem Packagist
Published Date
Last Updated

Security Impact

CVSS: 5.4

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality Low (C:L)
Integrity Low (I:L)
Availability None (A:N)

How to Fix CVE-2025-12760

To remediate this vulnerability, upgrade all affected Drupal/email tfa dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

drupal/email_tfa fixed: 2.0.6
Upgrade drupal/email_tfa to 2.0.6
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for drupal/email_tfa

How to Check if You Are Affected

To determine whether your application is affected by CVE-2025-12760, inspect your project dependencies for Drupal/email tfa:

inspect dependencies for drupal/email_tfa

Analyze the terminal output to locate any version of Drupal/email tfa in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.0.6), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-288: Authentication Bypass Using an Alternate Path or Channel, where the product requires authentication, but the product has an alternate path or channel that does not require authentication. In Drupal/email tfa, 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

Authentication Bypass Using an Alternate Path or Channel vulnerability in Drupal Email TFA allows Functionality Bypass. This issue affects Email TFA: from 0.0.0 before 2.0.6.

CVE-2025-12760 Affected Drupal/email tfa Versions

1 component(s)
Fixed Versions:
2.0.6
Product / Package Ecosystem Affected Versions Fixed Version
drupal/email_tfa
Packagist
< 2.0.6
2.0.6

References

Frequently Asked Questions

What is CVE-2025-12760?
CVE-2025-12760 is a security vulnerability in Drupal/email tfa involving Drupal Email TFA allows Functionality Bypass under CWE-288: Authentication Bypass Using an Alternate Path or Channel.
Which Drupal/email tfa versions are affected?
Affected versions include releases prior to 2.0.6 across affected packages: drupal/email_tfa.
What version fixes CVE-2025-12760?
Upgrading to 2.0.6 (or the latest patched release for your respective branch) resolves the vulnerability.
Is drupal/email_tfa affected?
Yes, drupal/email_tfa is affected in releases prior to 2.0.6. Upgrade your dependency to 2.0.6 or later.
What is the CVSS score of CVE-2025-12760?
CVE-2025-12760 has a CVSS v3.1 base score of 5.4 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N.
What CWE is associated with CVE-2025-12760?
CVE-2025-12760 is classified under CWE-288: Authentication Bypass Using an Alternate Path or Channel (The product requires authentication, but the product has an alternate path or channel that does not require authentication.).
How can I check Packagist dependencies for CVE-2025-12760?
Run the dependency tree command: 'inspect dependencies for drupal/email_tfa'. 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-9jrw-jrrj-p6fr",
  "modified" : "2025-11-19T18:47:18Z",
  "published" : "2025-11-18T18:32:52Z",
  "aliases" : [ "CVE-2025-12760" ],
  "summary" : "Drupal Email TFA allows Functionality Bypass",
  "details" : "Authentication Bypass Using an Alternate Path or Channel vulnerability in Drupal Email TFA allows Functionality Bypass. This issue affects Email TFA: from 0.0.0 before 2.0.6.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "drupal/email_tfa"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "2.0.6"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-12760"
  }, {
    "type" : "PACKAGE",
    "url" : "https://git.drupalcode.org/project/email_tfa"
  }, {
    "type" : "WEB",
    "url" : "https://www.drupal.org/sa-contrib-2025-115"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-288" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-11-19T18:47:18Z",
    "nvd_published_at" : "2025-11-18T17:15:58Z"
  }
}