CVEsalexandregzCVE-2026-107147Published Oct 27, 09:36 · Updated Oct 27, 09:36 UTC
6.3
MediumCVSS 4.0 · from CERT-PL
CVE-2026-107147

Authentication bypass by spoofing in twofactor_gauthenticator

twofactor_gauthenticator · CWE-290 · CWE-290
Affectedtwofactor_gauthenticator
FixUpdate to 4640889 or newer
PublishedOct 27, 09:36 · CERT-PL
ScoredOct 27 · 6.3 · CERT-PL
Exploit code publicNone known · checked 21:18 UTC
ExploitedNone known · CISA KEV checked 22:10 UTC

What we know

No known exploitation. CISA KEV, checked 22:10 UTC.
No public exploit code known. Exploit-DB, Metasploit, Nuclei, checked 21:18 UTC.
An attacker only needs network access to the target. No login needed. CVSS: network, no privileges.
It only works under certain conditions, which makes it harder to pull off. CVSS: high attack complexity.

Description

The twofactor_gauthenticator plugin for Roundcube is vulnerable to 2fa authentication bypass by spoofed client address headers. Due to the lack of validation of the Client-IP and X-Forwarded-For headers, an attacker who obtains user's password can spoof a whitelisted IP address, resulting in the second factor being bypassed. This issue was fixed in commit 4640889.

From CERT-PL

Affected and fixed versions

ProductAffectedFixed intwofactor_gauthenticatorbefore 46408894640889

Exploit code

Exploit-DBnone knownMetasploitnone knownNucleinone known

References

cert.pl/en/posts/2026/10/CVE-2026-107145 · cert.plthird party advisorygithub.com/alexandregz/twofactor_gauthenticator/blob/master/CHANGES-2FA-SECURITY.en.md · github.compatch

Other CVEs in twofactor_gauthenticator

All 2 →
6.3Insufficient session expiration in twofactor_gauthenticator · CVE-2026-107146Oct 276.3Lack of rate-limiting in 2fa code check mechanism in twofactor_gauthenticator · CVE-2026-107145Oct 27