{"id":"CVE-2026-107147","summary":"Authentication bypass by spoofing in twofactor_gauthenticator","details":"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.\n\n\n\n\nThis issue was fixed in commit 4640889.","modified":"2026-11-05T21:15:50.409809374Z","published":"2026-10-27T09:36:01.938Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/107xxx/CVE-2026-107147.json","cna_assigner":"CERT-PL","cwe_ids":["CWE-290"]},"references":[{"type":"WEB","url":"https://github.com"},{"type":"ADVISORY","url":"https://cert.pl/en/posts/2026/10/CVE-2026-107145"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/107xxx/CVE-2026-107147.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-107147"},{"type":"FIX","url":"https://github.com/alexandregz/twofactor_gauthenticator/blob/master/CHANGES-2FA-SECURITY.en.md"},{"type":"PACKAGE","url":"https://github.com/alexandregz/twofactor_gauthenticator"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/alexandregz/twofactor_gauthenticator","events":[{"introduced":"0"},{"fixed":"4640889"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"0"},{"fixed":"4640889"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"}]}}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-107147.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}