# CVE-2026-107147: Authentication bypass by spoofing in twofactor_gauthenticator

- Severity: Medium 6.3 (CVSS:4.0, scored by CERT-PL) `CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.46%, higher than 41% of CVEs (2026-12-01)
- Published: 2026-10-27T09:36:01.938Z
- Modified: 2026-11-04T15:17:25.830Z
- Weaknesses: CWE-290
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: CERT-PL

## 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.

(As written by CVE List.)

## Affected

- alexandregz twofactor_gauthenticator: before 4640889

## References

- <https://cert.pl/en/posts/2026/10/CVE-2026-107145> (third-party-advisory)
- <https://github.com/alexandregz/twofactor_gauthenticator/blob/master/CHANGES-2FA-SECURITY.en.md> (patch)

## Sources

- CVE List: [CVE-2026-107147](https://www.cve.org/CVERecord?id=CVE-2026-107147), CVE Terms of Use, modified 2026-11-04
- NVD: [CVE-2026-107147](https://nvd.nist.gov/vuln/detail/CVE-2026-107147), Public domain, modified 2026-11-04

---

Page: https://cve.day/CVE-2026-107147 · Whole record: https://cve.day/CVE-2026-107147.json · Rebuilt by cve.day 2026-11-25T22:59:47.333Z
