ZeroHour

CVE-2026-82410

large

Unauthenticated remote DoS in PocketBase via unrecovered panics in worker goroutines

CVSS 4.0
8.7 high
EPSS
Published
()
Modified
AI analysis

PocketBase, an open-source Go web backend, applies its panic-recovery middleware only to regular request handling, leaving internal child and worker goroutines unprotected against uncaught panics (CWE-248). If a panic occurs inside one of these internal goroutines — such as background or realtime worker code — it escapes recovery and terminates the entire server process. Per the CVSS vector (network vector, low complexity, no privileges or user interaction required), an unauthenticated remote attacker who can reach the server can induce such a crash, gaining a denial of service with no confidentiality or integrity impact. All deployments running versions prior to 0.22.48 on the 0.22 maintenance line, or prior to 0.39.7 on the current line, are affected. No public proof-of-concept or confirmed in-the-wild exploitation is known at this time.

What to do: Upgrade to PocketBase 0.39.7, or 0.22.48 if you are pinned to the 0.22 maintenance branch; the fix adds routine.SafeWrap so worker-goroutine panics become handled errors instead of process crashes. If you cannot patch immediately, restrict unauthenticated network access to the instance (reverse-proxy authentication, firewall rules) and run the binary under a supervisor (e.g., systemd) that restarts it after a crash. Verify the running version in the admin dashboard after upgrading.

Affected
PocketBase< 0.22.48 (0.22 maintenance branch) and < 0.39.7 (current branch)
Estimated exposure
largeLikely tens of thousands of self-hosted instances, many of them internet-exposed — PocketBase is a widely adopted single-binary backend (a very popular GitHub project) that is typically deployed standalone on public servers, and public internet scans regularly index exposed PocketBase admin endpoints; exact deployment…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

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.

Weakness
CWE-248
Vector
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

In the news

No ingested article mentions this CVE yet.