GHSA-84vh-m24q-wjjx

Suggest an improvement
Source
https://github.com/advisories/GHSA-84vh-m24q-wjjx
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/09/GHSA-84vh-m24q-wjjx/GHSA-84vh-m24q-wjjx.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-84vh-m24q-wjjx
Aliases
Published
2026-09-17T14:58:42Z
Modified
2026-09-17T15:15:05Z
Severity
  • 8.7 (High) CVSS_V4 - 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 CVSS Calculator
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.

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

Database specific
{
    "cwe_ids":  [
        "CWE-248"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-09-17T14:58:42Z",
    "nvd_published_at":  "2026-09-16T15:17:54Z",
    "severity":  "HIGH"
}
References

Affected packages

Go / github.com/pocketbase/pocketbase

Package

Name
github.com/pocketbase/pocketbase
View open source insights on deps.dev
Purl
pkg:golang/github.com/pocketbase/pocketbase

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
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"

Go / github.com/pocketbase/pocketbase

Package

Name
github.com/pocketbase/pocketbase
View open source insights on deps.dev
Purl
pkg:golang/github.com/pocketbase/pocketbase

Affected 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"