Improper Authentication Affecting github.com/pocketbase/pocketbase/core package, versions <0.22.42>=0.23.0-rc <0.37.4


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.25% (16th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Improper Authentication vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMPOCKETBASEPOCKETBASECORE-16424169
  • published6 May 2026
  • disclosed5 May 2026
  • creditUnknown

Introduced: 5 May 2026

CVE-2026-44166  (opens in a new tab)
CWE-287  (opens in a new tab)

How to fix?

Upgrade github.com/pocketbase/pocketbase/core to version 0.22.42, 0.37.4 or higher.

Overview

Affected versions of this package are vulnerable to Improper Authentication in the OAuth2 autolinking process. An attacker can gain unauthorized access to a victim's account by pre-registering an unverified user with the victim's email address using one OAuth2 provider, and then waiting for the victim to register with a different provider, resulting in the attacker's OAuth2 link persisting after the account is upgraded to verified.

CVSS Base Scores

version 4.0
version 3.1