Skip to content
OpenAdvisories
Critical · 9.1 CVE-2025-55282 EUVD-2025-25129

aiven-db-migrate allows Privilege Escalation via unrestricted search_path during migration

Published Aug 18, 2025 · Updated Aug 18, 2025 · Assigned by GitHub_M

Description

aiven-db-migrate is an Aiven database migration tool. Prior to 1.0.7, there is a privilege escalation vulnerability that allows a user to elevate to superuser inside PostgreSQL databases during a migration from an untrusted source server. By exploiting a lack of search_path restriction, an attacker can override pg_catalog and execute untrusted operators as a superuser. This vulnerability is fixed in 1.0.7.

Affected products

VendorProductAffectedFixed
aiven aiven-db-migrate < 1.0.7 —

References