Advisory

GHSA-84vh-m24q-wjjx

Also known as: CVE-2026-82410, GO-2026-6489

Summary

Pocketbase: Unhandled panic in worker goroutines

Details

PocketBase already has builtin panic-recover middleware for the regular requests handling but it doesn't cover panics in internal child/worker goroutines which in some situations could cause termination of the server process.

To prevent this from hapenning all existing internal worker functions were wrapped with the new helper routine.SafeWrap(f) _(auto recovers and returns any eventual panic as regular error)_.

The vulnerability was reported by @gigioneggiando and it is strongly recommended to upgrade to PocketBase [v0.39.7](https://github.com/pocketbase/pocketbase/releases/tag/v0.39.7) _(the fix was also backported in v0.22.48 in case you are using older PocketBase < v0.23.0)_.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2026-09-17 14:58 UTC
Modified
2026-10-07 17:55 UTC

Affected packages and fixes

github.com/pocketbase/pocketbase

Go · All systems

Affected

  • introduced 0, fixed 0.22.48 (semver)

Fixed versions

0.22.48

Fix

github.com/pocketbase/pocketbase

Go · All systems

Affected

  • introduced 0.23.0, fixed 0.39.7 (semver)

Fixed versions

0.39.7

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences