{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2025-7030 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"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."},"fix_prompt":"Check this codebase for CVE-2025-7030 and fix it if it is affected.\n\nWhat it is: 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.\nExploitation: There is no known exploitation of CVE-2025-7030 in the wild and no public exploit code.\n\nAffected product: Drupal Two-factor Authentication (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-7030/ (Markdown: https://insights.sbomify.com/CVE-2025-7030/index.md)","id":"CVE-2025-7030","markdown":"https://insights.sbomify.com/CVE-2025-7030/index.md","name":"CVE-2025-7030","record":{"aliases":["DRUPAL-CONTRIB-2025-085","GHSA-93j9-6whq-hmr3"],"analysis":{"component_type":"cms_plugin","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Drupal TFA module","requires_auth":"high_privilege","summary":"An attacker can bypass access controls in the Drupal Two-factor Authentication module due to unsafe privilege definitions.","user_interaction":"not_required","vuln_class":"auth_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"drupal","cpe":[{"product":"two-factor_authentication","vendor":"two-factor_authentication_project"}],"cvss":{"score":6.5,"severity":"medium","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-267","name":"Privilege Defined With Unsafe Actions"}],"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.","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":"Two-factor Authentication (TFA) - Less critical - Access bypass - SA-CONTRIB-2025-085","id":"CVE-2025-7030","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":"Config Pages Viewer - Critical - Access bypass - SA-CONTRIB-2025-086","id":"CVE-2025-7031"},"packages":[{"ecosystem":"Packagist:https://packages.drupal.org/8","fixed":["1.11.0"],"introduced":["0"],"last_affected":[],"package":"drupal/tfa","purl":"pkg:composer/drupal/tfa?repository_url=https:%2F%2Fpackages.drupal.org%2F8","source":"DRUPAL-CONTRIB-2025-085"}],"prev":{"headline":"SMM Arbitrary Write via Unchecked OcHeader Buffer in Platform Configuration Handler","id":"CVE-2025-7029"},"products":["Two-factor Authentication (TFA)"],"published":"2025-07-08","related":[{"cvss_score":9.8,"headline":"Two-factor Authentication (TFA) - Moderately critical - Access bypass - SA-CONTRIB-2024-003","id":"CVE-2024-13239","kev_date_added":null,"published":"2025-01-09"},{"cvss_score":9.8,"headline":"Two-factor Authentication (TFA) - Critical - Access bypass - SA-CONTRIB-2024-043","id":"CVE-2024-13279","kev_date_added":null,"published":"2025-01-09"},{"cvss_score":8.1,"headline":"Two-factor Authentication (TFA) - Moderately critical - Access bypass - SA-CONTRIB-2025-023","id":"CVE-2025-31694","kev_date_added":null,"published":"2025-03-31"}],"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":"partial"},"state":"PUBLISHED","updated":"2025-07-09","vendors":["Drupal"]},"summary":"An attacker can bypass access controls in the Drupal Two-factor Authentication module due to unsafe privilege definitions.","url":"https://insights.sbomify.com/CVE-2025-7030/"}