cvelo
P2 · HighCVSS 7.2EPSS 0.5%

PostgreSQL extension script schema mishandling executes arbitrary SQL

  • CVE-2026-6467
  • GHSA-pm32-vprj-4hwf
  • EUVD-2026-124434

Description

Uncontrolled search path element in PostgreSQL CREATE EXTENSION allows an attacker with database-level CREATE privilege to execute arbitrary code as the bootstrap superuser, via ALTER SCHEMA ... RENAME or CREATE EXTENSION ... SCHEMA "$user". ALTER EXTENSION was also affected. A trusted-extension script located the wrong object and executed arbitrary SQL of the attacker's choice. Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected.

Text from the CVE.org record.

Recommendation

Cvelo has no version information for this record. Check the vendor advisory.

Affected

No source names an affected product or package.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.