Vulnerability
CVE-2026-44166
Pocketbase is an open source web backend written in go. Prior to 0.22.42 and 0.37.4, in some situations, if an attacker knows the email address of the victim they can create and link an unverified PocketBase user in advance by authenticating with one of the OAuth2 app providers, e.g. "A". When the victim gets invited or decides to sign up to your app on their own with provider "B" (PocketBase OAuth2 auth requires to be with a different provider because we don't allow multiple OAuth2 accounts from the same provider to be associated to a single PocketBase user), the user created previously by the attacker will be autolinked, upgraded to "verified" and its old password reset. This vulnerability is fixed in 0.22.42 and 0.37.4.
6 advisories report this vulnerability, across 3 ecosystems.
Advisories
-
GHSA-pq7p-mc74-g65w
PocketBase vulnerable to account pre-hijacking via OAuth2 unverfied->verified autolinking upgrade
-
GO-2026-5548
PocketBase: Account pre-hijacking via OAuth2 autolinking upgrade in github.com/pocketbase/pocketbase
-
SUSE-SU-2026:23216-1
Security update for govulncheck-vulndb
-
SUSE-SU-2026:23227-1
Security update for govulncheck-vulndb
-
openSUSE-SU-2026:12167-1
pocketbase-0.40.5-1.1 on GA media
-
openSUSE-SU-2026:21551-1
Security update for govulncheck-vulndb