Read the docs
TI-2026-32146 Aliases CVE-2026-44166GHSA-pq7p-mc74-g65w

Pocketbase: Account pre-hijacking via OAuth2 unverfied->verified autolinking upgrade

Priority LOW 27CWE-287Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Passive
Attack complexity
Low
Attack requirements
Present
Impact type
Security bypass
Confidentiality · integrity · availability
Low · High · Low
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-287.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00247 16th percentileScored 2026-11-07
Fix Fixed pocketbase (pocketbase): 0.22.42, 0.37.4github.com/pocketbase/pocketbase (Go): 0.22.42, 0.37.4

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
pocketbasepocketbasebefore 0.22.42; 0.30.0 to before 0.37.40.22.42, 0.37.4Patch availableCNA
—github.com/pocketbase/pocketbase (Go)before 0.22.420.22.42Patch availableGHSA-pq7p-mc74-g65w
—github.com/pocketbase/pocketbase (Go)0.30.0 to before 0.37.40.37.4Patch availableGHSA-pq7p-mc74-g65w
  • pocketbase Vendorpocketbase Affected before 0.22.42; 0.30.0 to before 0.37.4 Fixed in 0.22.42, 0.37.4 Patch available CNA
  • github.com/pocketbase/pocketbase (Go) Vendor— Affected before 0.22.42 Fixed in 0.22.42 Patch available GHSA-pq7p-mc74-g65w
  • github.com/pocketbase/pocketbase (Go) Vendor— Affected 0.30.0 to before 0.37.4 Fixed in 0.37.4 Patch available GHSA-pq7p-mc74-g65w

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:pocketbase:pocketbase:*:*:*:*:*:go:*:*before 0.22.42; 0.23.0 to before 0.37.4Vulnerablepocketbase
  • cpe:2.3:a:pocketbase:pocketbase:*:*:*:*:*:go:*:* Versions before 0.22.42; 0.23.0 to before 0.37.4 Vulnerable ·pocketbase

Remediation

  • Fix · CNA pocketbase (pocketbase) Fixed in 0.22.42, 0.37.4
  • Fix · GHSA-pq7p-mc74-g65w github.com/pocketbase/pocketbase (Go) Fixed in 0.22.42 Advisory →
  • Fix · GHSA-pq7p-mc74-g65w github.com/pocketbase/pocketbase (Go) Fixed in 0.37.4 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-44166
  2. 2026-10-03 Alias added: GHSA-pq7p-mc74-g65w

References

Sources