Repository navigation
qBit Manage v5.0.0
Important
v5.0.0 includes breaking security changes for the Web UI and Web API. Review the Upgrading to 5.0 guide before updating.
Breaking Changes
- Web server off by default: Enable with
--web-serverorQBT_WEB_SERVER=true(enabled automatically by the desktop app). - Login always required: Removed
bypass_auth_for_localandexternalmode (allowed_hostsis ignored).4.xapi_onlymigrates tolocalwhile keeping your API key. - Loopback bind by default: Non-Docker installs now bind to
127.0.0.1(Docker remains0.0.0.0).QBT_HOST/--hostapplies only to the web server; useqbt.hostfor qBittorrent. - API & endpoints: Disabled
/docs,/redoc, and/openapi.json./api/versionand/api/get_base_urlnow require auth (/api/healthstays public with status only). Security changes require re-authentication and sign out all browsers. - First-run credentials: Set
QBT_WEB_USERNAMEandQBT_WEB_PASSWORD, or read the generated password fromqbm_initial_password.txtin your config folder.
Features
- Authentication & OIDC: Added
local(Argon2id + signed session cookies), single-useroidc(Authlib with PKCE S256, Discovery test, and in-UI account linking), andapi_onlymodes, plus CSRF protection,trusted_proxies-aware rate limiting, secret redaction/log masking, and a themed login page + Logout button. - Desktop App: Added in-app first-run account setup, automatic fallback port selection (
8182–8199), startup log capture with retry UI, and native Win32 shutdown handling. - Share Limits: Added
group_upload_speed_exclude_stoppedto exclude paused/stopped torrents when dividinglimit_upload_speed. - Mover (
scripts/mover.py): Added--resume-batch-sizeand--resume-batch-delayfor batched torrent resumes.
Bug Fixes & Improvements
- Prevented first-run crashes from empty/non-directory
torrents_dir, individual webhook errors, and legacyshare_limit_action: pause(now mapped toStopwith a warning). - Fixed recycle bin backup filenames to sanitize path separators, respect 255-byte UTF-8 filesystem limits, and avoid collisions.
- Added cross-process locking and atomic
0600writes forqbm_settings.yml, fixedbase_urltrailing-slash handling, preserved unsaved secrets during config validation, and fixed Web UI responsive breakpoints and Security tab UX issues. - Updated
qbittorrent-apito2026.11.0and addedauthlib,filelock,httpx2,itsdangerous, andlimits.
See the Security & Upgrading to 5.0 documentation for full migration and recovery instructions.