CVE-2026-82410: Pocketbase: Unhandled panic in worker goroutines
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 (the fix was also backported in v0.22.48 in case you are using older PocketBase < v0.23.0).
References
- github.com/advisories/GHSA-84vh-m24q-wjjx
- github.com/pocketbase/pocketbase/commit/30b4184305904fae0d1b78216c4e3cc34700b220
- github.com/pocketbase/pocketbase/commit/f1618ee59b6d1c0308bb474c827a2b1f24b12a95
- github.com/pocketbase/pocketbase/discussions/7762
- github.com/pocketbase/pocketbase/releases/tag/v0.22.48
- github.com/pocketbase/pocketbase/releases/tag/v0.39.7
- github.com/pocketbase/pocketbase/security/advisories/GHSA-84vh-m24q-wjjx
- nvd.nist.gov/vuln/detail/CVE-2026-82410
Code Behaviors & Features
Detect and mitigate CVE-2026-82410 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →