CVE-2026-82410
JSON

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 packageVersionsReported by
pocketbase pocketbase< 0.22.48, >= 0.23.0, < 0.39.7CVE List
github.com/pocketbase/pocketbase (Go)before 0.22.48, from 0.23.0 before 0.39.7GitHub Advisory Database, Go Vulnerability Database

All scores

GitHub_M8.7high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
GitHubhigh CVSS:4.0CVSS: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

CWE-248

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

SourceRecordLicence
CVE ListCVE-2026-82410 changed 2026-09-16CVE Terms of Use
GitHub Advisory DatabaseGHSA-84vh-m24q-wjjx changed 2026-10-07CC-BY-4.0
Go Vulnerability DatabaseGO-2026-6489 changed 2026-10-07CC-BY-4.0
NVDCVE-2026-82410 changed 2026-09-30Public domain