Public mode

No access to your tenant or devices. Every item links to its source. What this means

Sources need attention Customize Public modeDiscuss ChangeIntel on Discord

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

CVSS 4.0 6.1 MEDIUMEUVD CVSS 4.0 6.1 CVSS 4.0 · [email protected] · Secondary 6.1 MEDIUMCVSS 3.1 · [email protected] · Primary 7.6 HIGHCVSS_V4 Publisher rating MODERATEFixed by github.com/pocketbase/pocketbase 0.22.42Fixed by github.com/pocketbase/pocketbase 0.37.4osv · severity unknownFixed by github.com/pocketbase/pocketbase 0.22.42Fixed by github.com/pocketbase/pocketbase 0.37.4KEV status unknown

cve-program · CVE-2026-44166

Published

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.

Read the publisher's advisory

euvd · EUVD-2026-29723

Published

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.

Read the publisher's advisory

nvd · CVE-2026-44166

Published

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.

Read the publisher's advisory

osv · GHSA-pq7p-mc74-g65w

Published

A pre-hijacking issue was discovered with the OAuth2 autolinking by [Alardiians](https://github.com/Alardiians). 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. The upgrade flow operates within the expectations but the problem is that I forgot to clear the previous OAuth2 link(s) leaving the attacker to still have access to the initially created user. Or in other words, the vulnerability is similar to the [mixed password + OAuth2 auth pre-hijacking issue](https://github.com/pocketbase/pocketbase/security/advisories/GHSA-m93w-4fxv-r35v) that we had in the past but with a slightly different angle. So with that in mind, and to avoid introducing breaking changes to the auth flows, a new fix was applied that automatically deletes all such pre-existing OAuth2 links on "unverified" to "verified" upgrades. **While the vulnerability requires some prerequisites, it is considered severe and it is strongly recommended to upgrade to v0.37.4 _(or to v0.22.42 if you are using an older <v0.23.0 release)_.**

Read the publisher's advisory

osv · GO-2026-5548

Published

PocketBase: Account pre-hijacking via OAuth2 autolinking upgrade in github.com/pocketbase/pocketbase

Read the publisher's advisory

Affected versions, risk and source history

cve-program · CVE-2026-44166

Published

pocketbase

Vendor product

Publisher's version information

Shown as published. These rules are not interpreted as NuGet package version ranges.

{
                    "vendor": "pocketbase",
                    "product": "pocketbase",
                    "versions": [
                        {
                            "version": "< 0.22.42",
                            "status": "affected"
                        },
                        {
                            "version": ">= 0.30.0, < 0.37.4",
                            "status": "affected"
                        }
                    ]
                }

Original source record · Cite this exact observation · Complete original publisher JSON

euvd · EUVD-2026-29723

Published

EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON.

Original publisher date fields

datePublished: May 12, 2026, 5:16:59 PM

dateUpdated: May 12, 2026, 6:50:17 PM

1 related source bulletins · separate from aliases

openSUSE-SU-2026:12167-1: pocketbase-0.40.5-1.1 on GA media

CVE-2025-47911 · CVE-2025-58190 · CVE-2026-44166

No normalized affected-package data is projected for this source revision. The original publisher record may contain additional product and version evidence; this does not establish that a package is unaffected.

Original source record · Cite this exact observation · Complete original publisher JSON

nvd · CVE-2026-44166

Published

NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON.

Source analysis status: Analyzed

Weakness classifications: CWE-287

Original publisher date fields

published: 2026-05-12T18:17:29.123

lastModified: 2026-11-11T20:10:00.273

1 source CPE criteria · context only
  • cpe:2.3:a:pocketbase:pocketbase:*:*:*:*:*:go:*:*

The original JSON retains the logical configuration operators, exclusions and version bounds.

No normalized affected-package data is projected for this source revision. The original publisher record may contain additional product and version evidence; this does not establish that a package is unaffected.

Original source record · Cite this exact observation · Complete original publisher JSON

osv · GHSA-pq7p-mc74-g65w

Published

github.com/pocketbase/pocketbase

Go

SEMVER · introduced 0 → fixed 0.22.42

github.com/pocketbase/pocketbase

Go

SEMVER · introduced 0.30.0 → fixed 0.37.4

Original source record · Cite this exact observation · Complete original publisher JSON

osv · GO-2026-5548

Published

github.com/pocketbase/pocketbase

Go

SEMVER · introduced 0 → fixed 0.22.42 → introduced 0.30.0 → fixed 0.37.4

Original source record · Cite this exact observation · Complete original publisher JSON

ChangeIntel

An IT change radar: releases, security, known issues, retirements, documentation changes, and service status from public sources. Every item links to supporting evidence; dates and statuses can change after they are read.

Sources read 24 Nov 03:26 UTC · 274 of 275 readable · 270 fully read · documentation 469/469 current