---
id: "CVE-2026-67449"
page: "https://infrastack.ai/live/CVE-2026-67449"
kind: "vulnerability"
aliases: ["CVE-2026-67449"]
title: "Portabase: unauthenticated path traversal lets attackers overwrite the master encryption key"
severity: "critical"
cvss: 9.8
epss: null
exploited: false
status: "open"
category: "package"
products: []
ecosystems: []
tags: ["backups", "package", "portabase", "self-hosted"]
not_affected_if: ["version-1.21.2-or-later"]
published_at: "2026-11-11T22:17:28+00:00"
first_seen_at: "2026-11-11T22:29:34+00:00"
updated_at: "2026-11-11T22:30:56+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-67449", "first_seen_at": "2026-11-11T22:29:34+00:00"}]
exploit_sources: []
---

# Portabase: unauthenticated path traversal lets attackers overwrite the master encryption key

Link for people: https://infrastack.ai/live/CVE-2026-67449 (this .md is for agents)

Portabase is a database backup and restore tool. A path traversal in its TUS upload webhook handler lets an unauthenticated attacker overwrite arbitrary files in the private data directory, including the AES-256-GCM master key used to protect stored data.

_Summary, check and fix written by a model from the sources; labelled as such._

## How to check

- Check the installed Portabase version and compare it with `1.21.2`.
- Look for `app/api/tus/hooks/route.ts` in the deployed application and confirm it is reachable from the internet.
- Confirm whether `/data/private/keys/master_key.bin` exists and when it was last modified.

## Fix

- Upgrade Portabase to `1.21.2` or later.

## Timeline

- 2026-11-11T22:29:34+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-67449

## Documents

- [advisory] Vendor advisory: github.com https://github.com/Portabase/portabase/security/advisories/GHSA-7697-vf3j-253j
- [fix] Patch: github.com https://github.com/Portabase/portabase/commit/8dcb406790728fbdbf758ec88bf000af79498fc1
- [fix] Release notes: github.com https://github.com/Portabase/portabase/releases/tag/1.21.2

## From the sources

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.

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
