CVE-2026-44166 json
Pocketbase: Account pre-hijacking via OAuth2 unverfied->verified autolinking upgrade
published 2026-05-05 6 mo ago modified 2026-07-24 3 mo ago also GHSA-pq7p-mc74-g65w , GO-2026-5548 , EUVD-2026-29723
- cvss
- 7.6
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 16%
- public exploits
- 0
- none known
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.
Patch / fix
- go github.com/pocketbase/pocketbase 0.22.42, 0.37.4
- pocketbase pocketbase 0.22.42, 0.37.4
- govulncheck-vulndb SLES 16.0, SLES for SAP applications 16.0 0.0.20260727T201416-160000.1.1
suse advisories SUSE-SU-2026:23216-1SUSE-SU-2026:23227-1
- pocketbase openSUSE Tumbleweed 0.40.5-1.1
- govulncheck-vulndb openSUSE Leap 16.0 0.0.20260727T201416-160000.1.1
opensuse advisories openSUSE-SU-2026:12167-1openSUSE-SU-2026:21551-1
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 5 mo ago
Exploit prediction
0.25% chance of exploitation in the next 30 days, higher than 16% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 6.1 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:H/VA:L/SC:N/SI:N/SA:N |
| CNA | 4.0 | 6.1 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:H/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| NVD | 3.1 | 7.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:L |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/pocketbase/pocketbase | <0.22.42 >=0.30.0, <0.37.4 |
0.22.42 0.37.4 |
Affected products
- pocketbase pocketbase
Classification
- Weakness
-
- CWE-287 Improper Authentication
References
-
github.com
/pocketbase/pocketbase/commit/44bf55097af90c4c9dc240a8ea0d81923763a60e
patch
-
github.com
/pocketbase/pocketbase/security/advisories/GHSA-pq7p-mc74-g65w
web, vendor-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2026-44166
advisory
-
github.com
/pocketbase/pocketbase
package
Sources
- CVE List CVE-2026-44166
- GitHub Advisory GHSA-pq7p-mc74-g65w
- NVD CVE-2026-44166
- OSV GO-2026-5548
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.