{"id":"CVE-2025-55282","summary":"aiven-db-migrate allows Privilege Escalation via unrestricted search_path during migration","details":"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.","aliases":["GHSA-hmvf-93r4-36f9"],"modified":"2026-08-12T03:51:19.239982322Z","published":"2025-08-18T16:44:02.944Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-22"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/55xxx/CVE-2025-55282.json","unresolved_ranges":[{"extracted_events":[{"fixed":"1.0.7"}],"source":"AFFECTED_FIELD"}]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/55xxx/CVE-2025-55282.json"},{"type":"ADVISORY","url":"https://github.com/aiven/aiven-db-migrate/security/advisories/GHSA-hmvf-93r4-36f9"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-55282"},{"type":"FIX","url":"https://github.com/aiven/aiven-db-migrate/commit/39517dc55720055d93262033b142a365f5bf92c5"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/aiven/aiven-db-migrate","events":[{"introduced":"0"},{"fixed":"39517dc55720055d93262033b142a365f5bf92c5"}],"database_specific":{"source":"REFERENCES"}}],"versions":["0.1.8","0.1.7","0.1.6","0.1.5","0.1.4","0.1.3","0.1.2","0.1.1","0.1.0","0.0.6","0.0.5","0.0.4","0.0.3","0.0.2","0.0.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-55282.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H"}]}