NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Go

CVE-2026-82410: Pocketbase: Unhandled panic in worker goroutines

highCVSS 4.0 8.7GHSA-84vh-m24q-wjjx

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).

Published Sep 17, 2026

Affected packages

github.com/pocketbase/pocketbase

Ecosystem
Go
Affected
< 0.22.48
Fixed in
0.22.48
Check
go list -m github.com/pocketbase/pocketbase

github.com/pocketbase/pocketbase

Ecosystem
Go
Affected
>= 0.23.0, < 0.39.7
Fixed in
0.39.7
Check
go list -m github.com/pocketbase/pocketbase

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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)_.

Credited to gigioneggiando.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Go vulnerabilities

All Go entries