CVE-2026-82410: Pocketbase Unhandled Panic Vulnerability

HIGH
Advisory Identifier: GHSA-84vh-m24q-wjjx
CWE-248
Published
Advisory Summary

CVE-2026-82410 is a HIGH unhandled panic vulnerability (CWE-248: Uncaught Exception) affecting Pocketbase libraries in the Go ecosystem. The issue involves unhandled panic in worker goroutines. Remediation is available by upgrading affected packages to version 0.22.48, 0.39.7.

CVE-2026-82410 at a Glance

CVE Identifier CVE-2026-82410
GHSA Identifier GHSA-84vh-m24q-wjjx
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification CWE-248: Uncaught Exception
Affected Product Pocketbase
Package Ecosystem Go
Published Date
Last Updated

How to Fix CVE-2026-82410

To remediate this vulnerability, upgrade all affected Pocketbase dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

github.com/pocketbase/pocketbase fixed: 0.22.48
Upgrade github.com/pocketbase/pocketbase to 0.22.48
github.com/pocketbase/pocketbase fixed: 0.39.7
Upgrade github.com/pocketbase/pocketbase to 0.39.7
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for github.com/pocketbase/pocketbase

How to Check if You Are Affected

To determine whether your application is affected by CVE-2026-82410, inspect your project dependencies for Pocketbase:

inspect dependencies for github.com/pocketbase/pocketbase

Analyze the terminal output to locate any version of Pocketbase in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.22.48), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-248: Uncaught Exception, where an exception is thrown from a function, but it is not caught. In Pocketbase, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

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](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 < v0.23.0)_.

CVE-2026-82410 Affected Pocketbase Versions

2 component(s)
Fixed Versions:
0.22.480.39.7
Product / Package Ecosystem Affected Versions Fixed Version
github.com/pocketbase/pocketbase
Go
< 0.22.48
0.22.48
github.com/pocketbase/pocketbase
Go
≥ 0.23.0
< 0.39.7
0.39.7

References

Frequently Asked Questions

What is CVE-2026-82410?
CVE-2026-82410 is a security vulnerability in Pocketbase involving Unhandled panic in worker goroutines under CWE-248: Uncaught Exception.
Which Pocketbase versions are affected?
Affected versions include releases prior to 0.22.48, 0.39.7 across affected packages: github.com/pocketbase/pocketbase.
What version fixes CVE-2026-82410?
Upgrading to 0.22.48, 0.39.7 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/pocketbase/pocketbase affected?
Yes, github.com/pocketbase/pocketbase is affected in releases prior to 0.22.48, 0.39.7. Upgrade your dependency to 0.22.48, 0.39.7 or later.
What CWE is associated with CVE-2026-82410?
CVE-2026-82410 is classified under CWE-248: Uncaught Exception (An exception is thrown from a function, but it is not caught.).
How can I check Go dependencies for CVE-2026-82410?
Run the dependency tree command: 'inspect dependencies for github.com/pocketbase/pocketbase'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-84vh-m24q-wjjx",
  "modified" : "2026-09-17T14:58:42Z",
  "published" : "2026-09-17T14:58:42Z",
  "aliases" : [ "CVE-2026-82410" ],
  "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 < v0.23.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"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/pocketbase/pocketbase"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.22.48"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/pocketbase/pocketbase"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0.23.0"
      }, {
        "fixed" : "0.39.7"
      } ]
    } ]
  } ],
  "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"
  } ],
  "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"
  }
}