Drupal security updates, in plain English · Module

Two Factor Authentication - TFA / Passwordless Login

651 sites report using it · on drupal.org · 1 security release explained here

It adds an extra layer of verification for the user login process.

Below is every security release for Two Factor Authentication - TFA / Passwordless Login that this site has covered, newest first. Each one says who could exploit it, whether it applies to your site, how urgent it is, and what to tell your developer. If your site uses this module and you are not sure which version, that is the first question to ask whoever looks after it.

Two Factor Authentication - TFA / Passwordless Login

Moderately critical · 651 sites report using it · SA-CONTRIB-2026-207 · on drupal.org · Week of 7 October 2026

It adds an extra layer of verification for the user login process.

A visitor could see the secret customer key used for the background login service. They could read this hidden text. They could not alter the website or add new information.

  • Who could do thisAnyone visiting the site. No login needed.
  • Does it apply to youA site is affected if the headless verification setting is turned on by a user with a restricted access right.
  • Has it been used in attacksNo sign of it.
  • How urgentDrupal rates this moderately critical. Include it in your next routine update, within the month.

Tell your developerUpdate Two Factor Authentication - TFA / Passwordless Login to 5.4.1 or 5.5.2, whichever branch you are on.

For developers: what the fix changed

The fix implements the moHeadlessApiKeyIsValid and moHeadlessRejectApiKey methods in miniorange_2faController.php to perform a constant time API key comparison without returning the key in the response. It also introduces a dedicated backdoor token generated by hooks in miniorange_2fa.install to further separate secrets.

Also in this release The release also updates module version metadata and restricts the headless routes to accept only post requests.

5.4.0 to 5.4.1 1 commit, 9 files.

  • config/schema/miniorange_2fa.schema.yml +4 −1 fix
  • miniorange_2fa.info.yml +7 −2
  • miniorange_2fa.install +22 −1 fix
  • miniorange_2fa.routing.yml +10 −2 fix
  • modules/miniorange_webauthn/miniorange_webauthn.info.yml +6 −1
  • src/Controller/miniorange_2faController.php +139 −44 fix
  • src/Form/MoAuthHeadlessSetup.php +3 −3
  • src/Form/MoAuthLoginSettings.php +6 −2
  • src/MoAuthUtilities.php +44 −3

Full diff, 5.4.0 to 5.4.1 · Full diff, 5.5.1 to 5.5.2

The comparison is against the release immediately before the fix. If your site is on an older release, more will have changed.

Not sure what your site is running?

Send me your Drupal site's address.

I'll tell you what I can see from outside, what the Drupal 10 end of life on 9 December means for it, and what it would cost to have me keep it patched. There's no charge for that and no obligation. peter@peterbrady.co.uk


Get in touch

Tell me who you are, what your organisation does, and what you need. That might be a Drupal site that needs looking after, an upgrade to get done before December, or an agency that needs Drupal cover.

If I can help, I'll say so and suggest a call. If I can't, I'll tell you straight away rather than waste your time.

peter@peterbrady.co.uk

For context: I work mainly with UK charities, membership bodies and research organisations, and with the agencies that look after their websites. Not recruiters.

Or start smaller and connect with me on LinkedIn. That's where I post what I find digging around in charity and grants data, and where the free tools turn up first.