{"id":"CVE-2025-55282","state":"PUBLISHED","title":"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.","publishedAt":"2025-08-18T16:44:02.944Z","updatedAt":"2025-08-18T19:49:56.981Z","severity":{"score":9.1,"label":"Critical","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["aiven aiven-db-migrate"],"affected":[{"vendor":"aiven","product":"aiven-db-migrate","versions":[{"version":"< 1.0.7","status":"affected"}]}],"references":["https://github.com/aiven/aiven-db-migrate/security/advisories/GHSA-hmvf-93r4-36f9","https://github.com/aiven/aiven-db-migrate/commit/39517dc55720055d93262033b142a365f5bf92c5"],"weaknesses":["CWE-22"],"ingestedAt":"2026-10-29T20:09:31.862Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/55xxx/CVE-2025-55282.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2025-55282","state":"PUBLISHED","datePublished":"2025-08-18T16:44:02.944Z","dateUpdated":"2025-08-18T19:49:56.981Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2025-08-12T16:15:30.236Z"},"containers":{"cna":{"title":"aiven-db-migrate allows Privilege Escalation via unrestricted search_path during migration","descriptions":[{"lang":"en","value":"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":[{"vendor":"aiven","product":"aiven-db-migrate","versions":[{"version":"< 1.0.7","status":"affected"}]}],"references":[{"url":"https://github.com/aiven/aiven-db-migrate/security/advisories/GHSA-hmvf-93r4-36f9","name":"https://github.com/aiven/aiven-db-migrate/security/advisories/GHSA-hmvf-93r4-36f9","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/aiven/aiven-db-migrate/commit/39517dc55720055d93262033b142a365f5bf92c5","name":"https://github.com/aiven/aiven-db-migrate/commit/39517dc55720055d93262033b142a365f5bf92c5","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":9.1,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"HIGH","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-22","lang":"en","description":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2025-08-18T16:44:02.944Z"},"source":{"advisory":"GHSA-hmvf-93r4-36f9","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-08-18T19:49:31.049375Z","id":"CVE-2025-55282","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-08-18T19:49:56.981Z"}}]}}}