CVE 6.1 MEDIUM

Pocketbase: Account pre-hijacking via OAuth2 unverfied->verified autolinking upgrade_CVE-2026-44166

6.1 / 10
MEDIUM
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:H/VA:L/SC:N/SI:N/SA:N

Description

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.

Basic Information

ID CVE-2026-44166
Source GitHub_M
Published May 12, 2026 at 17:16

Affected Product

Vendor pocketbase
Product pocketbase
Version < 0.22.42
Affected Versions pocketbase pocketbase < 0.22.42
pocketbase pocketbase >= 0.30.0, < 0.37.4

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.