8.7high
Pocketbase: Unhandled panic in worker goroutines
- Severity
- 8.7high CVSS:4.0 by GitHub_M
- Exploit likelihood
- 0.58% (higher than 48% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-84vh-m24q-wjjxGO-2026-6489
Description
Pocketbase is an open source web backend written in go. Prior to 0.22.48 and 0.39.7, PocketBase's panic-recovery middleware covers regular request handling but not internal child and worker goroutines. A panic in one of these internal goroutines can escape recovery and terminate the server process, causing a denial of service. The remediation introduces routine.SafeWrap to convert recovered panics into regular errors and applies it to the affected internal worker functions. This issue is fixed in versions 0.22.48 and 0.39.7.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| pocketbase pocketbase | < 0.22.48, >= 0.23.0, < 0.39.7 | CVE List |
| github.com/pocketbase/pocketbase (Go) | before 0.22.48, from 0.23.0 before 0.39.7 | GitHub Advisory Database, Go Vulnerability Database |
All scores
| GitHub_M | 8.7high CVSS:4.0 | 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 |
| GitHub | high CVSS:4.0 | 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 |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
What each source says
CVE List
Pocketbase is an open source web backend written in go. Prior to 0.22.48 and 0.39.7, PocketBase's panic-recovery middleware covers regular request handling but not internal child and worker goroutines. A panic in one of these internal goroutines can escape recovery and terminate the server process, causing a denial of service. The remediation introduces routine.SafeWrap to convert recovered panics into regular errors and applies it to the affected internal worker functions. This issue is fixed in versions 0.22.48 and 0.39.7.
GitHub Advisory Database
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).
Go Vulnerability Database
Pocketbase: Unhandled panic in worker goroutines in github.com/pocketbase/pocketbase
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-82410 changed 2026-09-16 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-84vh-m24q-wjjx changed 2026-10-07 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2026-6489 changed 2026-10-07 | CC-BY-4.0 |
| NVD | CVE-2026-82410 changed 2026-09-30 | Public domain |