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

Configuration 1 (hide)

OR cpe:2.3:a:pocketbase:pocketbase:*:*:*:*:*:go:*:*
cpe:2.3:a:pocketbase:pocketbase:*:*:*:*:*:go:*:*

History

19 May 2026, 16:20

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.6
References () https://github.com/pocketbase/pocketbase/security/advisories/GHSA-pq7p-mc74-g65w - () https://github.com/pocketbase/pocketbase/security/advisories/GHSA-pq7p-mc74-g65w - Vendor Advisory
First Time Pocketbase pocketbase
Pocketbase
CPE cpe:2.3:a:pocketbase:pocketbase:*:*:*:*:*:go:*:*

12 May 2026, 18:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-05-12 18:17

Updated : 2026-05-19 16:20


NVD link : CVE-2026-44166

Mitre link : CVE-2026-44166

CVE.ORG link : CVE-2026-44166


JSON object : View

Products Affected

pocketbase

  • pocketbase
CWE
CWE-287

Improper Authentication