Home / Advisories / CVE-2025-31681 CVE-2025-31681: This module allows a site to setup two factor authentication via QR code using authenticator applications on mobile devi critical Affects drupal/alogin . Feed 2026.11.23.2, updated 2026-11-23; published 2025-01-29 ; advisory modified 2026-09-10 .
This module allows a site to setup two factor authentication via QR code using authenticator applications on mobile devi Package drupal/alogin Composer Affected versions <2.0.6Fixed in 2.0.6Severity critical CVSS 9.8 Exploitation not on CISA KEV · EPSS 0% (38.4th percentile) Published 2025-01-29 Source osv.dev References Quick answers Is CVE-2025-31681 being actively exploited?
It is not on CISA's Known Exploited Vulnerabilities list today.
Which version fixes CVE-2025-31681?
drupal/alogin: 2.0.6.
How do I check whether I am affected?
Run `phpwarden deps composer.lock`. phpwarden checks the exact version you have installed against this advisory.
Am I affected? Find out in one command. phpwarden checks your composer.lock against this advisory and 21,000+ others, ranked by real-world exploitation (CISA KEV + EPSS). Free, offline, open data.
# PHP projects (recommended)
composer require --dev phpwarden/phpwarden
# then
vendor/bin/phpwarden deps composer.lock
# or, without Composer
pipx install phpwarden && phpwarden deps composer.lockOr keep it checked automatically: GitHub Action · pre-commit hook · GitLab CI · Laravel artisan command
Install docs How findings are ranked Related advisories CVE-2025-8995 unknown This module enables users to setup two-factor authentication (2FA) using authenticator app same package: drupal/alogin CVE-2025-8093 unknown This module allows users to setup two-factor authentication (2FA) using authenticator apps same package: drupal/alogin CVE-2022-1329 high The Elementor Website Builder plugin for WordPress is vulnerable to unauthorized execution same weakness: CWE-862 CVE-2023-6875 critical The POST SMTP Mailer – Email log, Delivery Failure Notifications and Best Mail SMTP for Wo same weakness: CWE-862 CVE-2020-8772 critical The InfiniteWP Client plugin before 1.9.4.5 for WordPress has a missing authorization chec same weakness: CWE-862 CVE-2019-19985 medium The WordPress plugin, Email Subscribers & Newsletters, before 4.2.3 had a flaw that allowe same weakness: CWE-862