CVE-2025-55282

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

Published Aug 18, 2025 CVSS 3.1 · 9.1 Critical EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2025-25129 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.
History
Type Values Removed Values Added
First Time appeared Aiven aiven-db-migrate
CPEs cpe:2.3:a:aiven:aiven-db-migrate:*:*:*:*:*:*:*:*
Vendors & Products Aiven aiven-db-migrate
Type Values Removed Values Added
First Time appeared Aiven
Aiven aiven
Vendors & Products Aiven
Aiven aiven
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title aiven-db-migrate allows Privilege Escalation via unrestricted search_path during migration
Weaknesses CWE-22
References
Metrics cvssV3_1

{'score': 9.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 18, 2025, 7:49 PM
Reserved
Aug 12, 2025, 4:15 PM
Status
Analyzed
Published
Aug 18, 2025, 5:15 PM
Modified
Jun 17, 2026, 9:41 AM