{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2025-31676 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2025-31676 is a high-severity authentication bypass vulnerability in Drupal Email TFA, published on 31 Mar 2025. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-31676 and fix it if it is affected.\n\nWhat it is: CVE-2025-31676 is a high-severity authentication bypass vulnerability in Drupal Email TFA, published on 31 Mar 2025. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2025-31676 in the wild and no public exploit code.\n\nAffected product: Drupal Email TFA. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-31676/ (Markdown: https://insights.sbomify.com/CVE-2025-31676/index.md)","id":"CVE-2025-31676","markdown":"https://insights.sbomify.com/CVE-2025-31676/index.md","name":"CVE-2025-31676","record":{"aliases":["DRUPAL-CONTRIB-2025-001","GHSA-34w4-3qr3-m637"],"analysis":{"component_type":"cms_plugin","fix_type":"upgrade","impacts":["account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"Drupal Email TFA","requires_auth":"low_privilege","summary":"Attackers can bypass two-factor authentication via brute force attacks, potentially taking over user accounts.","user_interaction":"not_required","vuln_class":"auth_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"drupal","cpe":[{"product":"email_tfa","vendor":"email_tfa_project"}],"cvss":{"score":8.8,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-307","name":"Improper Restriction of Excessive Authentication Attempts"},{"id":"CWE-1390","name":"Weak Authentication"}],"description":"Weak Authentication vulnerability in Drupal Email TFA allows Brute Force.This issue affects Email TFA: from 0.0.0 before 2.0.3.","ecosystems":["Packagist:https://packages.drupal.org/8"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Email TFA - Moderately critical - Access bypass - SA-CONTRIB-2025-001","id":"CVE-2025-31676","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"auth_bypass","year":"2025"},"n_packages":1,"n_references":1,"next":{"headline":"AI (Artificial Intelligence) - Critical - Cross Site Request Forgery - SA-CONTRIB-2025-003","id":"CVE-2025-31677"},"packages":[{"ecosystem":"Packagist:https://packages.drupal.org/8","fixed":["2.0.3"],"introduced":["2.0.0"],"last_affected":[],"package":"drupal/email_tfa","purl":"pkg:composer/drupal/email_tfa?repository_url=https:%2F%2Fpackages.drupal.org%2F8","source":"DRUPAL-CONTRIB-2025-001"}],"prev":{"headline":"Drupal core - Moderately critical - Cross Site Scripting - SA-CORE-2025-004","id":"CVE-2025-31675"},"products":["Email TFA"],"published":"2025-03-31","related":[{"cvss_score":5.4,"headline":"Email TFA - Moderately critical - Access bypass - SA-CONTRIB-2025-115","id":"CVE-2025-12760","kev_date_added":null,"published":"2025-11-18"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"MIT","name":"Drupal","prefix":"DRUPAL"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-06-19","vendors":["Drupal"]},"summary":"Attackers can bypass two-factor authentication via brute force attacks, potentially taking over user accounts.","url":"https://insights.sbomify.com/CVE-2025-31676/"}