CVE-2025-55282 aiven-db-migrate allows Privilege Escalation via unrestricted search_path during migration
An attacker can escalate privileges to superuser in PostgreSQL by exploiting unrestricted search_path during database migrations from untrusted sources.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-55282?
CVE-2025-55282 is a critical vulnerability in aiven-db-migrate, published on 18 Aug 2025. An attacker needs administrator access to exploit it, with no action from the victim.
Official 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.
Weakness: CWE-22
Which versions are affected by CVE-2025-55282?
It affects 1 product.
Products include Aiven Aiven-Db-Migrate.
How do I fix CVE-2025-55282?
No fix has been published for CVE-2025-55282 yet. Limit exposure of the affected software until one is available.
Is CVE-2025-55282 being exploited?
There is no known exploitation of CVE-2025-55282 in the wild and no public exploit code.
Other vulnerabilities in aiven-db-migrate
Sources
Also known as GHSA-hmvf-93r4-36f9.