What’s Vulnerable › Vulnerabilities

CVE-2025-55282: aiven-db-migrate allows Privilege Escalation via unrestricted search_path during migration

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

How to fix

Upgrade to a fixed version: aiven-db-migrate 1.0.7. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-55282 or the next vulnerability affects your stack