# CVE-2024-38351: GO-2024-2936 - PocketBase performs password auth and OAuth2 unverified email linking in github.com/pocketbase/pocketbase

Source: https://junglewise.ai/threats/cve-2024-38351-pocketbase-performs-password-auth-and-oauth2-unverified-email  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2024-07-01  
License: CC BY 4.0 with a link back

CVE-2024-38351 · Severity: low · CVSS 3.1 · Published 2024-07-01

PocketBase performs password auth and OAuth2 unverified email linking in github.com/pocketbase/pocketbase

Technologies: [github.com/pocketbase/pocketbase (Go)](https://junglewise.ai/threats/technologies/github-com-pocketbase-pocketbase). Vendors: [Go](https://junglewise.ai/threats/vendors/go).

## Quick answers

**Is CVE-2024-38351 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2024-38351 being exploited in the wild.

**How severe is CVE-2024-38351?** Low severity, with a CVSS score of 3.1, published 1 July 2024.

**Which products and versions are affected?** github.com/pocketbase/pocketbase (Go) SEMVER:introduced=0,fixed=0.22.14.

**Is there a fix for CVE-2024-38351?** Yes. github.com/pocketbase/pocketbase (Go): upgrade to 0.22.14 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2024-38351?** Check whether you run github.com/pocketbase/pocketbase (Go) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- github.com/pocketbase/pocketbase (Go): upgrade to 0.22.14 or later

  ```sh
  go get github.com/pocketbase/pocketbase@v0.22.14
  ```


## Affected products

- github.com/pocketbase/pocketbase (Go) SEMVER:introduced=0,fixed=0.22.14

## Identifiers

- CVE-2024-38351
- GHSA-m93w-4fxv-r35v
- GO-2024-2936

## Related threats

- [PocketBase unhandled panic in worker goroutines](https://junglewise.ai/threats/cve-2026-82410-pocketbase-unhandled-panic-in-worker-goroutines)
- [PocketBase account pre-hijacking via OAuth2 autolinking](https://junglewise.ai/threats/cve-2026-44166-pocketbase-account-pre-hijacking-via-oauth2-autolinking)
