Skip to content

2FAuth

v8.0.0 Security

This release includes 4 security fixes for security teams reviewing exposed deployments.

Published 26d Secrets & Credentials
✓ No known CVEs patched
Read the diff → Tool health → What is this tool? →
This release patches 4 known CVEs

Topics

2fa 2factor hotp otp qrcode self-hosted
+4 more
totp two-factor two-factor-authentication web

Affected surfaces

auth rbac rce_ssrf

Summary

AI summary

Updates Security fix, New env vars, and https://docs.2fauth.app/security/authentication/auth-proxy/ across a mixed release.

Full changelog

2FAuth already bumps to v8 because of the upgrade of the Laravel PHP framework it is built on.

[!WARNING]
One of the underlying components has changed the way authentication tokens are generated, so your personal access tokens will become invalid. This is, strictly speaking, a breaking change, but the impact is limited (not everyone uses PAT) and generating new tokens is not a big deal. I'm sorry about that nonetheless.

Despite the short time that has passed since v7, I found time to make two improvements to the user experience:

  • You can now switch between groups without having to open the selection menu. Groups are displayed as chips directly below the search bar for quick switching. The groups displayed in the chips list are the ones you choose to make visible. A new option is available in the Group edit form to do so.
  • Lengthy pages in the Settings and Admin sections now have a navigation menu that lets you scrolls to the desired section. Don't be surprised — I took this opportunity to reorganize the Settings > Options page, as all the additions over time had made it a bit messy.

You can disable any of this from the Settings > Options page if you want to restore the previous behaviour.

This release also includes several security fixes, including one that affects authentication via a reverse proxy with the following consequence:

[!WARNING]
To ensure authentication at 2FAuth level, your auth proxy must now be identified as trusted with the TRUSTED_PROXIES environment variable.

Added

  • Group switching can be done directly from the main view using chips
  • The lengthy Settings and Admin pages now come with a quick navigation menu that lets you scroll directly to the desired section.
  • The docker image is now tagged with shifting major and minor tags (#541).

New env vars

  • PHP_MEMORY_LIMIT_TEMP_OVERRIDE: Temporary PHP memory limit applied during QR code detection to prevent exhausted memory error (doc).

Security fix

Fixed

  • issue #540 Scan/Import QR Code Not working
  • issue #543 Scan/Import Google Authentificator QR Code
  • issue #549 Unshare action in Manage mode does not remove sharing
  • UI elements overlapping during transitions on Manage mode enter/leave

Breaking Changes

  • Personal access tokens become invalid due to changes in token generation; new tokens must be generated.

Security Fixes

  • Fix user impersonation and admin privilege escalation when using an authentication proxy (auth-proxy)
  • Fix SSRF vulnerability via DNS rebinding during imageLink resource fetching
  • Block IPv6 NAT64 addresses in SSRF guard
  • Add missing authorization on share recipients endpoint to prevent cross‑user account enumeration

Weekly OSS security release digest.

The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.

No spam, unsubscribe anytime.

Share this release

Track 2FAuth

Get notified when new releases ship.

Sign up free

About 2FAuth

A Web app to manage your Two-Factor Authentication (2FA) accounts and generate their security codes

All releases →

Beta — feedback welcome: [email protected]