v2.0.9-beta

longbridge/gpui-kitv2.0.9-betaSep 25, 2026by gtsteffaniak

Upgrading?

AI Summary

This release focuses on security hardening, including random admin passwords and secure OIDC cookie handling, alongside bug fixes for database locking, OnlyOffice interactions, and session management.

Key Highlights

  • Security: Random initial password for admin, HttpOnly cookies for OIDC state, and prevention of open redirects
  • Bugfixes: Fixed SQLite shared cache conflicts, FFmpeg lock issues, and token migration regressions
  • OnlyOffice Improvements: Server-side validation for document requests and improved session persistence
  • Database Enhancements: Fixed SQLite busy_timeout and index write reporting
  • Session Management: JWT expiry tracking and external JWT cookie reuse

New Features

  • Random initial password generation
  • OIDC state binding to HttpOnly cookies
  • Prevention of open redirects in login/signup
  • OnlyOffice server-side request validation
  • Session/API token JWT expiry tracking

Full Release Notes

## What's Changed

 **Security**:
 - Fresh install with default `admin`/`admin` startup generates a random initial password and logs it once (#2977). Updated documentation to follow.
 - OIDC login binds OAuth `state` to an HttpOnly cookie (crypto-random) and rejects tampered callbacks; post-login redirects must be same-app relative paths.
 - Login, logout, and session-expiry redirects reject open-redirect targets (`//`, `/\\`, off-site URLs); signup sends credentials in a JSON body instead of query parameters.

 **Notes**:
 - Webdav always shows hidden files, ignores user preference. (#3004)
 - SQLite shared cache (`cache=shared`) removed from the application database connection: its table-lock conflicts bypass `busy_timeout` and fail immediately. WAL mode already allows concurrent readers.

 **Bugfixes**:
 - Fixed intermittent blank page / blocked inline SPA script after CSP hardening (#2995)
 - ffmpeg unresponsive lock issue (#2996)
 - fixed token migration lockout regression from v2.0.8-beta (#2999)
 - Public shares with OnlyOffice disabled (`enableOnlyOffice=false`) now reject `/office/config` and `/office/callback` requests server-side instead of only hiding the editor in the UI
 - Session/API token registrations now record the JWT expiry; expired mappings are pruned at startup, and tokens expired beyond the same 2-minute grace window used for session rotation no longer resolve a user identity on public share routes
 - Startup now fails when the configured/env auth signing key differs from the key persisted in the application database, instead of warning and minting tokens with divergent keys
 - OnlyOffice document downloads now re-validate redirect targets against the configured document-server host, closing an SSRF gap where a redirect could send the fetch to an internal address
 - OnlyOffice "closed with changes" callbacks now keep the document key until the save succeeds, so a failed save can be retried by the document server instead of being rejected as an unknown session
 - External JWT (JwtAuth) requests now reuse an existing valid session cookie instead of minting and registering a new session token on every request
 - SQLite index and application databases configure `busy_timeout` on every pooled connection, and busy/locked detection now uses driver result codes; index batch writes and maintenance no longer report success when the DB stays busy, and index cache reads return busy errors instead of empty results so listing can fall back to the filesystem.

**Full Changelog**: https://github.com/gtsteffaniak/filebrowser/compare/v2.0.8-beta...v2.0.9-beta

Related Repositories