v2.0.9-beta

0xsha/CloudBrutev2.0.9-betaSep 25, 2026by gtsteffaniak

Upgrading?

AI Summary

This release focuses on security hardening, including OIDC improvements and open-redirect prevention, alongside critical bug fixes for SQLite performance, OnlyOffice integration, and session management.

Key Highlights

  • Security hardening with OIDC state binding to HttpOnly cookies and open-redirect prevention.
  • Database improvements: Removal of SQLite shared cache to resolve locking conflicts.
  • OnlyOffice fixes: Closed SSRF vulnerabilities and improved callback handling.
  • Session management: Improved token expiry handling and strict startup key validation.

Breaking Changes

  • Signup API change: Credentials are now sent in a JSON body instead of query parameters.
  • Webdav behavior: Hidden files are now always shown regardless of user preference.

New Features

  • Random initial password generation for fresh admin installs.
  • Session cookie reuse for External JWT (JwtAuth) requests.
  • Automatic pruning of expired token mappings at startup.

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