github pocketbase/pocketbase v0.22.5
v0.22.5 Release

latest releases: v0.22.10, v0.22.9, v0.22.8...
one month ago

To update the prebuilt executable you can run ./pocketbase update.

  • Minor test helpers fixes (#4600):

    • Call the OnTerminate hook on TestApp.Cleanup().
    • Automatically run the DB migrations on initializing the test app with tests.NewTestApp().
  • Added more elaborate warning message when restoring a backup explaining how the operation works.

  • Skip irregular files (symbolic links, sockets, etc.) when restoring a backup zip from the Admin UI or calling archive.Extract(src, dst) because they come with too many edge cases and ambiguities.

    This was initially reported as security issue (thanks Harvey Spec) but in the PocketBase context it is not something that can be exploited without an admin intervention and since the general expectations are that the PocketBase admins can do anything and they are the one who manage their server, this should be treated with the same diligence when using scp/rsync/rclone/etc. with untrusted file sources.

    It is not possible (or at least I'm not aware how to do that easily) to perform virus/malicious content scanning on the uploaded backup archive files and some caution is always required when using the Admin UI or running shell commands, hence the backup-restore warning text.

    Or in other words, if someone sends you a file and tells you to upload it to your server (either as backup zip or manually via scp) obviously you shouldn't do that unless you really trust them.

    PocketBase is like any other regular application that you run on your server and there is no builtin "sandbox" for what the PocketBase process can execute. This is left to the developers to restrict on application or OS level depending on their needs. If you are self-hosting PocketBase you usually don't have to do that, but if you are offering PocketBase as a service and allow strangers to run their own PocketBase instances on your server then you'll need to implement the isolation mechanisms on your own.

Don't miss a new pocketbase release

NewReleases is sending notifications on new releases.