# GHSA-84VH-M24Q-WJJX: Pocketbase: Unhandled panic in worker goroutines

- Database: GitHub
- Severity: high (stated by ghsa, no CVSS score)
- Published: 2026-09-17
- Modified: 2026-10-07

## Tracked as

- [CVE-2026-82410](https://cve.now/CVE-2026-82410.md): Pocketbase: Unhandled panic in worker goroutines

## Also published as

- [GO-2026-6489](https://cve.now/GO-2026-6489.md) (Go)

## Affected versions

- github.com/pocketbase/pocketbase (Go): fixed in 0.22.48
- github.com/pocketbase/pocketbase (Go): from 0.23.0, fixed in 0.39.7

## Description

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](https://github.com/pocketbase/pocketbase/releases/tag/v0.22.48) in case you are using older PocketBase < v0.23.0)_.

## References

- https://github.com/pocketbase/pocketbase/security/advisories/GHSA-84vh-m24q-wjjx
- https://nvd.nist.gov/vuln/detail/CVE-2026-82410
- https://github.com/pocketbase/pocketbase/commit/30b4184305904fae0d1b78216c4e3cc34700b220
- https://github.com/pocketbase/pocketbase/commit/f1618ee59b6d1c0308bb474c827a2b1f24b12a95
- https://github.com/pocketbase/pocketbase
- https://github.com/pocketbase/pocketbase/discussions/7762
- https://github.com/pocketbase/pocketbase/releases/tag/v0.22.48
- https://github.com/pocketbase/pocketbase/releases/tag/v0.39.7

Page: https://cve.now/GHSA-84VH-M24Q-WJJX

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
