mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-08-22 07:02:16 +03:00
/api/db-backups/export and /import sat outside ALWAYS_PROTECTED_API_PATHS, so with requireLogin=false an anonymous caller could stream the full SQLite database (api_keys, provider credentials, OAuth tokens) or replace it wholesale. Adding /api/db-backups to the Tier-2 allowlist requires a credential for all three sibling routes, matching the trade-off /api/settings/database already makes. Reported by @ntdat812 via GHSA-mghq-58h3-qcqj.