{"id":"CVE-2026-67449","published":"2026-11-11T22:17:28.257","lastModified":"2026-11-11T22:17:28.257","description":"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.","cvssScore":9.8,"cvssSeverity":"CRITICAL","cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","cwes":["CWE-22","CWE-306"],"vendors":[],"products":[],"references":[{"url":"https://github.com/Portabase/portabase/commit/8dcb406790728fbdbf758ec88bf000af79498fc1","tags":[]},{"url":"https://github.com/Portabase/portabase/pull/355","tags":[]},{"url":"https://github.com/Portabase/portabase/releases/tag/1.21.2","tags":[]},{"url":"https://github.com/Portabase/portabase/security/advisories/GHSA-7697-vf3j-253j","tags":[]}],"exploitRefs":[{"url":"https://github.com/Portabase/portabase/commit/8dcb406790728fbdbf758ec88bf000af79498fc1","tags":[]},{"url":"https://github.com/Portabase/portabase/pull/355","tags":[]},{"url":"https://github.com/Portabase/portabase/releases/tag/1.21.2","tags":[]},{"url":"https://github.com/Portabase/portabase/security/advisories/GHSA-7697-vf3j-253j","tags":[]}],"hasPoc":true,"ai":{"summary":"A path traversal vulnerability in Portabase's TUS upload webhook handler allowed unauthenticated attackers to write arbitrary files under the private data directory, including the AES-256-GCM master key file. This could lead to full system compromise by enabling decryption of backed-up data or impersonation of authenticated sessions.","exploitability":"Exploitation is trivial for unauthenticated remote attackers due to the lack of authentication, low attack complexity, and direct path traversal in a publicly accessible webhook endpoint.","blast_radius":"Successful exploitation could result in complete confidentiality, integrity, and availability loss, including decryption of sensitive backups, unauthorized access to protected systems via stolen keys, and potential lateral movement from compromised infrastructure.","remediation":"Upgrade to Portabase version 1.21.2 or later, which contains the official patch for the path traversal vulnerability in the TUS upload webhook handler.","detection":"Defenders should monitor web server access logs for requests to /api/tus/hooks/* paths containing encoded or unencoded path traversal sequences (e.g., %2e%2e/, ..%2f, or ../) in the filename parameter; anomalous writes to sensitive files like /data/private/keys/master_key.bin under the private data directory may also be observable via file integrity monitoring.","tags":["path-traversal","auth-bypass","file-write","web","critical"],"model":"garnet-coder","analyzedAt":"2026-11-12T09:48:14.200Z"}}