PocketBase 0.40.6

Open Source realtime backend in 1 file

  • By PocketBase
  • Open Source
  • Updated Oct 23, 2026
Download for Windows

About PocketBase

Open Source realtime backend in 1 file

What's new in 0.40.6

> _To update the prebuilt executable you can run ./pocketbase update._

  • Replaced the GitHub update command with update from the new host in relation to #7841.
  • ⚠️ Note that this will be most likely the last release here on GitHub. The next time when you run update, new releases will be fetched from https://ganigeorgiev.com _(there is nothing there yet)_.
  • Additional fileblob bucket escape checks for just in case if the filesystem abstraction is used as standalone without the PocketBase validations.

• Added a global restriction for the max WxH pixels size when generating a thumb to reduce the risk of excessive memory usage.
The issue was initially privately reported by @reload3d but it is treated as regular public issue since it is a known Go caveat.
The default limit is pretty generous and currently set to max 250<<20 (262144000) pixels and can be changed with the env PB_THUMBS_MAX_SOURCE_PIXELS.
The workaround is not bulletproof and thumbs generation remains one of the main culprit for potential OOMs in PocketBase, so better solutions will have to be investigated in the future, including eventually switching to libvips or other similar library once there is better CGO portability _(if you have better suggestions, please open a discussion)_.

  • Bumped the min Go GitHub action version to 1.27.3 as it includes a security fix related to the recent eMudhra CA compromise.
  • _I didn't rush a fix 2 days ago as the impact for most PocketBase servers is not that serious and requires to already have a MiTM, but nonetheless it is recommended to update. Please make sure to also check for OS/Docker image updates to ensure that you have the latest ca-certificates bundle._
  • Bumped golang.org/x/ dependencies (#7865).
  • Bumped goja and its related dependencies _(string allocations optimization, Date.getYear/setYear support and other minor correctness fixes)_.
  • Minor UI fixes - superuser IPs description grammar fix, rotating btn loader icon alignment fix, slight dark background correction in attempt to minimize the color profile differences between Chrome and Firefox, etc.

Full release notes »

Technical details

PublisherPocketBase
Version0.40.6
Release date2026-10-23
LicenseMIT License
Installer typezip
Architecturex64, arm64
Package IDPocketBase.PocketBase

Install PocketBase from the command line

Install with Windows Package Manager
winget install --id=PocketBase.PocketBase -e
Update to the latest version
winget upgrade --id=PocketBase.PocketBase -e
Uninstall
winget uninstall --id=PocketBase.PocketBase -e

PocketBase version history

  • 0.40.5
  • 0.40.4
  • 0.40.3
  • 0.40.2
  • 0.40.1
  • 0.39.11
  • 0.36.8

Frequently asked questions

Is PocketBase free?

Yes. PocketBase is free and open-source software released under the MIT License license.

What is the latest version of PocketBase?

The latest version is 0.40.6, released on Oct 23, 2026.

Is it safe to download PocketBase?

The download button links to the official installer published on github.com, the same file Windows Package Manager installs. You can verify the downloaded file by comparing its SHA-256 checksum with 33a2a1d255cadded77346fc7f5de37dca21ba4bad0d9cae0235a50b3b703d6d9.

Which Windows versions does PocketBase support?

PocketBase runs on Windows and is available for 64-bit (x64), ARM64 systems.

How do I uninstall PocketBase?

Open Settings › Apps › Installed apps, find PocketBase and select Uninstall. From the command line, run winget uninstall --id=PocketBase.PocketBase -e.