GHSA-7697-vf3j-253j: Portabase: Unauthenticated path traversal in TUS webhook overwrites AES-256-GCM master key

Published Nov 11, 2026
·
Updated

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/masterkey.bin (the AES-256-GCM master key). This issue has been patched in version 1.21.2.

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Portabase to a version that resolves this vulnerability.

    Fixed in 1.21.2

Event History

Nov 11, 2026
CVE Published
via OSV·09:51 PM
Data Sourced
via OSV·09:51 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are exposed to this issue?

Portabase deployments running a version earlier than 1.21.2 are affected. The vulnerable component is the TUS upload webhook handler.

2

Does exploitation require an authenticated Portabase account or user interaction?

No. An attacker can exploit the issue without authentication or user interaction.

3

What could an attacker change if exploitation succeeds?

An attacker can overwrite arbitrary files under Portabase's private data directory. This includes /data/private/keys/master_key.bin, which stores the AES-256-GCM master key.

4

What version fixes the vulnerability?

Upgrade Portabase to version 1.21.2, which patches the path traversal in the TUS upload webhook handler.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203