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

> CVE-2025-55282: aiven-db-migrate allows Privilege Escalation via unrestricted search_path during migration. CVSS 9.1 (CVSS 3.1).

Canonical: https://rewindex.com/cve/CVE-2025-55282
Last updated: 2026-06-17T09:41:34Z

- Published: 2025-08-18 16:44 UTC · Updated: 2026-06-17 09:41 UTC · Assigner: GitHub\_M
- CVSS: 9.1 (CVSS 3.1) · Severity: Critical · Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
- EPSS: 0.72%, 54th percentile (scored 2026-10-25)
- CISA KEV: no
- CWE: CWE-22

## 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 vendors and products

- aiven: aiven-db-migrate

## Tracked companies

- [Aiven](https://rewindex.com/company/aiven.md)

## References

- [CVE record on cve.org](https://www.cve.org/CVERecord?id=CVE-2025-55282)
- [NVD entry](https://nvd.nist.gov/vuln/detail/CVE-2025-55282)
- [https://github.com/aiven/aiven-db-migrate/commit/39517dc55720055d93262033b142a365f5bf92c5](https://github.com/aiven/aiven-db-migrate/commit/39517dc55720055d93262033b142a365f5bf92c5)
- [https://github.com/aiven/aiven-db-migrate/security/advisories/GHSA-hmvf-93r4-36f9](https://github.com/aiven/aiven-db-migrate/security/advisories/GHSA-hmvf-93r4-36f9)

---

_Sources: CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (https://www.cve.org/) This product uses data from the NVD API but is not endorsed or certified by the NVD. (https://nvd.nist.gov/) Known Exploited Vulnerabilities catalog from CISA. (https://www.cisa.gov/known-exploited-vulnerabilities-catalog) EPSS scores from FIRST (Exploit Prediction Scoring System). (https://www.first.org/epss/)_


---
Canonical: https://rewindex.com/cve/CVE-2025-55282 · Markdown: https://rewindex.com/cve/CVE-2025-55282.md · JSON: https://rewindex.com/api/v1/cves/CVE-2025-55282 · Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) · Generated 2026-10-26T03:01:01.244Z
