SCA: security update for github.com/pocketbase/pocketbase (GHSA-pq7p-mc74-g65w)

medium Tenable Cloud Security Plugin ID 441223

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2026-44166)

Solution

Update the github.com/pocketbase/pocketbase library and its related packages to version 0.22.42 or later.

See Also

https://github.com/advisories/GHSA-pq7p-mc74-g65w

Plugin Details

Severity: Medium

ID: 441223

Version: Revision 1.9

Type: Local

Family: SCA Checks

Published: 5/6/2026

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 3.9

Percentile: 52.8

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: High

Base Score: 9

Temporal Score: 7

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:C/A:P

CVSS Score Source: CVE-2026-44166

CVSS v3

Risk Factor: High

Base Score: 7.6

Temporal Score: 6.8

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:L

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

CVSS v4

Risk Factor: Medium

Base Score: 6.1

Threat Score: 5.6

Threat Vector: CVSS:4.0/E:P

Vector: 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

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 5/5/2026

Vulnerability Publication Date: 5/5/2026

Reference Information

CVE: CVE-2026-44166

cwe: CWE-287