Portabase is a database backup and restore tool for PostgreSQL, MySQL, MsSQL, MariaDB, Firebird SQL, SQLite, MongoDB, Redis, Files and Docker Volume. Prior to version 1.21.2, a path traversal in the TUS upload webhook handler (app/api/tus/hooks/route.ts) allowed an unauthenticated attacker to overwrite arbitrary files under the private data directory, including /data/private/keys/master_key.bin (the AES-256-GCM master key). This issue has been patched in version 1.21.2.
https://github.com/Portabase/portabase/security/advisories/GHSA-7697-vf3j-253j
https://github.com/Portabase/portabase/releases/tag/1.21.2
https://github.com/Portabase/portabase/pull/355
https://github.com/Portabase/portabase/commit/8dcb406790728fbdbf758ec88bf000af79498fc1