CVE Explore

Auth bypass in Pocketbase

CVE-2026-44166

CVSS v3
7.6 High
Public exploits
1 repository
EPSS
0.002 · 16.3th percentile
Published
2026-05-12

What to do

Fixed in
0.22.42
Affected
1 affected product

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.

Vulnerability class: Broken Authentication

Published · last modified .

CVSS v3 metric

CVSS v3 base score 7.6 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:L.

Attack Vector
Network AV:N
Attack Complexity
Low AC:L
Privileges Required
None PR:N
User Interaction
Required UI:R
Scope
Unchanged S:U
Confidentiality
Low C:L
Integrity
High I:H
Availability
Low A:L

EPSS exploit prediction

EPSS 0.002, 16.3th percentile (last changed ); unchanged over 30 days. About EPSS.

Affected products

  • Pocketbase — versions < 0.22.42, >= 0.30.0, < 0.37.4

Weakness classification (CWE)

Public exploits and proof-of-concept code

1 public repository with exploit or proof-of-concept code for this CVE:

References