{"id":"CVE-2026-63438","state":"PUBLISHED","title":"2FAuth: Reverse Proxy Guard Auto-Creates Users With Admin Promotion From Unauthenticated Header Value","description":"2FAuth is a web app to manage Two-Factor Authentication (2FA) accounts and generate their security codes. Prior to 8.0.0, when AUTHENTICATION_GUARD=reverse-proxy-guard accepts authentication headers from a client that did not pass through a trusted proxy, RemoteUserProvider::retrieveById() creates an account for an unknown REMOTE_USER, promotes the first created account to administrator, and synchronizes the account email from the configured mail header. An unauthenticated remote client can therefore create an administrator on a fresh instance or impersonate and redirect email for a known account, exposing 2FA secrets and administrative functions. This issue is fixed in version 8.0.0.","publishedAt":"2026-11-06T20:20:27.407Z","updatedAt":"2026-11-10T20:09:05.662Z","severity":{"score":9.8,"label":"Critical","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["Bubka 2FAuth"],"affected":[{"vendor":"Bubka","product":"2FAuth","versions":[{"version":"< 8.0.0","status":"affected"}]}],"references":["https://github.com/Bubka/2FAuth/security/advisories/GHSA-r9xx-45m8-mw24","https://github.com/Bubka/2FAuth/commit/43873cbfba445926c7008b4291eeee67752af9e8","https://github.com/Bubka/2FAuth/commit/8a4c395cac97f8b70b4a822639a6ad8a816f927c","https://github.com/Bubka/2FAuth/commit/d9e58ac4a63fbd8a073e423567881c81a87915de","https://github.com/Bubka/2FAuth/releases/tag/v8.0.0"],"weaknesses":["CWE-287"],"ingestedAt":"2026-11-10T20:22:04.596Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/63xxx/CVE-2026-63438.json","commit":"fc57b5d654d4e48fa8318f362c47d10daa8793b5","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-63438","state":"PUBLISHED","datePublished":"2026-11-06T20:20:27.407Z","dateUpdated":"2026-11-10T20:09:05.662Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-07-16T19:35:57.767Z"},"containers":{"cna":{"title":"2FAuth: Reverse Proxy Guard Auto-Creates Users With Admin Promotion From Unauthenticated Header Value","descriptions":[{"lang":"en","value":"2FAuth is a web app to manage Two-Factor Authentication (2FA) accounts and generate their security codes. Prior to 8.0.0, when AUTHENTICATION_GUARD=reverse-proxy-guard accepts authentication headers from a client that did not pass through a trusted proxy, RemoteUserProvider::retrieveById() creates an account for an unknown REMOTE_USER, promotes the first created account to administrator, and synchronizes the account email from the configured mail header. An unauthenticated remote client can therefore create an administrator on a fresh instance or impersonate and redirect email for a known account, exposing 2FA secrets and administrative functions. This issue is fixed in version 8.0.0."}],"affected":[{"vendor":"Bubka","product":"2FAuth","versions":[{"version":"< 8.0.0","status":"affected"}]}],"references":[{"url":"https://github.com/Bubka/2FAuth/security/advisories/GHSA-r9xx-45m8-mw24","name":"https://github.com/Bubka/2FAuth/security/advisories/GHSA-r9xx-45m8-mw24","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/Bubka/2FAuth/commit/43873cbfba445926c7008b4291eeee67752af9e8","name":"https://github.com/Bubka/2FAuth/commit/43873cbfba445926c7008b4291eeee67752af9e8","tags":["x_refsource_MISC"]},{"url":"https://github.com/Bubka/2FAuth/commit/8a4c395cac97f8b70b4a822639a6ad8a816f927c","name":"https://github.com/Bubka/2FAuth/commit/8a4c395cac97f8b70b4a822639a6ad8a816f927c","tags":["x_refsource_MISC"]},{"url":"https://github.com/Bubka/2FAuth/commit/d9e58ac4a63fbd8a073e423567881c81a87915de","name":"https://github.com/Bubka/2FAuth/commit/d9e58ac4a63fbd8a073e423567881c81a87915de","tags":["x_refsource_MISC"]},{"url":"https://github.com/Bubka/2FAuth/releases/tag/v8.0.0","name":"https://github.com/Bubka/2FAuth/releases/tag/v8.0.0","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":9.8,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-287","lang":"en","description":"CWE-287: Improper Authentication","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-11-06T20:20:27.407Z"},"source":{"advisory":"GHSA-r9xx-45m8-mw24","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/Bubka/2FAuth/security/advisories/GHSA-r9xx-45m8-mw24","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-11-10T20:08:40.376272Z","id":"CVE-2026-63438","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-11-10T20:09:05.662Z"}}]}}}