{"id":"GHSA-84vh-m24q-wjjx","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.\n\nTo 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)_.\n\nThe 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 \u003c v0.23.0)_.","aliases":["CVE-2026-82410"],"modified":"2026-09-17T15:15:05.594328697Z","published":"2026-09-17T14:58:42Z","database_specific":{"cwe_ids":["CWE-248"],"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2026-09-17T14:58:42Z","nvd_published_at":"2026-09-16T15:17:54Z"},"references":[{"type":"WEB","url":"https://github.com/pocketbase/pocketbase/security/advisories/GHSA-84vh-m24q-wjjx"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-82410"},{"type":"WEB","url":"https://github.com/pocketbase/pocketbase/commit/30b4184305904fae0d1b78216c4e3cc34700b220"},{"type":"WEB","url":"https://github.com/pocketbase/pocketbase/commit/f1618ee59b6d1c0308bb474c827a2b1f24b12a95"},{"type":"PACKAGE","url":"https://github.com/pocketbase/pocketbase"},{"type":"WEB","url":"https://github.com/pocketbase/pocketbase/discussions/7762"},{"type":"WEB","url":"https://github.com/pocketbase/pocketbase/releases/tag/v0.22.48"},{"type":"WEB","url":"https://github.com/pocketbase/pocketbase/releases/tag/v0.39.7"}],"affected":[{"package":{"name":"github.com/pocketbase/pocketbase","ecosystem":"Go","purl":"pkg:golang/github.com/pocketbase/pocketbase"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.22.48"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/09/GHSA-84vh-m24q-wjjx/GHSA-84vh-m24q-wjjx.json"}},{"package":{"name":"github.com/pocketbase/pocketbase","ecosystem":"Go","purl":"pkg:golang/github.com/pocketbase/pocketbase"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.23.0"},{"fixed":"0.39.7"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/09/GHSA-84vh-m24q-wjjx/GHSA-84vh-m24q-wjjx.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}]}